chiark / gitweb /
elogind.git
14 years agokmod: downgrade modprobe log message for since ipv6 might be compiled as module for...
Lennart Poettering [Thu, 19 Aug 2010 01:30:36 +0000 (03:30 +0200)]
kmod: downgrade modprobe log message for since ipv6 might be compiled as module for blacklisting

14 years agohostname: if no hostname is configured use localhost
Lennart Poettering [Thu, 19 Aug 2010 01:29:43 +0000 (03:29 +0200)]
hostname: if no hostname is configured use localhost

14 years agohostname: on all distros make the name configured in /etc/hostname take precedence...
Lennart Poettering [Thu, 19 Aug 2010 01:02:22 +0000 (03:02 +0200)]
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.

14 years agoupdate fixme
Lennart Poettering [Thu, 19 Aug 2010 00:04:47 +0000 (02:04 +0200)]
update fixme

14 years agomodules-load: add systemd-modules-load tool that can load a configured list of module...
Lennart Poettering [Thu, 19 Aug 2010 00:03:03 +0000 (02:03 +0200)]
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

14 years agounits: make sure getty@xxx.service is always run before gettys.target
Lennart Poettering [Wed, 18 Aug 2010 21:10:27 +0000 (23:10 +0200)]
units: make sure getty@xxx.service is always run before gettys.target

14 years agodbus: small typo in introspection data
Matthias Clasen [Wed, 18 Aug 2010 20:27:58 +0000 (16:27 -0400)]
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

14 years agorandom-seed: honour kernel pool size when saving/restoring seed
Lennart Poettering [Wed, 18 Aug 2010 17:38:45 +0000 (19:38 +0200)]
random-seed: honour kernel pool size when saving/restoring seed

14 years agounits: add hwclock-load service
Lennart Poettering [Wed, 18 Aug 2010 00:24:31 +0000 (02:24 +0200)]
units: add hwclock-load service

14 years agoudev: dm has been fixed in the meantime
Lennart Poettering [Tue, 17 Aug 2010 23:04:51 +0000 (01:04 +0200)]
udev: dm has been fixed in the meantime

14 years agoudev: fix syntax
Lennart Poettering [Tue, 17 Aug 2010 23:01:22 +0000 (01:01 +0200)]
udev: fix syntax

14 years agomain: restore an accidentally removed 'else'
Tero Roponen [Tue, 17 Aug 2010 17:46:18 +0000 (20:46 +0300)]
main: restore an accidentally removed 'else'

I just noticed this when reading the latest commits.

14 years agoupdate fixme
Lennart Poettering [Tue, 17 Aug 2010 20:50:28 +0000 (22:50 +0200)]
update fixme

14 years agodbus: downgrade disconnection message
Lennart Poettering [Tue, 17 Aug 2010 20:14:43 +0000 (22:14 +0200)]
dbus: downgrade disconnection message

14 years agounits: add generic sysctl/hwclock-save service
Lennart Poettering [Tue, 17 Aug 2010 20:14:03 +0000 (22:14 +0200)]
units: add generic sysctl/hwclock-save service

14 years agoupdate fixme
Lennart Poettering [Tue, 17 Aug 2010 20:09:18 +0000 (22:09 +0200)]
update fixme

14 years agomain: properly fallback to rescue.target if default.target is hosed
Lennart Poettering [Tue, 17 Aug 2010 18:42:53 +0000 (20:42 +0200)]
main: properly fallback to rescue.target if default.target is hosed

14 years agounits: fix conflicts between random seed services
Lennart Poettering [Tue, 17 Aug 2010 18:04:03 +0000 (20:04 +0200)]
units: fix conflicts between random seed services

14 years agounits: add tmp.mount
Kay Sievers [Tue, 17 Aug 2010 17:43:44 +0000 (19:43 +0200)]
units: add tmp.mount

14 years agoservice: rename ValidNoProcess= to RemainAfterExit=
Lennart Poettering [Tue, 17 Aug 2010 17:37:36 +0000 (19:37 +0200)]
service: rename ValidNoProcess= to RemainAfterExit=

14 years agoservice: prefix descriptions when they come from legacy sources
Lennart Poettering [Tue, 17 Aug 2010 16:59:05 +0000 (18:59 +0200)]
service: prefix descriptions when they come from legacy sources

