chiark / gitweb /
elogind.git
9 years agofsck: don't fsck against basic.target in order to properly allow automount /home
Lennart Poettering [Tue, 19 Apr 2011 22:44:37 +0000 (00:44 +0200)]
fsck: don't fsck against basic.target in order to properly allow automount /home

9 years agomanager: when running in test mode, do not write generated unit files to /run/systemd...
Lennart Poettering [Tue, 19 Apr 2011 20:17:54 +0000 (22:17 +0200)]
manager: when running in test mode, do not write generated unit files to /run/systemd/generator

9 years agomount: properly parse timeouts options in the middle of the string
Lennart Poettering [Tue, 19 Apr 2011 20:09:34 +0000 (22:09 +0200)]
mount: properly parse timeouts options in the middle of the string

9 years agohostnamed: drop all caps but CAP_SYS_ADMIN
Lennart Poettering [Tue, 19 Apr 2011 04:07:29 +0000 (06:07 +0200)]
hostnamed: drop all caps but CAP_SYS_ADMIN

9 years agohostnamed: improve error logging
Lennart Poettering [Tue, 19 Apr 2011 04:07:06 +0000 (06:07 +0200)]
hostnamed: improve error logging

9 years agoexecute: when we run as PID 1 the kernel doesn't give us CAP_SETPCAP by default....
Lennart Poettering [Tue, 19 Apr 2011 04:06:41 +0000 (06:06 +0200)]
execute: when we run as PID 1 the kernel doesn't give us CAP_SETPCAP by default. Get that temporarily when dropping capabilities for good

9 years agomount: make device timeout configurable
Lennart Poettering [Sat, 16 Apr 2011 02:39:50 +0000 (04:39 +0200)]
mount: make device timeout configurable

9 years agocryptsetup: do not order crypto DM devices against the cryptsetup service
Lennart Poettering [Sat, 16 Apr 2011 02:36:06 +0000 (04:36 +0200)]
cryptsetup: do not order crypto DM devices against the cryptsetup service

9 years agosocket: reuse existing FIFOs
Lennart Poettering [Sat, 16 Apr 2011 01:42:37 +0000 (03:42 +0200)]
socket: reuse existing FIFOs

9 years agosocket: guarantee order in which sockets are passed to be the one of the configuratio...
Lennart Poettering [Sat, 16 Apr 2011 01:42:18 +0000 (03:42 +0200)]
socket: guarantee order in which sockets are passed to be the one of the configuration file

9 years agosystemctl: always consider unit files with no [Install] section but stored in /lib...
Lennart Poettering [Sat, 16 Apr 2011 01:29:54 +0000 (03:29 +0200)]
systemctl: always consider unit files with no [Install] section but stored in /lib enabled

9 years agojob: also print status messages when we successfully started a unit
Lennart Poettering [Sat, 16 Apr 2011 01:07:38 +0000 (03:07 +0200)]
job: also print status messages when we successfully started a unit

9 years agohostnamed: add reference to SMBIOS specs
Lennart Poettering [Sat, 16 Apr 2011 00:43:02 +0000 (02:43 +0200)]
hostnamed: add reference to SMBIOS specs

9 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

9 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

9 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

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

9 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

9 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

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

9 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

9 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()

9 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()

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

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

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

9 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

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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

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

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

9 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

9 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.

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

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

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

9 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

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

9 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

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

9 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.

9 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

9 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