Commit graph

1651 commits

Author SHA1 Message Date
Lennart Poettering c72dcc5431 modules-load: filter out double modules 2011-09-21 03:56:55 +02:00
Michal Schmidt 13230d5d3c service: minor change in service_load_pid_file return value
Return 0 only if the PID was really loaded. If no PIDFile= is defined,
return -ENOENT.

Only one caller cares about the return value of this function and this
change makes the usage nicer.
2011-09-21 02:25:17 +02:00
Michal Schmidt 0d60602c3b condition: add ConditionPathIsSymbolicLink 2011-09-21 01:42:02 +02:00
Lennart Poettering 8571962ca3 condition: always follow symlinks for condition checks, to mimic test 2011-09-21 01:07:25 +02:00
Michal Schmidt db01f8b3f8 service: handle forking services that move to a new PID
When some forking daemons receive a SIGHUP, they re-execute themselves
and consequently change to a new main PID. As long as they update the
PID file in the right order (before exiting the old PID), we can detect
that and avoid killing them.
2011-09-21 00:57:41 +02:00
Lennart Poettering ab7f148f81 unit: introduce ConditionPathIsMountPoint= 2011-09-21 00:50:40 +02:00
Lennart Poettering a94e09a5b9 stdout-syslog-bridge: properly handle overly long log lines 2011-09-20 02:46:04 +02:00
Lennart Poettering 00ca7f0782 service: drop broken support for X-Interactive fields in LSB headers
The logic never worked since reading from the boot console is useless
when a service is started after boot. Hence drop this half-baked code,
since we now have a place document incompatibilities like this.

http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities
2011-09-20 01:33:48 +02:00
Lennart Poettering 34a2dc4bfc condition: in ConditionPathIsExecutable follow symlinks
https://bugzilla.redhat.com/show_bug.cgi?id=737047
2011-09-20 01:28:07 +02:00
Lennart Poettering a373b0e7bc condition: opt out of /proc/cmdline parsing only when running in a container, not in a VM 2011-09-19 23:51:15 +02:00
Bastien Nocera 1e2591d48c hostnamed: Fix "SetStaticHostname" debug output
Was using the wrong property (eg. not the one we just set)

https://bugs.freedesktop.org/show_bug.cgi?id=40987
2011-09-19 22:39:29 +02:00
Lennart Poettering 3417e2c367 timedate: fix interfaces list
https://bugs.freedesktop.org/show_bug.cgi?id=40583
2011-09-04 15:00:13 +02:00
Lennart Poettering ad740100d1 dbus: terminate mechanism daemons after a while 2011-09-03 03:26:58 +02:00
Lennart Poettering 43de46ab92 stdout-bridge: set facility of messages with no facility to configured facility instead of LOG_USER 2011-09-01 21:15:00 +02:00
Lennart Poettering 27d340c772 fsck: show progress while fscking at boot 2011-09-01 21:05:06 +02:00
Lennart Poettering cfc27668b0 label: fix database check 2011-09-01 01:16:55 +02:00
Lennart Poettering 07bceef2a9 locale: support $LANGUAGE too
$LANGUAGE is a GNU extension that is probably worth supporting, since it
allows specifiying an order of languages.

https://bugs.freedesktop.org/show_bug.cgi?id=40510
2011-08-31 14:10:50 +02:00
Lennart Poettering 4dc380d16d getty: simplify things a bit
https://bugs.freedesktop.org/show_bug.cgi?id=39818
2011-08-31 04:23:45 +02:00
Lennart Poettering 3c20189a72 getty: automatically add getty on hvsi0 virtualizer console
https://bugs.freedesktop.org/show_bug.cgi?id=39818
2011-08-31 04:15:42 +02:00
Lennart Poettering f917c3e5e1 dropin: don't fail if random files are stored in .wants directories
https://bugs.freedesktop.org/show_bug.cgi?id=39957
2011-08-31 03:55:38 +02:00
Lennart Poettering d76702a7b2 systemctl: if we managed to reexec the init system via the bus don't retry via signal
If we managed to reeexec the init system via the bus this allows us to
provide synchronous behaviour to callers. This is all lost if we then
repeat the reexecution via SIGTERM.