14 years agosystemctl: break output properly for 80ch terminals
Lennart Poettering [Tue, 17 Aug 2010 16:53:47 +0000 (18:53 +0200)]
systemctl: break output properly for 80ch terminals

14 years agomodprobe: kill support for nomodules
Lennart Poettering [Tue, 17 Aug 2010 16:10:46 +0000 (18:10 +0200)]
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.

14 years agoshutdown: drop -f/-F switches again, simply because we don't want to condone non...
Lennart Poettering [Tue, 17 Aug 2010 16:04:06 +0000 (18:04 +0200)]
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.

14 years agonss: don't disable nscd anymore, since it doesn't make sense to socket-activate nscd...
Lennart Poettering [Tue, 17 Aug 2010 16:00:48 +0000 (18:00 +0200)]
nss: don't disable nscd anymore, since it doesn't make sense to socket-activate nscd anyway

14 years agounits: add missing After= for var-run.service, var-lock.service
Kay Sievers [Tue, 17 Aug 2010 12:01:12 +0000 (14:01 +0200)]
units: add missing After= for var-run.service, var-lock.service

14 years agoupdate fixme
Kay Sievers [Tue, 17 Aug 2010 08:34:58 +0000 (10:34 +0200)]
update fixme

14 years agoupdate fixme
Kay Sievers [Tue, 17 Aug 2010 08:33:37 +0000 (10:33 +0200)]
update fixme

14 years agounits: add var-run.service var-lock.service
Kay Sievers [Tue, 17 Aug 2010 08:17:42 +0000 (10:17 +0200)]
units: add var-run.service var-lock.service

14 years agoupdate fixme
Kay Sievers [Tue, 17 Aug 2010 07:37:11 +0000 (09:37 +0200)]
update fixme

14 years agoupdate fixme
Lennart Poettering [Tue, 17 Aug 2010 02:53:08 +0000 (04:53 +0200)]
update fixme

14 years agoemacs: disable tabs in .h files, too
Lennart Poettering [Tue, 17 Aug 2010 01:33:07 +0000 (03:33 +0200)]
emacs: disable tabs in .h files, too

14 years agoupdate fixme
Lennart Poettering [Tue, 17 Aug 2010 01:49:49 +0000 (03:49 +0200)]
update fixme

14 years agolog: print at to one target at max
Lennart Poettering [Tue, 17 Aug 2010 01:31:45 +0000 (03:31 +0200)]
log: print at to one target at max

14 years agodevice: be more verbose of udev confuses us
Lennart Poettering [Tue, 17 Aug 2010 01:31:31 +0000 (03:31 +0200)]
device: be more verbose of udev confuses us

14 years agoload-fragment: make parser more forgiving
Lennart Poettering [Tue, 17 Aug 2010 01:30:53 +0000 (03:30 +0200)]
load-fragment: make parser more forgiving

14 years agoauto-getty: rework auto console getty logic to work in conjunction with single user...
Lennart Poettering [Tue, 17 Aug 2010 01:29:46 +0000 (03:29 +0200)]
auto-getty: rework auto console getty logic to work in conjunction with single user mode

14 years agoshutdownd: kill /etc/nologin file before we go down
Lennart Poettering [Mon, 16 Aug 2010 21:52:19 +0000 (23:52 +0200)]
shutdownd: kill /etc/nologin file before we go down

14 years agoshutdown: various fixes for handling of delayed shutdowns
Lennart Poettering [Mon, 16 Aug 2010 20:40:11 +0000 (22:40 +0200)]
shutdown: various fixes for handling of delayed shutdowns

14 years agolog: properly open log target in the various utilities
Lennart Poettering [Mon, 16 Aug 2010 20:39:02 +0000 (22:39 +0200)]
log: properly open log target in the various utilities

14 years agoutil: properly detect ttyname_r() failing
Lennart Poettering [Mon, 16 Aug 2010 19:25:09 +0000 (21:25 +0200)]
util: properly detect ttyname_r() failing

14 years agoutil: use format_timestamp() instead of ctime() wherever possible
Lennart Poettering [Mon, 16 Aug 2010 19:24:50 +0000 (21:24 +0200)]
util: use format_timestamp() instead of ctime() wherever possible

14 years agoshutdown: fix socket type in .socket file
Lennart Poettering [Mon, 16 Aug 2010 19:05:22 +0000 (21:05 +0200)]
shutdown: fix socket type in .socket file

