1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

1013 Commits

Author SHA1 Message Date
Andrey Borzenkov
87d1969bb3 main: fix typo in kernel cmdline parameters help 2010-10-26 20:07:12 +02:00
Mike Kazantsev
0320828cac service: fix sysv-less build 2010-10-26 15:18:13 +02:00
Lennart Poettering
b9ba604e87 ask-password-tty: properly handle SIGINT/SIGTERM 2010-10-26 15:15:00 +02:00
Lennart Poettering
501fc174c2 systemctl: automatically spawn temporary password agent when we might need one 2010-10-26 05:29:39 +02:00
Lennart Poettering
0ddf1d3aa5 ask-password: properly handle multiple pending passwords when writing wall msg 2010-10-26 04:45:27 +02:00
Lennart Poettering
e5ebf783cb ask-password: add minimal plymouth password agent 2010-10-26 04:35:25 +02:00
Lennart Poettering
9865f3b4ca service: make sure to pass TERM=linux to all sysv scripts 2010-10-26 02:32:42 +02:00
Lennart Poettering
39439087bf main: don't unset HOME/TERM when run in session mode 2010-10-26 02:32:02 +02:00
Michael Biebl
9279749b84 umount: Make sure / is remounted ro on shutdown
Increment n_failed in mount_points_list_umount() if we skip /.
Otherwise it can happen that mount_points_list_remount_read_only() is
not called in umount_all().
2010-10-25 21:51:57 +02:00
Andrew Edmunds
274914f991 util: Add welcome message for Ubuntu
The approved method for determining the installed release of
Ubuntu is to execute "lsb_release".  However, this is in /usr/bin and
is implemented in python so it is not safe to execute at this early
stage of booting.  This code parses /etc/lsb-release which is
where "lsb_release" looks for the information.
2010-10-25 21:10:05 +02:00
Andrew Edmunds
858dae181b ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc
Previously Ubuntu was treated as being equivalent to Debian, but the two
distributions require different behaviour in certain places.  This commit does
not change the behaviour of systemd on either distro but it creates a
framework for changes to be introduced by later commits.

The following previously meant "Target is Debian or Ubuntu".
    * configure option "--with-distro=debian"
    * C preprocessor symbol "TARGET_DEBIAN"
    * Automake conditional "TARGET_DEBIAN"
After this commit, all of the above are redefined to mean "Target is Debian"

The following are introduced to mean "Target is Ubuntu".
    * configure option "--with-distro=ubuntu"
    * C preprocessor symbol "TARGET_UBUNTU"
    * Automake conditional "TARGET_UBUNTU"

Most code written for Debian will also be applicable to Ubuntu. An extra
Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid
duplication of code that would otherwise occur.

