chiark / gitweb /
elogind.git
10 years agoman: runlevel 5 is usually more comprehensive, so use it instead of 3 to detect wheth...
Lennart Poettering [Sat, 16 Apr 2011 00:42:23 +0000 (02:42 +0200)]
man: runlevel 5 is usually more comprehensive, so use it instead of 3 to detect whether a sysv service is enabled

10 years agopolkit: follow the usual syntax for polkit actions
Lennart Poettering [Sat, 16 Apr 2011 00:41:47 +0000 (02:41 +0200)]
polkit: follow the usual syntax for polkit actions

10 years agohostnamed: introduce systemd-hostnamed
Lennart Poettering [Sat, 16 Apr 2011 00:02:54 +0000 (02:02 +0200)]
hostnamed: introduce systemd-hostnamed

http://www.freedesktop.org/wiki/Software/systemd/hostnamed

10 years agounits: wording fix
Lennart Poettering [Fri, 15 Apr 2011 23:58:52 +0000 (01:58 +0200)]
units: wording fix

10 years agounits: order quotacheck after remount-rootfs
Lennart Poettering [Fri, 15 Apr 2011 23:58:43 +0000 (01:58 +0200)]
units: order quotacheck after remount-rootfs

10 years agohostname: split out hostname validation into util.c
Lennart Poettering [Fri, 15 Apr 2011 23:57:23 +0000 (01:57 +0200)]
hostname: split out hostname validation into util.c

10 years agocryptsetup: simplifications
Lennart Poettering [Fri, 15 Apr 2011 23:56:16 +0000 (01:56 +0200)]
cryptsetup: simplifications

10 years agodbus: split out object management code into dbus-common, and simplify it
Lennart Poettering [Fri, 15 Apr 2011 23:54:49 +0000 (01:54 +0200)]
dbus: split out object management code into dbus-common, and simplify it

10 years agostrv: properly override settings in env_append()
Lennart Poettering [Fri, 15 Apr 2011 23:50:40 +0000 (01:50 +0200)]
strv: properly override settings in env_append()

10 years agostrv: detect non-assignments in env blocks properly in env_append()
Lennart Poettering [Fri, 15 Apr 2011 23:50:10 +0000 (01:50 +0200)]
strv: detect non-assignments in env blocks properly in env_append()

10 years agostrv: handle empty lists in strv_copy() properly
Lennart Poettering [Fri, 15 Apr 2011 23:49:20 +0000 (01:49 +0200)]
strv: handle empty lists in strv_copy() properly

10 years agoutil: truncate newline inside of read_one_line_file() already
Lennart Poettering [Fri, 15 Apr 2011 23:48:02 +0000 (01:48 +0200)]
util: truncate newline inside of read_one_line_file() already

10 years agoutil: modernize get_parent_of_pid() a bit
Lennart Poettering [Fri, 15 Apr 2011 23:45:45 +0000 (01:45 +0200)]
util: modernize get_parent_of_pid() a bit

10 years agocrypto: let the cryptsetup binary handles its own configurable timeouts
Lennart Poettering [Thu, 14 Apr 2011 00:36:02 +0000 (02:36 +0200)]
crypto: let the cryptsetup binary handles its own configurable timeouts

10 years agologger,initctl: use global exit timeout
Lennart Poettering [Thu, 14 Apr 2011 00:32:42 +0000 (02:32 +0200)]
logger,initctl: use global exit timeout

10 years agoask-password: use default timeout
Lennart Poettering [Thu, 14 Apr 2011 00:30:43 +0000 (02:30 +0200)]
ask-password: use default timeout

10 years agomanager: drop all pending jobs when isolating
Lennart Poettering [Thu, 14 Apr 2011 00:23:51 +0000 (02:23 +0200)]
manager: drop all pending jobs when isolating

10 years agomanager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger around...
Lennart Poettering [Thu, 14 Apr 2011 01:55:03 +0000 (03:55 +0200)]
manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger around when isolating

10 years agounits: never pull in sysinit from utmp, so that we can shutdown from emergency mode...
Lennart Poettering [Thu, 14 Apr 2011 00:57:13 +0000 (02:57 +0200)]
units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit

10 years agocryptsetup: add trailing \n
Lennart Poettering [Wed, 13 Apr 2011 20:22:10 +0000 (22:22 +0200)]
cryptsetup: add trailing \n

