Commit graph

2837 commits

Author SHA1 Message Date
Lennart Poettering e124e7a4a1 units: drop automount unit for /sys/kernel/debug
Since debugfs cannot be compiled as module there's little benefit in
having it as autofs mount point.
2011-09-21 03:56:55 +02:00
Lennart Poettering 0286cc1551 units: drop /sys/kernel/config automount unit
The mount point directory /sys/kernel/config is only created after the
module is loaded, hence there's little value in having this an automount
unit: the runtime penalty for mounting an autofs here should be the same
as for a real mount.
2011-09-21 03:56:55 +02:00
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 b1db68fa60 units: don't initialize automount point for securityfs if the initrd already mounted the directory 2011-09-21 00:50:41 +02:00
Lennart Poettering ab7f148f81 unit: introduce ConditionPathIsMountPoint= 2011-09-21 00:50:40 +02:00
Michal Schmidt 418112a296 man: document which condition tests follow symlinks
ConditionPathExists and ConditionFileIsExecutable follow symlinks.
ConditionPathIsDirectory does not follow symlinks.
(XXX: is this actually the desired behavior?)
2011-09-20 13:13:17 +02:00
Michal Schmidt cbe8269481 units: direct stdout/stderr of rescue shells to tty
With output of services going to syslog by default now, the rescue shell
units need to direct their output to tty explicitly.
Specify stderr too, just in case.
2011-09-20 12:15:48 +02:00
Bill Nottingham d6bca18e28 units: Add support for automounting configfs, ala debugfs, etc. 2011-09-20 03:35:09 +02:00
Lennart Poettering 67d36a7a20 update TODO 2011-09-20 03:33:49 +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
Mathieu Bridon 0e89268b28 man: list specifiers in a table
It was noted on IRC that the current layout is not necessarily the
easiest to parse by humans. I personnally struggled understanding it the
first time I read it.

Hopefully, this change makes it easier to understand.

Note: I only reformatted the information that was already present in the
documentation, I didn't add anything.
2011-09-06 00:36:23 +02:00
Albert Strasheim 96804f05b9 man: fix typo in systemd manual page 2011-09-06 00:35:27 +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 fe7ac31021 build-sys: bump release 2011-09-01 02:10:25 +02:00
Lennart Poettering cfc27668b0 label: fix database check 2011-09-01 01:16:55 +02:00
Piotr Drąg 7babb117a4 po: Initial Polish translation
https://bugs.freedesktop.org/show_bug.cgi?id=39553
2011-08-31 14:33:29 +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 801f44bb22 man: document /etc/timezone 2011-08-31 03:09:22 +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 4b7b2efb69 man: don't recommend After=syslog.target anymore since we don't support non-socket-activatable syslogs anymore where that was ncessary 2011-08-31 01:35:43 +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 6b3fd98f7a untis: allow both console and plymouth ask password agents in boot transaction to allow dynamically disabled plymouth 2011-08-29 21:48:51 +02:00
Lennart Poettering 8e4fb44ab0 plymouth: don't enable ask-password agent of plymouth is disabled 2011-08-29 19:45:47 +02:00
Lennart Poettering 7daa9e6e29 execute: fix bus serialization for commands 2011-08-29 19:45:46 +02:00
Lennart Poettering 3377af3e22 man: fix securebits docs 2011-08-29 13:44:12 +02:00