This commit updates configure.ac, Makefile.am and distro-specific source files
in line with the above definitions.
2010-10-25 21:09:56 +02:00
Lennart Poettering
1104f3c160 systemd: unset HOME and TERM set from the kernel 2010-10-25 21:05:04 +02:00
Lennart Poettering
ec863ba65a ask-password: add basic tty agent 2010-10-25 20:36:01 +02:00
Lennart Poettering
d674a4ab52 ask-password: rename ask-password-agent to gnome-ask-password-agent 2010-10-22 16:38:14 +02:00
Lennart Poettering
ef1de59b5e fsck: suppress error message if we cannot change into single user mode since we are already passt early bootup 2010-10-22 16:12:56 +02:00
Lennart Poettering
288c783a9d dbus: epose FsckPassNo property for service objects 2010-10-22 16:12:26 +02:00
Lennart Poettering
8a0867d6c5 systemctl: introduce systemctl kill 2010-10-22 16:11:50 +02:00
Tom Gundersen
95e501f8ab unit-name: Fix unescaping
Invalid characters in unit names are escaped as \xFF. However, when
unescaping we were looking for \FF.
2010-10-21 14:04:10 +02:00
Gustavo Sverzut Barbieri
abe35cc2b7 tmpfiles: consider TRUNCATE_DIRECTORY as well.
reorder lines to match the enum declaration.
2010-10-21 13:53:47 +02:00
Kay Sievers
51ccf641d7 fsck: drop -C from fsck cmdline to avoid EPIPE 2010-10-21 12:22:30 +02:00
Lennart Poettering
9fc507041e unit: introduce %f specifier to decode file names 2010-10-20 16:16:45 +02:00
Lennart Poettering
417e842dc3 mount: pull in quotacheck.service, not quotacheck.target 2010-10-20 15:21:44 +02:00
Lennart Poettering
0355825f59 mount: require fsck 2010-10-20 15:21:05 +02:00
Lennart Poettering
1f5558b499 manager: properly parse finish timestamp 2010-10-20 14:41:07 +02:00
Lennart Poettering
f2382a94e0 manager: properly write header marker on serialization 2010-10-20 14:40:44 +02:00
Lennart Poettering
b65a25f256 mount: do not implicitly pull in fsck service for root dir 2010-10-20 14:26:46 +02:00
Lennart Poettering
2ba545f1a0 service: implement FsckPassNo= option 2010-10-20 14:22:23 +02:00
Lennart Poettering
dcdf86bbb0 log: reopen console so that we have logging on shutdown 2010-10-20 00:56:26 +02:00
Lennart Poettering
dc8e15c206 fsck: don't be idempotent for root directories 2010-10-20 00:44:09 +02:00
Lennart Poettering
6e8ebcc7de fsck: make fsck idempotent 2010-10-19 23:47:12 +02:00
Lennart Poettering
a9e1f5ec36 fsck: properly hook in fsck everywhere, add special support for fsck'ing root dir 2010-10-19 23:45:18 +02:00
Lennart Poettering
90bb85e140 fsck: atomically replace base.target by rescue.target/reboot.target when fsck fails 2010-10-19 21:53:19 +02:00
Lennart Poettering
3e33a44a01 fsck: be verbose when skipping fsck due to missing AC 2010-10-19 21:22:47 +02:00
Lennart Poettering
3d20ed6d51 fsck: add initial version of fsck and quotacheck wrappers 2010-10-19 21:19:12 +02:00
Lennart Poettering
688c672501 systemctl: fix counting in list-units output
https://bugzilla.redhat.com/show_bug.cgi?id=643502
2010-10-19 19:43:47 +02:00
Lennart Poettering
29003cffa7 tmpfiles: destruct selinux database after use 2010-10-19 19:36:45 +02:00
Lennart Poettering
d2dfce17b5 label: don't fail miserably if filesystem doesn't do xattrs/labels
https://bugzilla.redhat.com/show_bug.cgi?id=642664
2010-10-19 19:35:35 +02:00
Lennart Poettering
4e4343146a swap: listen for POLLPRI events on /proc/swaps if available 2010-10-18 23:09:09 +02:00
Lennart Poettering
5a33f657b5 label: if the selinux policy knows no label, then silently don't do anything 2010-10-18 22:47:57 +02:00
Lennart Poettering
e472d47628 util: ignore quota files by default 2010-10-18 22:39:17 +02:00
Lennart Poettering
47a483a1ab manager: serialize/deserialize finish timestamp 2010-10-18 22:39:06 +02:00
Lennart Poettering
3b63d2d31d tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
Lennart Poettering
12aad1d075 shutdown: loop only as long as we manage to unmount/detach devices, give up immediately when we are stuck 2010-10-14 18:55:04 +02:00
Lennart Poettering
2d9a339782 umount: disable dm devices by devnode, not by path name 2010-10-14 18:17:23 +02:00
Lennart Poettering
b4f27ccc63 systemctl: accept -f as short for --force 2010-10-14 03:19:13 +02:00
Lennart Poettering
d48141ba0b umount: try to get rid of DM devices 2010-10-14 02:33:09 +02:00
Lennart Poettering
2ca1b42253 shutdown: log to console by default 2010-10-14 01:27:31 +02:00
Fabiano Fidencio
bec9996d6a vala: register new D-Bus calls 2010-10-14 00:56:50 +02:00
Lennart Poettering
20b09ca7fd systemctl: rework halt/reboot/poweroff/kexec/exit logic around --force 2010-10-14 00:56:12 +02:00
Lennart Poettering
0003d1ab75 manager: hookup shutdown helper and signals 2010-10-14 00:54:48 +02:00
Lennart Poettering
6652a2b9e5 dbus: expose shutdown helper via D-Bus 2010-10-14 00:53:51 +02:00
Fabiano Fidencio
b9080b03a9 manager: hookup execution of systemd-shutdown helper
(Modified by Lennart Poettering)
2010-10-14 00:52:26 +02:00
Lennart Poettering
e61cd18666 shutdown: make use of wait_for_terminate_and_warn() 2010-10-14 00:50:11 +02:00
Lennart Poettering
d37fb98bbc shutdown: execute rescue kill only once 2010-10-14 00:49:53 +02:00
Lennart Poettering
567ea02a89 shutdown: don't chdir to /, since init is running with / as cwd anyway 2010-10-14 00:49:22 +02:00
Lennart Poettering
7e23b34c7d umount: be a bit more verbose when unable to umount/unswap/delete loopbacks 2010-10-14 00:43:35 +02:00
Lennart Poettering
ce726252a9 umount: simplify code for deactivating loop devices 2010-10-14 00:43:13 +02:00
Lennart Poettering
b854a7e728 umount: properly enumerate loopback devices 2010-10-14 00:42:44 +02:00
Lennart Poettering
2054a5b8cb umount: unescape path from /proc/self/mountinfo first, then check against api mount list 2010-10-14 00:41:57 +02:00
Lennart Poettering
f23c09b0fd condition: fix copyright 2010-10-14 00:40:39 +02:00
Lennart Poettering
491ad5dc66 mount: pull in fsck only in systemd instances 2010-10-13 17:18:36 +02:00
Lennart Poettering
9fff8a1f16 mount: hook in q fsck@.service instance for all mount points with passno > 0 2010-10-13 03:57:04 +02:00
Lennart Poettering
560d8f2381 systemctl: warn if user enables unit with no installation instructions 2010-10-13 03:13:23 +02:00
Lennart Poettering
2cccbca4fd dbus: add introspection to midlevel paths 2010-10-13 03:03:31 +02:00
Lennart Poettering
37072578da lookup: look for dynamic throw-away units in /dev/.systemd/system 2010-10-13 02:34:21 +02:00
Lennart Poettering
f601daa701 inotify: properly handle multiple inotify events per read() 2010-10-13 02:34:00 +02:00
Lennart Poettering
52661efd21 unit: add minimal condition checker for unit startup 2010-10-13 02:15:41 +02:00
Lennart Poettering
e04aad61bb swap: major rework, use /sbin/swapon for setting up swaps, fix merging of aliased swap disks 2010-10-12 04:08:04 +02:00
Lennart Poettering
60b912f6b1 mount: minor cleanups 2010-10-12 04:08:04 +02:00
Lennart Poettering
538da63d53 systemctl: drop [] around date in status output 2010-10-12 04:08:04 +02:00
Lennart Poettering
4a9e2fffdf systemctl: show whether we follow somebody in 'status' output 2010-10-12 04:08:01 +02:00
Lennart Poettering
50caaedb2c service: introduce Restart=on-failure and Restart=on-abort 2010-10-08 18:34:54 +02:00
Lennart Poettering
c8f26f42e2 util: don't specifically check for the /dev/null major/minor, just check whether something is a char or block device 2010-10-08 18:22:28 +02:00
Lennart Poettering
6daf4f9001 unit: rename 'banned' load state to 'masked' 2010-10-08 18:21:52 +02:00
Lennart Poettering
169c1bda80 service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service
This should fix accounting for pam_limits and suchlike.

https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08 16:07:50 +02:00
Lennart Poettering
b9c0d4415b systemctl: fix 'systemctl enable getty@.service' 2010-10-08 03:09:25 +02:00
Lennart Poettering
f34277d911 service: increase default timeout for sysv scripts to 3min
For SysV services we cannot set the timeout inside the configuration
file. Hence let's pick a large timeout by default.