https://bugzilla.redhat.com/show_bug.cgi?id=698198
2011-08-31 03:31:32 +02:00
Lennart Poettering 3745b50031 logind: use syspath instead of sysname to identify fb devices since udlfb got fixed now 2011-08-31 03:16:01 +02:00
Lennart Poettering 3a34ae3a4d mount: fix parsing of prio value
https://bugzilla.redhat.com/show_bug.cgi?id=722803
2011-08-31 01:46:38 +02:00
Lennart Poettering a17b785b5f getty-generator: ignore if symlinks already exist 2011-08-31 01:30:57 +02:00
Lennart Poettering 382241ee56 label: minor fixes 2011-08-31 01:21:02 +02:00
Lennart Poettering f13e30d22a label: introduce label_bind() and make use of it where necessary
https://bugzilla.redhat.com/show_bug.cgi?id=729997
2011-08-31 01:02:00 +02:00
Lennart Poettering de6c78f879 service: change default stdout/stderr to syslog 2011-08-30 22:57:58 +02:00
Lennart Poettering 346bce1f4c stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive 2011-08-30 22:42:49 +02:00
Lennart Poettering af65c24804 selinux: explicitly relabel /run/initramfs/root-fsck and friends 2011-08-30 18:49:41 +02:00
Lennart Poettering 149e180ac3 specifier: drop misplaced assert() 2011-08-30 16:49:48 +02:00
Lennart Poettering edb4977837 selinux: don't relabel /run/initramfs
/run/initramfs usually contains the initrd so that we can jump back into
it on shutdown. It's usually relatively large and static data, hence we
should avoid relabelling of it. On my netbook this saves 6s. (6.6s
needed for relabelling /dev and /run goes down to 600ms -- still way too
much, but much better).
2011-08-30 00:16:00 +02:00
Lennart Poettering 4d4c74866c selinux: retest selinux after we loaded the policy 2011-08-29 23:36:10 +02:00
Lennart Poettering 990a1abae2 logind: downgrade session create/remove log messages to LOG_DEBUG for
cronjobs and similar which have no tty/X11 server assigned

https://bugzilla.redhat.com/show_bug.cgi?id=727315
2011-08-29 22:08:19 +02:00
Lennart Poettering 7daa9e6e29 execute: fix bus serialization for commands 2011-08-29 19:45:46 +02:00
Lennart Poettering d2d4b03899 acl: properly handle if devices are tagged as uaccess but do not have a device node 2011-08-25 16:50:49 +02:00
Lennart Poettering 6705c2df46 update README 2011-08-24 23:29:28 +02:00
Frederic Crozat 1c5224b336 cryptsetup-generator: block boot when querying passphrase.
Ensure we wait for passphrase before starting tty1 or graphical display.
Needed when not using plymouth.
2011-08-24 16:23:44 +02:00
Frederic Crozat 41e6f28acc cryptsetup: accept "none" option 2011-08-24 16:22:58 +02:00
Frederic Crozat a5afffa151 path-lookup: monitor /etc/systemd/user for user manager 2011-08-24 14:08:56 +02:00
Tero Roponen 07cc1c066d dbus: 'directrion' is not a valid attribute
$ gdbus introspect --system --dest org.freedesktop.systemd1 --object-path /org/freedesktop/systemd1
Error parsing introspection XML: 115:64: attribute 'directrion' invalid for element 'arg'
2011-08-24 13:54:41 +02:00
Frederic Crozat 65457142f1 initctl: check for kexec_loaded when reboot is requested through initctl 2011-08-24 02:19:30 +02:00
Miklos Vajna 240fc26e03 service: all rcS.d scripts have been converted on Frugalware 2011-08-24 02:14:10 +02:00
Lennart Poettering 700de55514 strv: fix counting in strv_env_delete() 2011-08-24 01:10:13 +02:00
Lennart Poettering 944d6c0427 udev: since bt devices cannot be renamed revert to %k 2011-08-24 01:09:21 +02:00
Lennart Poettering e03695957f udev: use $name instead of %k 2011-08-23 18:06:58 +02:00
Lennart Poettering 0c85a4f3ef cgroup: optionally mount a specific cgroup controllers together, and add cpu+cpuacct to the default 2011-08-23 00:37:35 +02:00
Lennart Poettering c5f0532ff1 timedate: make NTP controllable too 2011-08-22 01:08:10 +02:00
Lennart Poettering e27796a030 cgroup: when trimming cgroup trees, honour sticky bit of tasks file 2011-08-21 21:00:41 +02:00
Lennart Poettering b4454c5edf readahead: make use of block_get_whole_disk() where applicable 2011-08-21 20:20:41 +02:00
Lennart Poettering ad293f5a94 cgroup: honour sticky bit when trimming cgroup trees 2011-08-21 20:07:46 +02:00