10 years agomanager: downgrade a few log messages
Lennart Poettering [Wed, 13 Apr 2011 20:21:17 +0000 (22:21 +0200)]
manager: downgrade a few log messages

10 years agounits: require syslog.socket from the logger because we simply fail if we don't have it
Lennart Poettering [Wed, 13 Apr 2011 21:36:23 +0000 (23:36 +0200)]
units: require syslog.socket from the logger because we simply fail if we don't have it

10 years agologger: adjust socket description to match service
Lennart Poettering [Wed, 13 Apr 2011 21:31:37 +0000 (23:31 +0200)]
logger: adjust socket description to match service

10 years agounits: set stdout of kmsg syslogd to /dev/null
Lennart Poettering [Wed, 13 Apr 2011 21:30:33 +0000 (23:30 +0200)]
units: set stdout of kmsg syslogd to /dev/null

10 years agounits: add --no-block when starting normal service after shell exited
Lennart Poettering [Wed, 13 Apr 2011 21:29:51 +0000 (23:29 +0200)]
units: add --no-block when starting normal service after shell exited

10 years agoupdate TODO
Kay Sievers [Thu, 14 Apr 2011 18:16:41 +0000 (20:16 +0200)]
update TODO

10 years agoask-password: use kill(PID, 0) before querying a password
Lennart Poettering [Wed, 13 Apr 2011 19:43:36 +0000 (21:43 +0200)]
ask-password: use kill(PID, 0) before querying a password

10 years agoask-password: support passwords without timeouts
Lennart Poettering [Wed, 13 Apr 2011 19:42:46 +0000 (21:42 +0200)]
ask-password: support passwords without timeouts

10 years agoask-password: always send final NUL char
Lennart Poettering [Wed, 13 Apr 2011 19:26:30 +0000 (21:26 +0200)]
ask-password: always send final NUL char

10 years agoask-password: properly accept empty passwords from agent
Lennart Poettering [Wed, 13 Apr 2011 19:24:17 +0000 (21:24 +0200)]
ask-password: properly accept empty passwords from agent

10 years agounit: skip default cgroup setup if we have no hierarchy to work on
Lennart Poettering [Wed, 13 Apr 2011 02:35:34 +0000 (04:35 +0200)]
unit: skip default cgroup setup if we have no hierarchy to work on

10 years agounits: isolate emergency.target instead of emergency.service when we fail to mount...
Lennart Poettering [Wed, 13 Apr 2011 02:35:07 +0000 (04:35 +0200)]
units: isolate emergency.target instead of emergency.service when we fail to mount all file systems

10 years agomount: don't pull in stdio logger for root mount unit
Lennart Poettering [Wed, 13 Apr 2011 02:34:35 +0000 (04:34 +0200)]
mount: don't pull in stdio logger for root mount unit

10 years agocgroup: be nice to Ingo Molnar
Lennart Poettering [Tue, 12 Apr 2011 20:15:59 +0000 (22:15 +0200)]
cgroup: be nice to Ingo Molnar

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

10 years agopam: use /proc/self/sessionid only if CAP_AUDIT_CONTROL is set
Lennart Poettering [Tue, 12 Apr 2011 19:12:06 +0000 (21:12 +0200)]
pam: use /proc/self/sessionid only if CAP_AUDIT_CONTROL is set

10 years agopam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROL
Lennart Poettering [Tue, 12 Apr 2011 19:08:44 +0000 (21:08 +0200)]
pam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROL

10 years agosocket: try creating a socket under our own identity if we have no perms to consult...
Lennart Poettering [Tue, 12 Apr 2011 18:27:05 +0000 (20:27 +0200)]
socket: try creating a socket under our own identity if we have no perms to consult the selinux database

10 years agosocket: fix check for SEQPACKET
Lennart Poettering [Tue, 12 Apr 2011 18:26:33 +0000 (20:26 +0200)]
socket: fix check for SEQPACKET

10 years agoexecute: don't fail if we cannot fix OOM in a container
Lennart Poettering [Tue, 12 Apr 2011 18:12:15 +0000 (20:12 +0200)]
execute: don't fail if we cannot fix OOM in a container

10 years agoanalyze: fix typo
Lennart Poettering [Mon, 11 Apr 2011 23:19:48 +0000 (01:19 +0200)]
analyze: fix typo

10 years agounit: fix dump output
Lennart Poettering [Sun, 10 Apr 2011 01:27:27 +0000 (03:27 +0200)]
unit: fix dump output