https://bugzilla.redhat.com/show_bug.cgi?id=635393
2010-10-08 02:49:44 +02:00
Lennart Poettering
40b8a33210 mount: properly handle NULL fstype
https://bugzilla.redhat.com/show_bug.cgi?id=636752
2010-10-08 02:43:08 +02:00
Lennart Poettering
00dc5d769a unit: introduce 'banned' load state for units symlinked to /dev/null 2010-10-08 02:31:36 +02:00
Lennart Poettering
4a8a5b2963 user-sessions: properly unlink both nologin files 2010-10-07 23:16:48 +02:00
Lennart Poettering
e92787416c user-sessions: add minimal utility to kill user sessions that shall be called before destroying services on shutdown 2010-10-07 22:38:40 +02:00
Lennart Poettering
83d8b7c179 shutdown: drop last referral to mp->read_only 2010-10-07 20:47:26 +02:00
Lennart Poettering
143b4e9b8d shutdown: drop redundant read_only bool var 2010-10-07 20:46:35 +02:00
Lennart Poettering
ef9ffbd806 shutdown: create /var/run/nologin instead of /etc/nologin which is supported since PAM 1.1.2 2010-10-07 20:46:02 +02:00
Lennart Poettering
3c14d26c47 util: unify implementations of freeze() 2010-10-07 19:34:56 +02:00
Fabiano Fidencio
b1b2a107d1 shutdown: Adding binary to shutdown the system
This functions are working as follows:
   - Send a SIGTERM to all processes that may be finished
   - Send a SIGKILL to all processes that still live and may be finished
   - Try to unmount all mount points
   - Try to remount read-only all mount points that can't be umounted
   - Umount all swap devices
   - Umount and detach all loopback devices
   - Call [poweroff|halt|reboot|kexec]

TODO:
   - Umount device-mapper.
   - Make log work. So far it is being useless as we do not parse
     /etc/systemd/system.conf, kernel command line but just
     environment, however we're executed by init and thus have no
     useful variables. Forcing it to target=kmsg/console and
     level=debug also does not produce any output, however writing to
     /dev/console does work (hack used during debug).
2010-10-07 19:23:46 +02:00
Fabiano Fidencio
e347837975 umount: Adding unmount functions to be used in shutdown
This functions will:
   - umount all mount points that aren't API
   - remount read-only all mount points that can't be umounted
   - umount all swap devices.
   - detach all loopback devices

TODO:
   - umount dms

Mountpoints are being read from /proc/self/mountinfo.
Swaps are being read from /proc/swaps.
Loop devices from /sys/class/block/loop*.
2010-10-07 19:23:26 +02:00
Fabiano Fidencio
3846aeeba2 util: Adding a strneq, to represent (!strncmp(a, b, n))
As we have streq to repesent (strcmp(a, b) == 0),I'm adding
strneq to represent (strncmp(a, b, n) == 0), that will be used
in umount.c (at least).
2010-10-07 19:22:11 +02:00
Lennart Poettering
b7f426649b sd-daemon: in some places sizeof(sa_family_t) actually does make sense 2010-10-07 19:01:26 +02:00
Lennart Poettering
0e098b15c7 util: never use sizeof(sa_family_t) when calculating sockaddr sizes 2010-10-07 02:34:17 +02:00
Lennart Poettering
e983b76024 manager: notify plymouth about progress if it is running 2010-10-06 03:55:49 +02:00
Lennart Poettering
71fad67514 systemctl: require correctly formed unit names when enabling units 2010-10-06 02:33:40 +02:00
Matthias Schiffer
0b021426fb timer: Add missing break in switch 2010-10-05 23:28:13 +02:00
Fabiano Fidêncio
1ddff895f3 mount: Don't stop the mountinfo parser if one line can't be read
The current behavior of the /proc/self/mountinfo parser
is to stop the parser on parse failures

I'm only changing this behavior to try the next line and adding
a warning if occurs a fail.
2010-10-05 22:26:28 +02:00
Lennart Poettering
1bc5d57ae3 notify: fix include properly 2010-10-05 21:52:37 +02:00
Dave Reisner
c899f8c61a fix typo: s/seperat/separat/g 2010-10-05 21:50:56 +02:00
Lennart Poettering
7607fea6a1 readahead: fix printf format string 2010-10-05 21:49:17 +02:00
Lennart Poettering
f031e85fc0 notify: add missing include 2010-10-05 21:49:01 +02:00
Mike Kelly
df37291a51 unit-name: fix unit name escaping
we want to do a bitwise shift, not a greater-than comparision
2010-10-05 21:23:30 +02:00
Lennart Poettering
525ee6f4a1 service: rename settings for Restart= from 'restart-always' to 'always' and similar 2010-10-05 20:30:44 +02:00
Lennart Poettering
d0b4880988 sd-daemon: split off sd_readahead() since it is not a feature of systemd itself but of an auxiliary tool 2010-10-05 20:20:38 +02:00
Lennart Poettering
a55da3cd5e mount: sort network mounts after network.target by default 2010-10-05 19:50:00 +02:00
Lennart Poettering
f976f3f67c socket: make sockets to pass to a service configurable 2010-10-05 19:50:00 +02:00
Lennart Poettering
d9ff321ad9 socket: make service to start on incoming traffic configurable 2010-10-05 19:50:00 +02:00
Lennart Poettering
0840ce2d49 readahead: ignore deleted files 2010-10-05 19:50:00 +02:00
Lennart Poettering
5b61848df2 readahead: minor 32bit fixes 2010-09-30 18:06:02 +02:00
Andreas Jaeger
010004791c tmpfiles: fix typo in comment 2010-09-29 10:08:24 +02:00
Lennart Poettering
bdb0e14d27 readahead: preload pack file 2010-09-29 03:11:35 +02:00
Lennart Poettering
43be53513a readahead: make sure /dev/.systemd/readahead exists 2010-09-29 02:55:40 +02:00
Kay Sievers
dd36de4d52 parse_env_file() - return empty value strings like FOO="" as NULL value 2010-09-28 23:41:09 +02:00
Lennart Poettering
7fcde28044 tmpfiles: move dir to /etc/tempfiles.d/ 2010-09-28 22:32:27 +02:00
Lennart Poettering
4aa8b15b0c tmpfiles: return sensible error code 2010-09-28 22:32:05 +02:00
Lennart Poettering
bfaf42d22b tmpfiles: rename tempfiles to tmpfiles since this isn't windows 2010-09-28 22:11:27 +02:00
Fabiano Fidencio
95e26a692d list: Fixing typo in LIST_FIND_HEAD
Just removing a parenthesis
2010-09-28 21:57:34 +02:00
Lennart Poettering
d9c7a87b35 readahead: ignore replay events when collecting 2010-09-28 21:46:30 +02:00
Lennart Poettering
ee95669fb6 service: first lookup LSB facility names in tables, only then suppress self-provides 2010-09-28 21:08:39 +02:00
Lennart Poettering
55888fa400 readahead: fix SSD check 2010-09-28 20:53:08 +02:00
Matthias Schiffer
409db00299 service: Don't crash because of double free when Arch services are disabled in rc.conf 2010-09-28 19:41:04 +02:00
Lennart Poettering
0b5d26f95d service: filter out empty LSB description strings 2010-09-28 18:30:43 +02:00
Lennart Poettering
a7d3cc26f9 service: when resolving sysv names drop leading $ 2010-09-28 18:30:43 +02:00
Kay Sievers
15917fb09b modules-load: use /etc/modules-load.d/?*.conf 2010-09-28 17:02:29 +02:00
Kay Sievers
fd5bf055ac use .conf for new config files: locale, vconsole, modules.d 2010-09-28 11:51:24 +02:00
Kay Sievers
915d22e4f0 vconsole-setup: ignore empty strings like FOO="", imported from config files 2010-09-28 11:49:47 +02:00
Lennart Poettering
5008d5815a tempfiles: add little utility for creating volatile files/dirs in tmpfs hierarchies 2010-09-28 02:34:02 +02:00
Lennart Poettering
5c78d8e242 mount: properly handle bind mounts 2010-09-28 01:03:19 +02:00
Lennart Poettering
caca31b576 service: shortcut sysv provides on ourselves 2010-09-28 00:29:09 +02:00
Lennart Poettering
cb33e40000 service: ignore sysv $null service 2010-09-28 00:28:16 +02:00
Lennart Poettering
b4a16b7b8a fix spelling of 'unneeded' at various places 2010-09-27 23:27:21 +02:00
Lennart Poettering
9f151f29fd service: don't create sysv order deps on merged units 2010-09-27 23:24:17 +02:00
Lennart Poettering
6ccb1b4429 load-fragment: reset fragment_path if we couldn't find a unit file for it 2010-09-27 20:31:57 +02:00
Lennart Poettering
2e7485f021 readahead: avoid collisions with the NULL pointer 2010-09-27 20:23:17 +02:00
Lennart Poettering
aed5e44d50 Revert "hashmap: HASHMAP_FOREACH* iterate until ITERATOR_LAST"
This reverts commit 66d9b3b595.

