chiark / gitweb /
elogind.git
9 years agovconsole: don't set console font/keymap if settings are empty
Lennart Poettering [Wed, 20 Apr 2011 02:30:08 +0000 (04:30 +0200)]
vconsole: don't set console font/keymap if settings are empty

https://bugs.freedesktop.org/show_bug.cgi?id=36052

If KEYMAP= is set to the empty string in /etc/vconsole leave the kernel
keymap loaded.

Similar for FONT=.

9 years agonspawn: don't fail when we receive SIGCHLD
Lennart Poettering [Wed, 20 Apr 2011 02:12:15 +0000 (04:12 +0200)]
nspawn: don't fail when we receive SIGCHLD

https://bugs.freedesktop.org/show_bug.cgi?id=36148

9 years agocgroup: don't accidentaly trim on reload
Lennart Poettering [Wed, 20 Apr 2011 01:53:12 +0000 (03:53 +0200)]
cgroup: don't accidentaly trim on reload

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

9 years agounits: set capability bounding set for syslog services
Lennart Poettering [Wed, 20 Apr 2011 01:34:58 +0000 (03:34 +0200)]
units: set capability bounding set for syslog services

9 years agosocket: log more information about invalid poll events
Lennart Poettering [Tue, 19 Apr 2011 23:48:45 +0000 (01:48 +0200)]
socket: log more information about invalid poll events

9 years agoMeeGo support
Chris E Ferron [Tue, 19 Apr 2011 19:37:51 +0000 (12:37 -0700)]
MeeGo support

This commit consists of the initial work to include MeeGo as a ported
distribution for systemd.

The majority of the changes are small configuration additions to auto
tools, so that MeeGo is identified as a valid distribution option.

Some small deviations will be noticed between the configuration of MeeGo
and other distributions. As MeeGo is a distribution striving for
compliancy to support its near embedded attributes and target users,
there is less user configuration options available by default. Most
services will be enabled by systemd as part of the distribution
requirements, and as such most links and service files will be pre-setup
for the MeeGo distribution. As much of this is going to be done within
the MeeGo distribution packaging this is still noteworthy to mention, as
it explains why in systemd you will observe configuration differences
where the MeeGo distribution removes all links in the pkgsysconfdir for
instance.  MeeGo will be user configurable if there is desire, but most
services will be enabled by the distribution as designated by the MeeGo
compliancy standards.

Other changes are in source to add such areas as meego-release defined
in utils, and hostname in hostname-setup, defining vconsole-setup,
localizations and rescue additions as needed.

As this is all ground work, MeeGo will continue to strive for complete
compatibility.

9 years agoman: fix specification of default timeouts
Lennart Poettering [Tue, 19 Apr 2011 22:51:23 +0000 (00:51 +0200)]
man: fix specification of default timeouts

9 years agomount,crypto: rework meaning of noauto/nofail
Lennart Poettering [Tue, 19 Apr 2011 22:45:22 +0000 (00:45 +0200)]
mount,crypto: rework meaning of noauto/nofail

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