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
Lennart Poettering
2396fb04f7
log: properly open log target in the various utilities
2010-08-16 22:39:02 +02:00
Lennart Poettering
618e02c7b7
util: properly detect ttyname_r() failing
2010-08-16 21:25:09 +02:00
Lennart Poettering
116205924e
util: use format_timestamp() instead of ctime() wherever possible
2010-08-16 21:24:50 +02:00
Lennart Poettering
a2a3a5b93c
systemctl: sort case-insensitively
2010-08-16 20:07:01 +02:00
Lennart Poettering
9be9828c00
systemctl: warn in intervals before going down when delayed shutdown is used
2010-08-16 19:26:27 +02:00
Lennart Poettering
6b5ad000ab
shutdown: if now time argument is passed, imply +1 not +0
...
That should friendlier for folks who just run "shutdown" to figure out
the command line arguments...
https://bugzilla.redhat.com/show_bug.cgi?id=624149
2010-08-16 17:12:40 +02:00
Lennart Poettering
f614480831
systemctl: add support for delayed shutdown, similar to sysv in style
2010-08-16 15:37:52 +02:00
Lennart Poettering
6e200d55ae
random-seed: add missing random-seed.c file
2010-08-14 21:23:26 +02:00
Lennart Poettering
d6c9574fb5
emacs: make sure nobody accidently adds tabs to our sources
2010-08-14 19:59:25 +02:00
Lennart Poettering
d90e1a301d
systemctl: skip writing of utmp if we booted using systemd, under the assumption that systemd-update-utmp is used
2010-08-14 19:14:52 +02:00
Lennart Poettering
36c32ba297
systemctl: sort 'list-units' output
2010-08-14 03:40:10 +02:00
Lennart Poettering
2cf19a7a8f
job: don't accidently access a job that doesn't exist anymore
2010-08-13 19:29:21 +02:00
Lennart Poettering
34e9ba669e
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
...
In contrast to the other service types oneshot services are usually not
long lasting and there's not necessarily a single clean main process for
them. This change allows multiple ExecStart= lines for this type of
services so that the admin/developer doesn't have to arbitrarily pick on
of various sequential commands as the "main one".
2010-08-13 18:23:01 +02:00
Lennart Poettering
fbc43921be
systemctl: properly detect whether taling to systemd via D-Bus worked before falling back to upstart/initctl
2010-08-13 04:53:33 +02:00
Lennart Poettering
75676b7287
man: document new 'systemctl status PID' syntax
2010-08-13 02:15:10 +02:00
Lennart Poettering
4455bcd0e6
cgroup: try harder to find a unit a PID belongs to by traversing through parent cgroups
2010-08-13 02:08:34 +02:00
Lennart Poettering
598b557bf0
systemctl: when calling 'status' accept a PID
2010-08-13 02:07:22 +02:00
Lennart Poettering
c31b4423a9
systemctl: show sysv path if it is set if the fragment path isn't in systemctl status
2010-08-13 01:29:30 +02:00
Lennart Poettering
3059b1c1f4
systemctl: at full stop after last message before shutting down
2010-08-12 17:15:10 +02:00
Lennart Poettering
bbd3a7ba5c
audit: suppress repeated audit events when deserializing
2010-08-12 03:51:58 +02:00
Lennart Poettering
8821a00fd5
unit: don't show ENOENT configuration file warnings for units that are not essential
2010-08-12 01:05:35 +02:00
Lennart Poettering
302e27c89e
main: log build time features on startup
2010-08-12 01:03:24 +02:00
Lennart Poettering
91805b3bcb
dbus: downgrade a few log messages
2010-08-12 01:02:19 +02:00
Lennart Poettering
674cdd1933
dbus: fix capability serialization
2010-08-12 01:01:55 +02:00
Lennart Poettering
449648c430
conf-parser: don't crash if an assignment is read before a section header
2010-08-12 01:01:30 +02:00
Lennart Poettering
afea26ad7d
main: disable nscd properly, if possible
2010-08-11 23:31:07 +02:00
Lennart Poettering
444a79d340
dbus: properly pass capabilities
2010-08-11 23:19:28 +02:00
Lennart Poettering
1e59887dc9
gc: remove a lot of unused code
2010-08-11 23:19:04 +02:00