If we check for i == ITERATOR_LAST we exit the loop one entry before the
end. Instead we should return if e is NULL.
2010-09-27 20:13:21 +02:00
Michael Biebl
f6943caa53 Need to use #elif defined(DEBIAN) here...
This fixes a c&p error in 7472744bf9
2010-09-27 19:11:21 +02:00
Michael Biebl
7472744bf9 debian: add locale compat support
Read LANG from /etc/default/locale.
2010-09-27 18:40:51 +02:00
Lennart Poettering
858209c51f readahead: properly initialize variable 2010-09-27 03:25:10 +02:00
Fabiano Fidencio
07459bb6b9 sysv: optionally disable of SysV init/rcN.d support at compile time
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to
isolate code dealing with /etc/init.d and /etc/rcN.d for systems where
it does not make sense (one that does not use sysv or one that is fully
systemd native).

The patch tries to be as little intrusive as possible, however in
order to minimize the number of #ifdef'ed regions I've reordered some
code in path-lookup.c:lookup_paths_init() where all code dealing with
sysv is now isolated under running_as == MANAGER_SYSTEM as well.

Moreover, In struct Service, some fields were rearranged to reduce
the number of ifdefs.

Lennart's suggestions were fixed and squashed with the original patch,
that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-09-27 03:25:05 +02:00
Harald Hoyer
66d9b3b595 hashmap: HASHMAP_FOREACH* iterate until ITERATOR_LAST 2010-09-27 02:09:47 +02:00
Lennart Poettering
0ebd74d8d9 job: show failure message only for start jobs 2010-09-27 01:37:22 +02:00
Fabiano Fidencio
334d0069f5 mount: Remove double include of "mount.h" 2010-09-27 01:34:58 +02:00
Lennart Poettering
82526d7218 update fixme 2010-09-27 01:24:35 +02:00
Harald Hoyer
6e66797af4 readahead-replay: use posix_fadvise instead of readahead 2010-09-26 15:53:23 +02:00
Harald Hoyer
efe5e8f7e1 readahead-collect: check for negative return codes of fs_on_ssd() 2010-09-26 15:52:58 +02:00
Lennart Poettering
6624768c9c readahead: add interface to sd-daemon.[ch] to control readahead 2010-09-26 15:50:14 +02:00
Harald Hoyer
f0cf061eda readahead-collect: typo, free the correct pointer 2010-09-26 15:24:08 +02:00
Lennart Poettering
8260358d5a readahead: parse command line arguments 2010-09-25 15:39:38 +02:00
Lennart Poettering
437dca8b2f readahead: never readahead temporary files since their names tend not to be stable 2010-09-25 14:35:53 +02:00
Lennart Poettering
75a010e0b7 readahead: make candidate for early OOM kill 2010-09-25 14:35:34 +02:00
Lennart Poettering
408b85df83 readahead: exit after a maximum runtime 2010-09-25 14:27:16 +02:00
Lennart Poettering
902a339c93 readahead-replay: delay ready notification until we queued first read 2010-09-25 13:47:31 +02:00
Lennart Poettering
41a598e21a readahead: disable on low memory machines 2010-09-25 13:32:54 +02:00
Lennart Poettering
4030d7a923 readahead: take file system root on command line 2010-09-24 11:12:10 +02:00
Lennart Poettering
c1480dae17 readahead: normalize logging 2010-09-23 17:44:33 +02:00
Lennart Poettering
6e3eb5ba18 readahead: put limit on files we read ahead 2010-09-23 17:35:16 +02:00
Lennart Poettering
746f890636 readahead: add btrfs defrag support 2010-09-23 17:11:19 +02:00
Lennart Poettering
0511502083 fanotify: use uint64_t instead of __u64 2010-09-23 15:49:08 +02:00
Lennart Poettering
76bf48b7d0 dbus: export number of total failed jobs on D-Bus interface 2010-09-23 15:38:42 +02:00
Lennart Poettering
22be093ffb readahead: implement minimal readahead logic based on fanotify(), mincore() and readahead() 2010-09-23 15:02:13 +02:00
Gustavo Sverzut Barbieri
fa70128df1 dbus: add Progress property to introspection 2010-09-21 16:55:35 +02:00
Kay Sievers
03aeb5bed0 suse: locale + vconsole compat support 2010-09-21 15:08:04 +02:00
Lennart Poettering
05d6a3b6cf manager: calculate progress value while booting 2010-09-21 04:25:48 +02:00
Lennart Poettering
b0c918b97f manager: measure startup times 2010-09-21 04:14:38 +02:00
Lennart Poettering
e409f87570 manager: count how many jobs we executed 2010-09-21 03:51:31 +02:00
Lennart Poettering
653ab83b18 vconsole: make sure we don't merge configuration settings from different sources 2010-09-21 03:16:28 +02:00
Lennart Poettering
ce8a6aa1a0 locale: make sure we don't merge configuration settings from different sources 2010-09-21 01:51:23 +02:00
Lennart Poettering
8780d48d86 locale: unset locale vars that are not set any longer 2010-09-21 01:40:34 +02:00
Lennart Poettering
97e3d13fb4 locale: never use LC_ALL. It's evil. 2010-09-21 01:37:42 +02:00
Tom Gundersen
980900c1d9 service: start Arch daemons
Arch does not use proper SysV runlevels. Instead /etc/rc.conf contains
an array of daemons to load in a multi-user runlevel, and some
dependencies between them.

