Michal Schmidt
5375410bb2
service: warn if a service fails to write its PID file
...
Warn if a service promises to write a PID file (using 'PIDFile=' in the
unit file or '# pidfile:' in SysV header), but fails to keep the
promise.
This warning will likely trigger also for the forking services with a
racy daemonization, which exit the original process before the PID file
is written.
2011-09-22 13:18:52 +02:00
Lennart Poettering
0cdad5c052
update TODO
2011-09-22 04:18:18 +02:00
Lennart Poettering
878587bddd
selinux: reopen log when loading the SELinux policy fails
2011-09-22 04:05:40 +02:00
Lennart Poettering
4dfc092a71
service: if StandardInput=socket and StandardOutput=inherit imply socket for output, don't imply default output
...
This is useful for inetd-style per-connection services, so that they
again can simply specify StandardOutput=socket to connect all three fds
to the socket.
2011-09-22 03:29:51 +02:00
Lennart Poettering
a65f4aeb63
udev: asynchronously mount fuse/confifgs as soon as the kmods are loaded
2011-09-22 03:02:15 +02:00
Lennart Poettering
7ef5875d14
units: introduce unit file for FUSE fs
...
FUSE and configfs is very very similar, so handle both the same way.
2011-09-22 03:00:04 +02:00
Marko Saukko
d418f857f8
units: In MeeGo there was more than one ExecStart lines present that caused systemd to refuse the rescue.service
2011-09-21 21:38:46 +02:00
Lennart Poettering
d3354f66c2
mount: pull in quota tools from fstab lines with 'quota' option, too
...
https://bugzilla.redhat.com/show_bug.cgi?id=736360
2011-09-21 20:19:43 +02:00
Lennart Poettering
57981b9812
job: after converting a job from restart to start readd it to run queue
...
When we converted a restart job it's time to look again whether any of
its dependencies are now runnable.
https://bugzilla.redhat.com/show_bug.cgi?id=735013
2011-09-21 19:57:27 +02:00
Kay Sievers
f957632b96
update TODO
2011-09-21 19:33:52 +02:00
Lennart Poettering
4f38cd85f6
units: we don't need to check whether /sys/kernel/security is already mounted since we'll enumerate that fact anyway
2011-09-21 18:06:24 +02:00
Lennart Poettering
a2f5666d06
update TODO
2011-09-21 03:56:56 +02:00
Lennart Poettering
ac0a983ac6
units: drop automount unit for /dev/hugepages
...
Since hugetlbfs cannot be compiled as kernel module there's little point
in doing on-demand mounting via autofs for it.
2011-09-21 03:56:56 +02:00
Lennart Poettering
1f2c94a487
units: drop automount unit for /dev/mqueue
...
Since the mqueue support cannot be built as a module there's little
benefit in having an autofs mount point set up for this.
2011-09-21 03:56:56 +02:00
Lennart Poettering
77f81d8b30
units: drop automount unit for /sys/kernel/security
...
Since securityfs cannot be build as module there's little value in
having an on-demand autofs mount point for it.
2011-09-21 03:56:56 +02:00
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