Commit Graph

2954 Commits

Author SHA1 Message Date
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
Zbigniew Jędrzejewski-Szmek
79b1e6cb80 systemadm: use colors for id too, remove color from fragment link 2011-09-20 01:07:28 +02:00
Zbigniew Jędrzejewski-Szmek
fe7e28146f systemadm: adjust row numbers after removing 'aliases' 2011-09-20 01:07:28 +02:00
Zbigniew Jędrzejewski-Szmek
8f38d5a4c6 systemadm: coalesce id and decription fields
This is just in interest of saving space (e.g. 5 lines for multi-user.target).
2011-09-20 01:07:28 +02:00
Zbigniew Jędrzejewski-Szmek
734b60d796 systemadm: catch exceptions generated by dbus
Otherwise, access-denied dbus errors were not caught, and only
caused a message to be printed out on the console. After this
change a proper popup window pops up :).
2011-09-20 01:07:28 +02:00
Zbigniew Jędrzejewski-Szmek
37d3b881f1 systemadm: make the dependency listing selectable
There's no reason to forbid selecting the text.
2011-09-20 01:07:28 +02:00
Zbigniew Jędrzejewski-Szmek
8b1451ade7 systemadm: use bold for "requires", etc. 2011-09-20 01:07:28 +02:00
Zbigniew Jędrzejewski-Szmek
23b51f17b1 systemadm: use color for dependency links 2011-09-20 01:07:27 +02:00
Zbigniew Jędrzejewski-Szmek
8278f06953 systemadm: display dependencies sorted 2011-09-20 01:06:28 +02:00
Zbigniew Jędrzejewski-Szmek
11216eb0bd systemadm: add libgee as dependency and use it for a unit map 2011-09-20 01:06:01 +02:00
Zbigniew Jędrzejewski-Szmek
0dd27daff4 systemadm: add a wrappable label and use it for status lines
The new WrapLabel is there to work around a deficiency in GTK,
namely the fact that it is hard to make labels which are both
resizable and wrappable. The code is a port from libview.
2011-09-20 01:06:01 +02:00
Zbigniew Jędrzejewski-Szmek
e377ad0d11 systemadm: filter on swaps, paths, and timers too. 2011-09-20 01:06:01 +02:00
Zbigniew Jędrzejewski-Szmek
a3c159a23c systemadm: split the type+status combo box into type combo & status checkbox 2011-09-20 01:06:01 +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
Zbigniew Jędrzejewski-Szmek
661ece1029 systemadm: allow sorting of jobs and units 2011-09-19 10:06:24 +02:00
Zbigniew Jędrzejewski-Szmek
8401f1533d systemadm: break timestamp formatting out into a seperate function
Since the timezone is always local, it doesn't make much sense to
display it. The timestamp is now formatted without the timezone.
I guess it can be further improved, which should be easier now
that it is tucked-away in a separate function.
2011-09-19 10:03:37 +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