10 years agosocket: be a bit more verbose when refusing to start a socket unit
Lennart Poettering [Sun, 10 Apr 2011 01:27:19 +0000 (03:27 +0200)]
socket: be a bit more verbose when refusing to start a socket unit

10 years agosocket: support netlink sockets
Lennart Poettering [Sun, 10 Apr 2011 01:27:00 +0000 (03:27 +0200)]
socket: support netlink sockets

10 years agolocal-fs: invoke emergency.service mounting at boot fails
Lennart Poettering [Sat, 9 Apr 2011 23:42:48 +0000 (01:42 +0200)]
local-fs: invoke emergency.service mounting at boot fails

10 years agopath: optionally, create watched directories in .path units
Lennart Poettering [Sat, 9 Apr 2011 23:30:14 +0000 (01:30 +0200)]
path: optionally, create watched directories in .path units

10 years agotmpfiles: don't warn if two identical lines are configured
Lennart Poettering [Fri, 8 Apr 2011 02:49:43 +0000 (04:49 +0200)]
tmpfiles: don't warn if two identical lines are configured

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

10 years agobash: fix typo
Brendan Jones [Fri, 8 Apr 2011 02:29:20 +0000 (04:29 +0200)]
bash: fix typo

There's a typo in the bash completion script which disables isolate
target completion.

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

10 years agoupdate TODO
Lennart Poettering [Sat, 9 Apr 2011 21:01:13 +0000 (23:01 +0200)]
update TODO

10 years agoman: add man page for ask-password
Lennart Poettering [Fri, 8 Apr 2011 15:57:17 +0000 (17:57 +0200)]
man: add man page for ask-password

10 years agodbus: expose monotonic timestamps on the bus
Lennart Poettering [Thu, 7 Apr 2011 19:35:37 +0000 (21:35 +0200)]
dbus: expose monotonic timestamps on the bus

10 years agomanager: no need to use randomized generator dir when running as system manager
Lennart Poettering [Thu, 7 Apr 2011 19:22:41 +0000 (21:22 +0200)]
manager: no need to use randomized generator dir when running as system manager

10 years agodon't make up buffer sizes, use standard LINE_MAX instead
Lennart Poettering [Thu, 7 Apr 2011 16:48:50 +0000 (18:48 +0200)]
don't make up buffer sizes, use standard LINE_MAX instead

10 years agounit: disallow configuration of more than one on_failure dependencies if OnFailureIso...
Lennart Poettering [Thu, 7 Apr 2011 16:47:35 +0000 (18:47 +0200)]
unit: disallow configuration of more than one on_failure dependencies if OnFailureIsolate= is on

10 years agounit: pull in logger unit only when running in system mode
Lennart Poettering [Thu, 7 Apr 2011 16:47:11 +0000 (18:47 +0200)]
unit: pull in logger unit only when running in system mode

10 years agomanager: serialize/deserialize max job id and /usr taint flag
Lennart Poettering [Thu, 7 Apr 2011 16:46:39 +0000 (18:46 +0200)]
manager: serialize/deserialize max job id and /usr taint flag

10 years agomanager: don't garbage collect jobs when isolating, to change global state
Lennart Poettering [Thu, 7 Apr 2011 16:45:34 +0000 (18:45 +0200)]
manager: don't garbage collect jobs when isolating, to change global state

10 years agounit: introduce OnFailureIsolate=
Lennart Poettering [Thu, 7 Apr 2011 02:11:31 +0000 (04:11 +0200)]
unit: introduce OnFailureIsolate=

10 years agomount: relabel both before and after a mount, just in case
Lennart Poettering [Wed, 6 Apr 2011 21:38:01 +0000 (23:38 +0200)]
mount: relabel both before and after a mount, just in case

10 years agobuild-sys: bump version v24
Lennart Poettering [Wed, 6 Apr 2011 19:28:41 +0000 (21:28 +0200)]
build-sys: bump version

10 years agoupdate TODO
Lennart Poettering [Wed, 6 Apr 2011 19:07:10 +0000 (21:07 +0200)]
update TODO

10 years agocmdline: we actually want to parse the kernel cmdline in VMs, just not in containers
Lennart Poettering [Wed, 6 Apr 2011 17:36:06 +0000 (19:36 +0200)]
cmdline: we actually want to parse the kernel cmdline in VMs, just not in containers

10 years agounits: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service
Lennart Poettering [Wed, 6 Apr 2011 17:18:11 +0000 (19:18 +0200)]
units: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service