14 years agosystemctl: sort case-insensitively
Lennart Poettering [Sun, 15 Aug 2010 00:21:17 +0000 (02:21 +0200)]
systemctl: sort case-insensitively

14 years agosystemctl: warn in intervals before going down when delayed shutdown is used
Lennart Poettering [Mon, 16 Aug 2010 17:26:27 +0000 (19:26 +0200)]
systemctl: warn in intervals before going down when delayed shutdown is used

14 years agoshutdown: if now time argument is passed, imply +1 not +0
Lennart Poettering [Mon, 16 Aug 2010 15:12:35 +0000 (17:12 +0200)]
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

14 years agoman: document new shutdown features
Lennart Poettering [Mon, 16 Aug 2010 13:56:42 +0000 (15:56 +0200)]
man: document new shutdown features

14 years agounits: enable notify interface for internals services
Lennart Poettering [Mon, 16 Aug 2010 13:41:30 +0000 (15:41 +0200)]
units: enable notify interface for internals services

14 years agoshutdownd: enable by default
Lennart Poettering [Mon, 16 Aug 2010 13:41:12 +0000 (15:41 +0200)]
shutdownd: enable by default

14 years agosystemctl: add support for delayed shutdown, similar to sysv in style
Lennart Poettering [Mon, 16 Aug 2010 13:37:52 +0000 (15:37 +0200)]
systemctl: add support for delayed shutdown, similar to sysv in style

14 years agorandom-seed: add missing random-seed.c file
Lennart Poettering [Sat, 14 Aug 2010 19:23:26 +0000 (21:23 +0200)]
random-seed: add missing random-seed.c file

14 years agoemacs: make sure nobody accidently adds tabs to our sources
Lennart Poettering [Sat, 14 Aug 2010 17:59:25 +0000 (19:59 +0200)]
emacs: make sure nobody accidently adds tabs to our sources

14 years agounits: don't require tty in rc-local.service
Lennart Poettering [Sat, 14 Aug 2010 17:34:48 +0000 (19:34 +0200)]
units: don't require tty in rc-local.service

https://bugzilla.redhat.com/show_bug.cgi?id=623802

14 years agounits: write utmp record before we kill all processes
Lennart Poettering [Sat, 14 Aug 2010 17:25:12 +0000 (19:25 +0200)]
units: write utmp record before we kill all processes

14 years agounits: X 1.8 doesn't need HAL anymore, so avoid synchronization on that
Lennart Poettering [Sat, 14 Aug 2010 17:24:08 +0000 (19:24 +0200)]
units: X 1.8 doesn't need HAL anymore, so avoid synchronization on that

14 years agounits: make sure plymouth shutdown screen is shown before we kill all processes/shut...
Lennart Poettering [Sat, 14 Aug 2010 17:23:16 +0000 (19:23 +0200)]
units: make sure plymouth shutdown screen is shown before we kill all processes/shut down

14 years agorandom-seed: add little tool for saving/loading random seed on shutdown/boot, but...
Lennart Poettering [Sat, 14 Aug 2010 17:17:37 +0000 (19:17 +0200)]
random-seed: add little tool for saving/loading random seed on shutdown/boot, but don't enable it by default

14 years agosystemctl: skip writing of utmp if we booted using systemd, under the assumption...
Lennart Poettering [Sat, 14 Aug 2010 17:14:52 +0000 (19:14 +0200)]
systemctl: skip writing of utmp if we booted using systemd, under the assumption that systemd-update-utmp is used

14 years agosystemctl: sort 'list-units' output
Lennart Poettering [Sat, 14 Aug 2010 01:40:10 +0000 (03:40 +0200)]
systemctl: sort 'list-units' output

14 years agojob: don't accidently access a job that doesn't exist anymore
Lennart Poettering [Fri, 13 Aug 2010 17:29:21 +0000 (19:29 +0200)]
job: don't accidently access a job that doesn't exist anymore

14 years agounits: move plymouth services from /etc to /lib since fedora does not support plymout...
Lennart Poettering [Fri, 13 Aug 2010 17:14:12 +0000 (19:14 +0200)]
units: move plymouth services from /etc to /lib since fedora does not support plymouth-less boots

14 years agounits: move runlevel[2-5] links to /lib because they are legacy and hence should...
Lennart Poettering [Fri, 13 Aug 2010 17:13:25 +0000 (19:13 +0200)]
units: move runlevel[2-5] links to /lib because they are legacy and hence should not be as obviously in sight. The user may still override them by placing links in /etc