This patch enables this behaviour in SystemD (only when compiled with
Arch support), which allows SystemD to be a drop in replacement on Arch
(modulo some minor bugs).

v2: simplified after suggestion from Lennart
2010-09-21 01:32:21 +02:00
Fabiano Fidencio
5bfcc1c6ef socket: Support IPv6-less systems with runtime check.
This patch introduces socket_ipv6_is_supported() call that checks for
IPv6 availability. Code then check for it before using specific calls.

In order to be less intrusive, this patch avoids IPv6 entries being
parsed at all, this way we don't get such entries in the system and
all other code paths are automatically ignored. However an extra check
is done at socket_address_listen() to make sure of that.

As the number of Netlink messages is not know upfront anymore,
loopback-setup.c was refactored to dynamically calculate the sequence
number and count.

Lennart's suggestions were fixed and squashed with the original patch,
that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-09-21 01:00:38 +02:00
Gustavo Sverzut Barbieri
918f4c69fa gentoo: locale-setup support
Use locale variables from /etc/profile.env as Gentoo's openrc
runscript does (tool that is used by /etc/init.d/* services).
2010-09-21 00:49:13 +02:00
Gustavo Sverzut Barbieri
9841e8e3d3 gentoo: vconsole-setup support.
This patch is a bit bigger than expected since Gentoo being
non-standard in some places.

 1. it is installing binaries at /usr/bin instead of /bin.

 2. it is using CamelCase names for consolefonts.

 3. /etc/rc.conf:unicode=(yes|no) just forbids loadkeys and setfont
    "-u" options, but do not disable the actual kernel default_utf8
    from vt module.
2010-09-21 00:43:16 +02:00
Luis Felipe Strano Moraes
3e21c85da3 ask-password. Initializing socket_fd inside ask_agent.
Garbage value could have been used if there was an error creating the
password file.
2010-09-21 00:29:37 +02:00
Michal Schmidt
aa5939a3ba systemctl: make condrestart equivalent to try-restart
"condrestart" should be equivalent to "try-restart", i.e. it should be
translated into "TryRestartUnit". See
http://fedoraproject.org/wiki/Packaging:SysVInitScript#condrestart_and_try-restart

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=635780
2010-09-21 00:24:23 +02:00
Tom Gundersen
f2fcd59ffa locale: set LANG on Arch
This variable is defined in /etc/rc.conf
2010-09-20 23:14:28 +02:00
Tom Gundersen
424313503a vconsole: set keyboard mapping and font settings on Arch
These variables are defined in /etc/rc.conf
2010-09-20 23:14:23 +02:00
Gustavo Sverzut Barbieri
b56e57470c random-seed: create parents of RANDOM_SEED if they do not exist.
it may happen that parent directories of RANDOM_SEED do not exist, in
that case we must create it otherwise save will not work.
2010-09-20 23:12:50 +02:00
Lennart Poettering
a18fb4823b vconsole: drop vconsole config file var prefix 2010-09-18 01:20:13 +02:00
Lennart Poettering
ae509abccc vconsole: more completely cover fedora legacy vconsole configuration 2010-09-18 01:19:46 +02:00
Lennart Poettering
efb3237ee6 ask-password: popup notification when we ask for a password 2010-09-17 02:32:48 +02:00
Lennart Poettering
ad6ab0af1e ask-password: extend help text a little 2010-09-17 02:13:12 +02:00
Lennart Poettering
1b39d4b9d2 ask-password: optionally ask questions on tty 2010-09-17 02:10:08 +02:00
Lennart Poettering
490aed5849 ask-password: add minimal framework to allow services query SSL/harddisk passphrases from the user 2010-09-17 01:26:29 +02:00
Lennart Poettering
1ebdf5b684 vconsole: fall back to fedora specific configuration 2010-09-16 01:58:16 +02:00
Lennart Poettering
e7db37dd19 util: fix handling of quotes in parse_env_file() 2010-09-16 01:57:59 +02:00
Lennart Poettering
72bca11ba2 locale: initialize locale from /etc/locale by default 2010-09-16 01:57:42 +02:00
Lennart Poettering
97c4a07df9 vconsole: add new utility to initialize the virtual console 2010-09-16 00:36:41 +02:00
Lennart Poettering
8e12a6aed3 util: use waitid() instead of waitpid() everywhere to avoid confusion due to SIGSTOP 2010-09-15 14:48:59 +02:00
Lennart Poettering
2e78aa9988 util: introduce waitpid_loop() 2010-09-15 14:37:45 +02:00
Lennart Poettering
b036fc0050 systemctl: use sizeof() instead of strlen() on literal strings 2010-09-15 03:12:04 +02:00
Zbyszek Szmek
9b2fcafba4 systemctl: split job list writing to a seperate function
On Tue, Sep 14, 2010 at 10:23:28PM +0200, Lennart Poettering wrote:
> On Tue, 07.09.10 17:02, Zbigniew Jędrzejewski-Szmek (zbyszek@in.waw.pl) wrote:
>
> Urks, now I commited the wrong one... Can you prep an updated patch against
> current git?
Once more sorry about that.

Fix below.

Zbyszek
2010-09-15 03:05:02 +02:00
Lennart Poettering
5275d3c13d mount-setup: fix selinux label after mounting
rhbz 629268
2010-09-15 01:38:07 +02:00
Zbigniew Jędrzejewski-Szmek
3333022269 systemctl: limit some column widths to widest actually used
old
UNIT                      LOAD   ACTIVE       SUB                JOB
dev-hugepages.automount   loaded active       running                            Huge Page
dev-mqueue.automount      loaded active       waiting                            POSIX Mes
proc-sys...misc.automount loaded active       waiting                            Arbitrary
sys-kern...ebug.automount loaded active       running                            Debug Fil

new
UNIT                      LOAD   ACTIVE SUB       JOB
dev-hugepages.automount   loaded active running       Huge Pages File System Automount Poi
dev-mqueue.automount      loaded active waiting       POSIX Message Queue File System Auto
systemd-shutdownd.socket  loaded active listening     systemd Delayed Shutdown Socket
2010-09-14 22:16:28 +02:00
Zbigniew Jędrzejewski-Szmek
eb68c413aa systemctl: split job list writing to a seperate function 2010-09-14 22:15:41 +02:00
Zbigniew Jędrzejewski-Szmek
ef639c5f9e systemctl: use on_tty() helper everywhere 2010-09-14 22:14:52 +02:00
Lennart Poettering
f26ee0b931 util: SIGSTKFLT is unknown on Linux for SPARC 2010-09-14 13:56:08 +02:00
Lennart Poettering
6f0d624ec7 systemctl: use isolate when called as telinit for a runlevel 2010-09-14 02:22:55 +02:00
Lennart Poettering
e43ac8788b manager: log job mode when running job 2010-09-14 02:16:14 +02:00
Lennart Poettering
ac83842a55 initctl: properly use isolate when activating runlevels 2010-09-14 01:56:14 +02:00
Lennart Poettering
bba34eedc7 target: add implicit target/unit ordering deps only if both sides have been fully loaded 2010-09-14 01:51:30 +02:00
Lennart Poettering
83a95334c9 socket: fix output of TCP congestion options 2010-09-14 01:31:41 +02:00
Lennart Poettering
f21781d57f service: fix check for non-LSB files 2010-09-14 00:23:15 +02:00
Lennart Poettering
32159d3a94 service: add generic LSB provides handling for facilities 2010-09-13 23:54:21 +02:00
Lennart Poettering
4f7dcad328 service: translate 'httpd' LSB Provides into '$httpd' on Fedora 2010-09-13 23:53:59 +02:00
Rainer Gerhards
e702c2c07d minor nit: printf attribute was removed by -DSD_EXPORT_SYMBOLS 2010-09-13 20:08:29 +02:00
Tom Gundersen
17dbb83dee util: add Arch welcome message
Arch has no release name, so juts prints 'Welcome to Arch Linux!'.
The color is the same as used by Arch's native rc.sysinit.
2010-09-13 19:19:54 +02:00
Sedat Dilek
5a6225fd2e util: add Debian welcome message
Hi,

after talked with Michael on IRC, here is the patch to see a systemd
Welcome message on Debian systems.
FYI: I had to remove "quiet" from Kernel-command-line to see it.

"Stolen from Gentoo" :-) [1,2]?

Kind Regards,
- Sedat -

[1] http://lists.freedesktop.org/archives/systemd-devel/2010-September/000267.html
[2] http://cgit.freedesktop.org/systemd/commit/?id=0d37b36b2890fdf8149d12460ebb00822e555977

From 76d860ca774cb8724de25c3ed3c455ebe5d548e3 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <sedat.dilek@gmail.com>
Date: Sun, 12 Sep 2010 23:02:22 +0200
Subject: [PATCH] util: add Debian welcome message

Include the "Debian" string as /etc/debian_version contains only the Distribution name like "squeeze".
Use Light Red color for Debian.

Based on a proposal patch of Michael Biebl <biebl@debian.org>
2010-09-13 18:03:00 +02:00
Lennart Poettering
98bc20006d target: add default unit ordering deps from the unit not the target 2010-09-13 12:06:49 +02:00
Michal Schmidt
54ec68b6f6 manager: report correctly which job was deleted when breaking cycle 2010-09-11 02:00:27 +02:00
Lennart Poettering
ee0dd8021b service: don't automatically add D-Bus service name as an alias to all dbus service, rely on manual symlinks to allow disabling of dbus services 2010-09-11 01:31:58 +02:00
Lennart Poettering
b00bad3641 logger: support SOCK_STREAM /dev/log sockets as necessary for syslog-ng 2010-09-10 17:11:48 +02:00
Gustavo Sverzut Barbieri
0d37b36b28 util: add Gentoo welcome message. 2010-09-09 00:17:34 +02:00
Lennart Poettering
c31e14954b log: support logging into SOCK_STREAM /dev/log sockets for comaptibility with syslog-ng 2010-09-08 03:07:44 +02:00
Lennart Poettering
da5fcb1060 sd-daemon: optionally, avoid hiding the ELF symbols 2010-09-08 01:55:35 +02:00
Lennart Poettering
ed370f5daa main: when we encounter 'emergency' on the kernel cmdline start the emergency shell 2010-09-08 01:55:35 +02:00
Michael Biebl
96d4ce0110 man: Fix small typo: s/seperate/separate/ 2010-09-06 03:13:14 +02:00
Lennart Poettering
7d568925bd systemctl: make --version a little bit more verbose 2010-09-06 03:11:24 +02:00
Lennart Poettering
35df8f27fa systemctl: implement --version
https://bugs.freedesktop.org/show_bug.cgi?id=29912
2010-09-06 02:42:49 +02:00
Lennart Poettering
2a8cd298f4 dbus: downgrade activation failure messages 2010-09-06 02:42:42 +02:00
Lennart Poettering
7573916f63 automount: make sure we don't crash if there's an automount unit without mount unit 2010-09-06 01:05:38 +02:00
Kay Sievers
dacdf15367 work around busted capability.h
It contains things like:
  #ifndef _LINUX_TYPES_H
  #define _LINUX_TYPES_H
  #include <stdint.h>
  typedef uint32_t __u32;
  typedef __u32 __le32;
  ...

which result in:
  /usr/include/asm-generic/int-ll64.h:30:42: error: conflicting types for ‘__u64’
  /usr/include/sys/capability.h:39:18: note: previous declaration of ‘__u64’ was here
  make[1]: *** [src/libsystemd_core_la-unit.lo] Error 1
  make[1]: Leaving directory `/home/kay/work/src/systemd'
  make: *** [all] Error 2

So, include linux/types.h to get around that.
2010-09-03 12:26:30 +02:00
Lennart Poettering
f73d93a4d9 service: calculate sysv startup priority only in start runlevels 2010-09-03 04:08:16 +02:00
Lennart Poettering
c68364b790 service: make sure we properly figure out whether a sysv service is enabled before creating $foo wants links 2010-09-03 03:56:05 +02:00
Lennart Poettering
5ed9f5d65e unit: don't retroactively start units if we failed to shutdown a unit 2010-09-03 01:45:53 +02:00
Lennart Poettering
53c6a358a8 dbus: don't send cgroup agent messages directly to system bus to avoid dbus activation loop 2010-09-03 01:45:53 +02:00
Lennart Poettering
b401e1fb9d target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization 2010-09-03 01:42:57 +02:00
Lennart Poettering
7f97f0fee4 service: properly handle if the main process is down and we wait for the cgroup to die, too 2010-09-03 01:42:57 +02:00
Lennart Poettering
5d452f9cec dbus: make sure to flush bus connection before disconnecting, so that no messages are lost 2010-09-02 23:26:04 +02:00
Lennart Poettering
18ffdfda48 unit: unify some code 2010-09-01 03:35:04 +02:00
Lennart Poettering
8f6df3fa98 dbus: don't accept activation requests anymore if we are going down anyway 2010-09-01 03:30:59 +02:00
Lennart Poettering
aabd9b11ba systemctl: make sure daemon-reexec and friends return a correct error code 2010-09-01 02:11:52 +02:00
Lennart Poettering
706900b704 systemctl: fix return value of systemctl start and friends 2010-09-01 02:03:41 +02:00
Lennart Poettering
28708d8aa0 service: recheck PID status when a cgroup runs empty 2010-09-01 01:33:12 +02:00
Lennart Poettering
f5a501146a service: wait for process exit only if we actually killed somebody 2010-09-01 00:48:05 +02:00
Lennart Poettering
fe71c02cf5 manager: reword some error messages regarding "logs"
https://bugzilla.redhat.com/show_bug.cgi?id=627785
2010-09-01 00:32:32 +02:00
Lennart Poettering
eed1d0e33d util: leave locked terminal attributes untouched so that we don't interfere with plymouth
https://bugzilla.redhat.com/show_bug.cgi?id=628913
2010-09-01 00:10:41 +02:00
Michal Schmidt
7b2603e646 service: properly pass dbus error structure 2010-08-31 23:52:51 +02:00
Lennart Poettering
60dc72b563 manager: make sure we free the dbus error only if we actually use one 2010-08-31 23:51:12 +02:00
Lennart Poettering
ca949c9dcf service: rework killing logic so that we always kill the main process, even if it left our service cgroup
Related to:

http://bugzilla.redhat.com/show_bug.cgi?id=626477
2010-08-31 23:24:47 +02:00
Lennart Poettering
22f4096ca9 systemctl: rework exit codes for all utility programs to follow LSB or other standards 2010-08-31 21:05:54 +02:00
Lennart Poettering
f73e33d9ec systemctl: avoid wrapping of headers/footers
This change makes sure that our output never exceeds 80ch on 80ch
terminals.

https://bugzilla.redhat.com/show_bug.cgi?id=626443
2010-08-31 16:56:08 +02:00
Lennart Poettering
9ed95f4336 util: look at STDOUT, not STDIN, when determining tty columns
https://bugzilla.redhat.com/show_bug.cgi?id=626891
2010-08-31 16:53:58 +02:00
Lennart Poettering
dd6c17b159 exec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interface
This replaces OOMAdjust= by OOMScoreAdjust= in the config files,
breaking compatibility with older unit files. However, this keeps compat
with older kernels which lack the new OOM rework.
2010-08-31 01:33:43 +02:00
Matthew Miller
fdf20a3160 manager: add missing second part of s/maintenance/failed/ 2010-08-31 00:23:34 +02:00
Matthew Miller
74ac3cbd50 manager: rename 'maintenance' state to 'failed' to avoid user confusion
https://bugzilla.redhat.com/show_bug.cgi?id=614619
2010-08-31 00:17:56 +02:00
Lennart Poettering
c88e7f4e57 manager: don't try to minimize transaction when using isolate
We should not avoid stopping services when using isolate, since that
kinda defeats the point of it.

http://bugzilla.redhat.com/show_bug.cgi?id=627014
2010-08-30 23:51:52 +02:00
Lennart Poettering
da726a4d4d exec: make sure O_NONBLOCK is off for all sockets passed as STDIN/STDOUT/STDERR 2010-08-30 23:31:27 +02:00
Lennart Poettering
2528a7a62c unit: introduce AllowIsolate= switch 2010-08-30 23:04:36 +02:00
Lennart Poettering
b2bb3dbed9 console: rework automatic getty on kernel console logic again
It is essential that the gettys are proper dependencies from
getty.target so that they aren't killed and immediately restarted on
runlevel changes. Hence rework the logic to implicitly add console
gettys to getty.target as dependencies.

This also adds an automatic hvc console for virtualizers.

https://bugzilla.redhat.com/show_bug.cgi?id=501720
2010-08-30 23:03:58 +02:00
Lennart Poettering
3177a49ce9 service: properly handle Fedora's broken MTA meta-service name 2010-08-26 04:10:40 +02:00
Lennart Poettering
43a3754933 service: reword warnings a little 2010-08-26 04:10:17 +02:00
Lennart Poettering
42a097a253 service: if we cannot add an alias to a sysv service, ignore this and go on 2010-08-26 04:08:28 +02:00
Lennart Poettering
eb9e50de3e device: allow aliases on devices 2010-08-26 04:08:01 +02:00
Matthew Miller
cc8a7a6129 systemctl: very very trivial typo patch :) 2010-08-26 02:04:25 +02:00
Lennart Poettering
81bf310edc mount: imply noauto for mount points configured with native mount files 2010-08-25 21:24:21 +02:00
Lennart Poettering
173a8d04fc mount: rework automatic mounting to follow the 'nofail' option in fstab 2010-08-25 20:37:04 +02:00
Lennart Poettering
4cf5d67507 dbus: simplify some dbus error messages a bit 2010-08-25 19:50:06 +02:00
Lennart Poettering
50f74deea3 sd-daemon: drop SCM_CREDENTIALS passing since it is redundant, the kernel fills this in anyway 2010-08-25 19:50:05 +02:00
Lennart Poettering
77d5f105bf cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup
This requires the /sys/fs/cgroup to exist. Current git kernels have
this, released kernels need a backport of a single patch.
2010-08-25 04:58:24 +02:00
Lennart Poettering
ee2083d5ca utmp: document that the order of preference for runlevel numbers might be something to change in other distributions 2010-08-25 03:31:59 +02:00
Lennart Poettering
3006982d93 utmp: write out runlevels 5 and 3 preferrably if multiples make sense, and S instead of 1 2010-08-25 03:14:53 +02:00
Lennart Poettering
f3d41013e2 systemctl: rename a few status lines 2010-08-25 03:14:04 +02:00
Lennart Poettering
584be568b9 systemctl: show timestamps for state changes 2010-08-25 03:13:44 +02:00
Lennart Poettering
f1e36d677a systemctl: add --sysv-compat 2010-08-25 03:13:09 +02:00
Lennart Poettering
44bcea6654 log: SCM_CREDENTIALS will be added by the kernel anyway, so there's no need to write them manually 2010-08-25 03:12:19 +02:00
Lennart Poettering
d3689161a2 mount: add global configuration options for handling of auto mounts 2010-08-25 03:11:26 +02:00
Lennart Poettering
93a45c562a serial: use seperate getty template for serial ttys 2010-08-25 03:09:57 +02:00
Lennart Poettering
addab137cd syslog: add minimal syslog/kmsg bridge syslogd 2010-08-21 03:57:47 +02:00
Lennart Poettering
8e4d105ddf mount: don't create depdency for device node of root fs, since it is always there 2010-08-21 01:51:55 +02:00
Lennart Poettering
6309077509 log: pass SCM_CREDENTIALS when logging to syslog 2010-08-21 01:51:16 +02:00
Lennart Poettering
5845b46ba3 device: handle properly if two devices want to have the same name
https://bugzilla.redhat.com/show_bug.cgi?id=624539
2010-08-20 04:04:08 +02:00
Lennart Poettering
1afbdcb06b exit-status: add missing files src/exit-status.h src/exit-status.c 2010-08-20 03:26:37 +02:00
Lennart Poettering
449ddb2d23 remount: add tool that applies /etc/fstab mount options to all api mounts 2010-08-20 03:26:15 +02:00
Lennart Poettering
11ce342724 mount: properly handle LABEL="" in fstab 2010-08-20 02:46:15 +02:00
Lennart Poettering
049f86421b selinux: properly query policy for FIFO files 2010-08-20 02:31:54 +02:00
Lennart Poettering
c4e2ceae94 dbus: follow standardized fdo PropertiesChanged signal spec 2010-08-20 02:31:54 +02:00
Lennart Poettering
d06dacd002 service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and decode exit codes in systemctl 2010-08-20 02:31:54 +02:00
Lennart Poettering
8a2b3c097b service: make sure sysv services marked as interactive in the LSB header get output on the TTY in all cases 2010-08-20 02:31:54 +02:00
Lennart Poettering
be11c12e49 kmod: downgrade modprobe log message for since ipv6 might be compiled as module for blacklisting 2010-08-19 03:30:36 +02:00
Lennart Poettering
28695e0fac hostname: if no hostname is configured use localhost 2010-08-19 03:29:43 +02:00
Lennart Poettering
e59077036b hostname: on all distros make the name configured in /etc/hostname take precedence over distro-specific configuration
In order to unify configuration across distributions we pick the
simple-most option by default (Debian's /etc/hostname) and then fall
back to distro-specific hacks if that doesn't exist.
2010-08-19 03:02:22 +02:00
Lennart Poettering
b2423f1f43 modules-load: add systemd-modules-load tool that can load a configured list of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this 2010-08-19 02:03:17 +02:00
Matthias Clasen
5948ee7cef dbus: small typo in introspection data
Hey,

here is a patch to fix a small typo in the systemd dbus introspection data.
I found this while trying to explore the systemd dbus API via bash
completion with gdbus. You should try this, it is really fun, and,
evidently, helps to find some bugs...

Matthias
2010-08-18 23:10:43 +02:00
Lennart Poettering
26192dfc21 random-seed: honour kernel pool size when saving/restoring seed 2010-08-18 19:38:45 +02:00
Lennart Poettering
2dc11f9948 udev: dm has been fixed in the meantime 2010-08-18 01:04:51 +02:00
Lennart Poettering
4252a5b66d udev: fix syntax 2010-08-18 01:01:22 +02:00
Tero Roponen
a9c501a590 main: restore an accidentally removed 'else'
I just noticed this when reading the latest commits.
2010-08-17 23:45:57 +02:00
Lennart Poettering
9028d0ecba dbus: downgrade disconnection message 2010-08-17 22:15:02 +02:00
Lennart Poettering
1c27d3f3fd main: properly fallback to rescue.target if default.target is hosed 2010-08-17 20:42:53 +02:00
Lennart Poettering
02ee865a46 service: rename ValidNoProcess= to RemainAfterExit= 2010-08-17 19:37:36 +02:00
Lennart Poettering
4694836523 service: prefix descriptions when they come from legacy sources 2010-08-17 18:59:05 +02:00
Lennart Poettering
85ad5b18ad systemctl: break output properly for 80ch terminals 2010-08-17 18:53:47 +02:00
Lennart Poettering
1cba2c90e8 modprobe: kill support for nomodules
this should happen in the kernel itself, not be controlled from
userspace, if at all. So let's kill this here.
2010-08-17 18:13:47 +02:00
Lennart Poettering
f276a41821 shutdown: drop -f/-F switches again, simply because we don't want to condone non-ro root dirs
Instead of using /forcefsck and /fastboot people should just kernel
command line options to achieve the same.
2010-08-17 18:13:47 +02:00
Lennart Poettering
888c6216ca nss: don't disable nscd anymore, since it doesn't make sense to socket-activate nscd anyway 2010-08-17 18:13:46 +02:00
Lennart Poettering
03467c88fb emacs: disable tabs in .h files, too 2010-08-17 03:50:18 +02:00
Lennart Poettering
9499b235b9 log: print at to one target at max 2010-08-17 03:31:45 +02:00
Lennart Poettering
8630d37023 device: be more verbose of udev confuses us 2010-08-17 03:31:31 +02:00
Lennart Poettering
c0b346969d load-fragment: make parser more forgiving 2010-08-17 03:30:53 +02:00
Lennart Poettering
5192bd1945 auto-getty: rework auto console getty logic to work in conjunction with single user mode 2010-08-17 03:29:46 +02:00
Lennart Poettering
16061c20dd shutdownd: kill /etc/nologin file before we go down 2010-08-16 23:52:19 +02:00
Lennart Poettering
08e4b1c5c8 shutdown: various fixes for handling of delayed shutdowns 2010-08-16 22:40:11 +02:00