On request of Miroslav Lichvar, rename rtc-set.target to
time-sync.target since usually the RTC chip isn't involved at all in NTP
syncs.

Also, pull it in by hwclock-load.service.

10 years agojob: fix deserialization of jobs: do not ignore ordering
Lennart Poettering [Wed, 6 Apr 2011 17:09:33 +0000 (19:09 +0200)]
job: fix deserialization of jobs: do not ignore ordering

10 years agovar-lock: don't try to enable var-lock.mount if we don't install it
Lennart Poettering [Wed, 6 Apr 2011 13:57:37 +0000 (15:57 +0200)]
var-lock: don't try to enable var-lock.mount if we don't install it

10 years agoupdate TODO
Lennart Poettering [Wed, 6 Apr 2011 13:32:11 +0000 (15:32 +0200)]
update TODO

10 years agosystemctl: properly parse JobNew signals
Lennart Poettering [Wed, 6 Apr 2011 00:46:13 +0000 (02:46 +0200)]
systemctl: properly parse JobNew signals

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

10 years agoservice: fix units with more than one socket
Lennart Poettering [Wed, 6 Apr 2011 00:25:39 +0000 (02:25 +0200)]
service: fix units with more than one socket

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

10 years agosystemctl: make most operations NOPs in a chroot
Lennart Poettering [Tue, 5 Apr 2011 23:35:56 +0000 (01:35 +0200)]
systemctl: make most operations NOPs in a chroot

10 years agomanager: don't show PID for incoming signals if it is 0
Lennart Poettering [Tue, 5 Apr 2011 23:33:34 +0000 (01:33 +0200)]
manager: don't show PID for incoming signals if it is 0

10 years agoman: fix description of systemctl reload-or-try-restart
Lennart Poettering [Tue, 5 Apr 2011 21:41:27 +0000 (23:41 +0200)]
man: fix description of systemctl reload-or-try-restart

10 years agomount: block creation of mount units for API file systems
Lennart Poettering [Tue, 5 Apr 2011 21:39:21 +0000 (23:39 +0200)]
mount: block creation of mount units for API file systems

10 years agounits: call the logger a bridge too
Lennart Poettering [Tue, 5 Apr 2011 21:22:35 +0000 (23:22 +0200)]
units: call the logger a bridge too

10 years agobuild-sys: we don't need rootsbindir anymore since we don't install anything to ...
Lennart Poettering [Tue, 5 Apr 2011 00:52:21 +0000 (02:52 +0200)]
build-sys: we don't need rootsbindir anymore since we don't install anything to /sbin

10 years agobuild-sys: better don't use libexecdir here at all
Lennart Poettering [Tue, 5 Apr 2011 00:49:49 +0000 (02:49 +0200)]
build-sys: better don't use libexecdir here at all

10 years agobuild-sys: fix libexecdir to /usr/lib
Lennart Poettering [Tue, 5 Apr 2011 00:40:59 +0000 (02:40 +0200)]
build-sys: fix libexecdir to /usr/lib

10 years agobuild-sys: always place user units in /usr/lib/systemd
Kay Sievers [Tue, 5 Apr 2011 00:19:42 +0000 (02:19 +0200)]
build-sys: always place user units in /usr/lib/systemd

./configure --libexecdir=/usr/lib

10 years agoupdate TODO
Lennart Poettering [Mon, 4 Apr 2011 23:44:26 +0000 (01:44 +0200)]
update TODO

10 years agobuild-sys: bump version number v23
Lennart Poettering [Mon, 4 Apr 2011 22:36:01 +0000 (00:36 +0200)]
build-sys: bump version number

10 years agoupdate TODO
Lennart Poettering [Mon, 4 Apr 2011 22:24:00 +0000 (00:24 +0200)]
update TODO

10 years agopkgconfig: update .pc file accordingly
Lennart Poettering [Mon, 4 Apr 2011 17:14:38 +0000 (19:14 +0200)]
pkgconfig: update .pc file accordingly

10 years agolookup: always also look into /usr/lib for units
Lennart Poettering [Mon, 4 Apr 2011 17:02:32 +0000 (19:02 +0200)]
lookup: always also look into /usr/lib for units

10 years agoexec: support unlimited resources
Lennart Poettering [Mon, 4 Apr 2011 16:15:13 +0000 (18:15 +0200)]
exec: support unlimited resources