14 years agoman: document that we now accept more than one main process for Type=oneshot services
Lennart Poettering [Fri, 13 Aug 2010 16:46:04 +0000 (18:46 +0200)]
man: document that we now accept more than one main process for Type=oneshot services

14 years agoservice: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for...
Lennart Poettering [Fri, 13 Aug 2010 16:23:01 +0000 (18:23 +0200)]
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".

14 years agoupdate fixme
Lennart Poettering [Fri, 13 Aug 2010 02:57:19 +0000 (04:57 +0200)]
update fixme

14 years agosystemctl: properly detect whether taling to systemd via D-Bus worked before falling...
Lennart Poettering [Fri, 13 Aug 2010 02:53:00 +0000 (04:53 +0200)]
systemctl: properly detect whether taling to systemd via D-Bus worked before falling back to upstart/initctl

14 years agounit: create three seperate plymouth service for halt/poweroff/reboot
Lennart Poettering [Fri, 13 Aug 2010 00:19:24 +0000 (02:19 +0200)]
unit: create three seperate plymouth service for halt/poweroff/reboot

14 years agoman: document new 'systemctl status PID' syntax
Lennart Poettering [Fri, 13 Aug 2010 00:15:10 +0000 (02:15 +0200)]
man: document new 'systemctl status PID' syntax

14 years agocgroup: try harder to find a unit a PID belongs to by traversing through parent cgroups
Lennart Poettering [Fri, 13 Aug 2010 00:08:34 +0000 (02:08 +0200)]
cgroup: try harder to find a unit a PID belongs to by traversing through parent cgroups

14 years agosystemctl: when calling 'status' accept a PID
Lennart Poettering [Fri, 13 Aug 2010 00:07:22 +0000 (02:07 +0200)]
systemctl: when calling 'status' accept a PID

14 years agoupdate fixme
Lennart Poettering [Thu, 12 Aug 2010 23:38:09 +0000 (01:38 +0200)]
update fixme

14 years agosystemctl: show sysv path if it is set if the fragment path isn't in systemctl status
Lennart Poettering [Thu, 12 Aug 2010 23:28:05 +0000 (01:28 +0200)]
systemctl: show sysv path if it is set if the fragment path isn't in systemctl status

14 years agounit: move prefdm after livesys
Lennart Poettering [Thu, 12 Aug 2010 15:14:20 +0000 (17:14 +0200)]
unit: move prefdm after livesys

https://bugzilla.redhat.com/show_bug.cgi?id=623561

14 years agoplymouth: call plymouth quit before running the getty, not after
Lennart Poettering [Thu, 12 Aug 2010 02:23:54 +0000 (04:23 +0200)]
plymouth: call plymouth quit before running the getty, not after

https://bugzilla.redhat.com/show_bug.cgi?id=623430

14 years agosystemctl: at full stop after last message before shutting down
Lennart Poettering [Thu, 12 Aug 2010 02:23:47 +0000 (04:23 +0200)]
systemctl: at full stop after last message before shutting down

14 years agoaudit: suppress repeated audit events when deserializing
Lennart Poettering [Thu, 12 Aug 2010 01:51:58 +0000 (03:51 +0200)]
audit: suppress repeated audit events when deserializing

14 years agounit: don't show ENOENT configuration file warnings for units that are not essential
Lennart Poettering [Wed, 11 Aug 2010 23:05:35 +0000 (01:05 +0200)]
unit: don't show ENOENT configuration file warnings for units that are not essential

14 years agomain: log build time features on startup
Lennart Poettering [Wed, 11 Aug 2010 23:03:24 +0000 (01:03 +0200)]
main: log build time features on startup

14 years agodbus: downgrade a few log messages
Lennart Poettering [Wed, 11 Aug 2010 23:02:19 +0000 (01:02 +0200)]
dbus: downgrade a few log messages

14 years agodbus: fix capability serialization
Lennart Poettering [Wed, 11 Aug 2010 23:01:55 +0000 (01:01 +0200)]
dbus: fix capability serialization

14 years agoconf-parser: don't crash if an assignment is read before a section header
Lennart Poettering [Wed, 11 Aug 2010 23:01:30 +0000 (01:01 +0200)]
conf-parser: don't crash if an assignment is read before a section header

14 years agomain: disable nscd properly, if possible
Lennart Poettering [Wed, 11 Aug 2010 21:31:07 +0000 (23:31 +0200)]
main: disable nscd properly, if possible

14 years agodbus: properly pass capabilities
Lennart Poettering [Wed, 11 Aug 2010 21:19:28 +0000 (23:19 +0200)]
dbus: properly pass capabilities

14 years agogc: remove a lot of unused code
Lennart Poettering [Wed, 11 Aug 2010 21:19:04 +0000 (23:19 +0200)]
gc: remove a lot of unused code

14 years agoselinux: split off selinux calls into seperate file label.c
Lennart Poettering [Wed, 11 Aug 2010 20:58:34 +0000 (22:58 +0200)]
selinux: split off selinux calls into seperate file label.c

14 years agopahole: rearrange structs to make them smaller
Lennart Poettering [Wed, 11 Aug 2010 20:37:10 +0000 (22:37 +0200)]
pahole: rearrange structs to make them smaller

14 years agoclang: fix numerous little issues found with clang-analyzer
Lennart Poettering [Wed, 11 Aug 2010 20:04:22 +0000 (22:04 +0200)]
clang: fix numerous little issues found with clang-analyzer

14 years agomanager: serialize/deserialize startup time, too
Lennart Poettering [Wed, 11 Aug 2010 18:19:27 +0000 (20:19 +0200)]
manager: serialize/deserialize startup time, too

14 years agoaudit: remove double header inclusion
Lennart Poettering [Wed, 11 Aug 2010 15:55:54 +0000 (17:55 +0200)]
audit: remove double header inclusion

14 years agoaudit: initialize audit only if it is enabled
Lennart Poettering [Wed, 11 Aug 2010 15:52:01 +0000 (17:52 +0200)]
audit: initialize audit only if it is enabled

14 years agotarget: don't synthesize a runlevel property for targets anymore since we don't need...
Lennart Poettering [Wed, 11 Aug 2010 15:46:27 +0000 (17:46 +0200)]
target: don't synthesize a runlevel property for targets anymore since we don't need it anymore and it is crutfy

14 years agoaudit: smaller fixes to audit hookup
Lennart Poettering [Wed, 11 Aug 2010 13:19:50 +0000 (15:19 +0200)]
audit: smaller fixes to audit hookup

14 years agosystemctl: beef up highlighting of service states a little
Lennart Poettering [Wed, 11 Aug 2010 13:19:31 +0000 (15:19 +0200)]
systemctl: beef up highlighting of service states a little

14 years agoutmp: enable systemd-update-utmp by default
Lennart Poettering [Wed, 11 Aug 2010 02:38:55 +0000 (04:38 +0200)]
utmp: enable systemd-update-utmp by default

14 years agounit: make sure a job for a service of type 'finish' succeeds if the process terminat...
Lennart Poettering [Wed, 11 Aug 2010 02:02:58 +0000 (04:02 +0200)]
unit: make sure a job for a service of type 'finish' succeeds if the process terminates cleanly

14 years agosocket: disable GC for pre-allocated per-connection service until it is used
Lennart Poettering [Wed, 11 Aug 2010 00:07:59 +0000 (02:07 +0200)]
socket: disable GC for pre-allocated per-connection service until it is used

14 years agoaudit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into...
Lennart Poettering [Tue, 10 Aug 2010 23:43:23 +0000 (01:43 +0200)]
audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary

14 years agoutil: when replacing env vars replace unset envvars by nothing
Lennart Poettering [Tue, 10 Aug 2010 19:05:19 +0000 (21:05 +0200)]
util: when replacing env vars replace unset envvars by nothing

This makes it easier to support /etc/sysconfig/xxxx with command line
env vars in style of $OPTIONS which might or might not be set.

14 years agoconf: add commented default SysVConsole= value
Lennart Poettering [Tue, 10 Aug 2010 18:59:01 +0000 (20:59 +0200)]
conf: add commented default SysVConsole= value

14 years agounit: rename OnlyByDependency= to RefuseManualStart= and introduce RefuseManualStop=
Lennart Poettering [Tue, 10 Aug 2010 18:57:21 +0000 (20:57 +0200)]
unit: rename OnlyByDependency= to RefuseManualStart= and introduce RefuseManualStop=

Some unit shall never be start on user request (e.g. shutdown.target)
others never be stopped on user request (e.g. auditd.servce), hence
offer options for both.