10 years agoselinux: relabel /run the same way as /dev after loading the policy since they both...
Lennart Poettering [Mon, 4 Apr 2011 14:56:51 +0000 (16:56 +0200)]
selinux: relabel /run the same way as /dev after loading the policy since they both come pre-filled and unlabelled

10 years agoupdate TODO
Lennart Poettering [Mon, 4 Apr 2011 13:38:25 +0000 (15:38 +0200)]
update TODO

10 years agomanager: fd must be int, not char
Michal Schmidt [Mon, 4 Apr 2011 13:08:40 +0000 (15:08 +0200)]
manager: fd must be int, not char

This should fix the crash reported by Dan Horak on s390x which
does not have VTs.

10 years agochange remaining /var/run to /run
Kay Sievers [Mon, 4 Apr 2011 13:33:00 +0000 (15:33 +0200)]
change remaining /var/run to /run

10 years agounits: move user units from /usr/share to /usr/lib since they might be arch-dependent
Lennart Poettering [Mon, 4 Apr 2011 13:22:58 +0000 (15:22 +0200)]
units: move user units from /usr/share to /usr/lib since they might be arch-dependent

10 years agologger: name socket like service
Lennart Poettering [Mon, 4 Apr 2011 13:23:29 +0000 (15:23 +0200)]
logger: name socket like service

10 years agounits: improve logger descriptions
Lennart Poettering [Mon, 4 Apr 2011 02:06:24 +0000 (04:06 +0200)]
units: improve logger descriptions

10 years agoman: document /etc/sysctl.d/
Lennart Poettering [Mon, 4 Apr 2011 01:48:09 +0000 (03:48 +0200)]
man: document /etc/sysctl.d/

10 years agobinfmt: add binfmt tool to set up binfmt_misc at boot
Lennart Poettering [Mon, 4 Apr 2011 01:36:42 +0000 (03:36 +0200)]
binfmt: add binfmt tool to set up binfmt_misc at boot

10 years agoupdate TODO
Lennart Poettering [Sun, 3 Apr 2011 21:55:40 +0000 (23:55 +0200)]
update TODO

10 years agotmpfiles: create leading directories for d/D instructions
Kay Sievers [Sun, 3 Apr 2011 20:21:21 +0000 (22:21 +0200)]
tmpfiles: create leading directories for d/D instructions

10 years agocondition: use 'selinux' rather than 'SELinux' as preferred spelling
Lennart Poettering [Sun, 3 Apr 2011 20:18:35 +0000 (22:18 +0200)]
condition: use 'selinux' rather than 'SELinux' as preferred spelling

The virtualization condition and others use lowercase identifiers, so
for the sake of keeping things least surprising, use lowercase
identifiers here too.

10 years agoman: document ConditionSecurity
Michal Schmidt [Sun, 3 Apr 2011 16:17:05 +0000 (18:17 +0200)]
man: document ConditionSecurity

10 years agocondition: add ConditionSecurity
Michal Schmidt [Sun, 3 Apr 2011 16:16:59 +0000 (18:16 +0200)]
condition: add ConditionSecurity

Using ConditionSecurity a unit can depend on a security module being
enabled/disabled. For now the only recognized security module is SELinux.

I'd like to use this feature for a unit that creates /.autorelabel if
SELinux is disabled, to ensure a relabel is done automatically when the
system is later rebooted with SELinux enabled.

10 years agoload-fragment: unify config_parse_condition_{kernel, virt}
Michal Schmidt [Sun, 3 Apr 2011 16:16:54 +0000 (18:16 +0200)]
load-fragment: unify config_parse_condition_{kernel, virt}

They only differ in the condition type, otherwise the code is identical.
Replace them with a more generic config_parse_condition_string().

10 years agocondition: fix dumping of conditions
Michal Schmidt [Sun, 3 Apr 2011 16:16:48 +0000 (18:16 +0200)]
condition: fix dumping of conditions

Several condition types were missing their strings, they were showing as
"(null)" in systemctl dump.
Indentation was missing too.

10 years agoinitctl: /dev/initctl is a named pipe, not a socket
Lennart Poettering [Sun, 3 Apr 2011 20:14:56 +0000 (22:14 +0200)]
initctl: /dev/initctl is a named pipe, not a socket

10 years agokmsg-syslogd: pass facility value into kmsg
Lennart Poettering [Sun, 3 Apr 2011 20:14:34 +0000 (22:14 +0200)]
kmsg-syslogd: pass facility value into kmsg