chiark / gitweb /
elogind.git
13 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

13 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

13 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

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

13 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

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

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

13 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

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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

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

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

13 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

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

13 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

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

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

13 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

13 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

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

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

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

13 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

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

13 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

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

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

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

13 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().

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

13 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

13 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

13 years agomove /var/lock to HAVE_SYSV_COMPAT
Kay Sievers [Sun, 3 Apr 2011 20:09:25 +0000 (22:09 +0200)]
move /var/lock to HAVE_SYSV_COMPAT

13 years agoupdate TODO
Kay Sievers [Sun, 3 Apr 2011 15:08:46 +0000 (17:08 +0200)]
update TODO

13 years agotmpfiles: split off rules for legacy systems into legacy.conf
Lennart Poettering [Fri, 1 Apr 2011 23:08:31 +0000 (01:08 +0200)]
tmpfiles: split off rules for legacy systems into legacy.conf

13 years agogeneral: replace a few uses of /var/run by /run
Lennart Poettering [Fri, 1 Apr 2011 13:25:46 +0000 (15:25 +0200)]
general: replace a few uses of /var/run by /run

13 years agobuild-sys: bump version v22
Lennart Poettering [Thu, 31 Mar 2011 23:35:27 +0000 (01:35 +0200)]
build-sys: bump version

13 years agotmpfiles: enforce new /var/lock semantics
Lennart Poettering [Thu, 31 Mar 2011 22:43:28 +0000 (00:43 +0200)]
tmpfiles: enforce new /var/lock semantics

http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html

13 years agoman: document ConditionPathIsDirectory=
Lennart Poettering [Thu, 31 Mar 2011 22:42:57 +0000 (00:42 +0200)]
man: document ConditionPathIsDirectory=

13 years agomount: also relabel pre-mounted API dirs
Lennart Poettering [Thu, 31 Mar 2011 19:40:10 +0000 (21:40 +0200)]
mount: also relabel pre-mounted API dirs

13 years agolog: fix shifting of facilities
Lennart Poettering [Thu, 31 Mar 2011 19:22:44 +0000 (21:22 +0200)]
log: fix shifting of facilities

13 years agolog: don't strip facility when writing to kmsg
Lennart Poettering [Thu, 31 Mar 2011 17:49:04 +0000 (19:49 +0200)]
log: don't strip facility when writing to kmsg

13 years agoman: uinput.ko is a bad example
Lennart Poettering [Thu, 31 Mar 2011 16:19:59 +0000 (18:19 +0200)]
man: uinput.ko is a bad example

13 years agobuild-sys: create a number of drop-in config dirs
Lennart Poettering [Thu, 31 Mar 2011 16:17:29 +0000 (18:17 +0200)]
build-sys: create a number of drop-in config dirs

13 years agosrc: our lord is coverity
Lennart Poettering [Thu, 31 Mar 2011 13:35:40 +0000 (15:35 +0200)]
src: our lord is coverity

13 years agorandom: do not print warning if random seed doesn't exist yet
Lennart Poettering [Thu, 31 Mar 2011 02:40:02 +0000 (04:40 +0200)]
random: do not print warning if random seed doesn't exist yet

13 years agoplymouth: use PID file to detect whether ply is running
Lennart Poettering [Thu, 31 Mar 2011 02:26:40 +0000 (04:26 +0200)]
plymouth: use PID file to detect whether ply is running

13 years agobuild-sys: install systemd-analyze by default
Lennart Poettering [Thu, 31 Mar 2011 01:25:30 +0000 (03:25 +0200)]
build-sys: install systemd-analyze by default

13 years agoanalyze: improve output
Lennart Poettering [Thu, 31 Mar 2011 01:17:13 +0000 (03:17 +0200)]
analyze: improve output

13 years agoupdate TODO
Kay Sievers [Thu, 31 Mar 2011 00:36:32 +0000 (02:36 +0200)]
update TODO

13 years agoanalyze: add plotter
Lennart Poettering [Wed, 30 Mar 2011 23:19:12 +0000 (01:19 +0200)]
analyze: add plotter

13 years agounit: when deserializing do reconnect to dbus/syslog when they show up
Lennart Poettering [Wed, 30 Mar 2011 18:16:07 +0000 (20:16 +0200)]
unit: when deserializing do reconnect to dbus/syslog when they show up

13 years agoanalyze: beautify output a bit
Lennart Poettering [Wed, 30 Mar 2011 18:15:45 +0000 (20:15 +0200)]
analyze: beautify output a bit

13 years agoanalyze: add systemd-analyze tool
Lennart Poettering [Wed, 30 Mar 2011 18:04:37 +0000 (20:04 +0200)]
analyze: add systemd-analyze tool

13 years agounit: don't override timestamps due to state changes when deserializing
Lennart Poettering [Wed, 30 Mar 2011 18:04:20 +0000 (20:04 +0200)]
unit: don't override timestamps due to state changes when deserializing

13 years agoplymouth: don't explicitly enable status message when plymouth is up v21
Lennart Poettering [Wed, 30 Mar 2011 01:03:35 +0000 (03:03 +0200)]
plymouth: don't explicitly enable status message when plymouth is up

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

systemd now watches /run/initramfs/plymouth and generates messages
exactly when that file exists. Hence we don't need the sending of the
signals anymore.

13 years agostatus: show status messages unconditionally if plymouth is around
Lennart Poettering [Wed, 30 Mar 2011 00:21:48 +0000 (02:21 +0200)]
status: show status messages unconditionally if plymouth is around

13 years agotaint: add missing cgroups taint flag
Lennart Poettering [Wed, 30 Mar 2011 00:12:46 +0000 (02:12 +0200)]
taint: add missing cgroups taint flag

13 years agolocale: don't access misinitialized variable
Lennart Poettering [Wed, 30 Mar 2011 00:09:15 +0000 (02:09 +0200)]
locale: don't access misinitialized variable

13 years agoquota: do not pull in quota tools for mounts that do not originate in neither /etc...
Lennart Poettering [Tue, 29 Mar 2011 23:53:34 +0000 (01:53 +0200)]
quota: do not pull in quota tools for mounts that do not originate in neither /etc/fstab nor fragment files

13 years agomanager: fix taint check for /usr
Lennart Poettering [Tue, 29 Mar 2011 22:47:50 +0000 (00:47 +0200)]
manager: fix taint check for /usr

13 years agounit: never apply /etc/rcN.d/ priority to native services
Lennart Poettering [Tue, 29 Mar 2011 22:43:16 +0000 (00:43 +0200)]
unit: never apply /etc/rcN.d/ priority to native services

13 years agounit: fix parsing of condition-result
Lennart Poettering [Tue, 29 Mar 2011 21:32:31 +0000 (23:32 +0200)]
unit: fix parsing of condition-result

13 years agounit: don't complain about failed units when deserializing
Lennart Poettering [Tue, 29 Mar 2011 21:32:10 +0000 (23:32 +0200)]
unit: don't complain about failed units when deserializing

13 years agoexec: drop process group kill mode since it has little use and confuses the user
Lennart Poettering [Tue, 29 Mar 2011 21:31:38 +0000 (23:31 +0200)]
exec: drop process group kill mode since it has little use and confuses the user

13 years agocgroup: explain when we cannot initialize the cgroup stuff
Lennart Poettering [Tue, 29 Mar 2011 18:29:02 +0000 (20:29 +0200)]
cgroup: explain when we cannot initialize the cgroup stuff

13 years agolocale: full fledged /etc/default/locale support for debian
Florian Kriener [Tue, 29 Mar 2011 16:31:38 +0000 (18:31 +0200)]
locale: full fledged /etc/default/locale support for debian

debian uses /etc/default/locale for all locale setup, this patch
adds full support for it to systemd.

13 years agosystemctl: don't truncate description when using pager
Lennart Poettering [Tue, 29 Mar 2011 16:32:46 +0000 (18:32 +0200)]
systemctl: don't truncate description when using pager

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

13 years agoask-password: also accept Backspace as first keypress as silent mode switch
Lennart Poettering [Tue, 29 Mar 2011 16:32:46 +0000 (18:32 +0200)]
ask-password: also accept Backspace as first keypress as silent mode switch

13 years agounit: when deserializing jobs, don't pull in dependencies
Lennart Poettering [Tue, 29 Mar 2011 11:11:13 +0000 (13:11 +0200)]
unit: when deserializing jobs, don't pull in dependencies

13 years agoman: really fix all LC_MESSAGE to LC_MESSAGES
Lennart Poettering [Tue, 29 Mar 2011 10:11:14 +0000 (12:11 +0200)]
man: really fix all LC_MESSAGE to LC_MESSAGES

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

13 years agobuild-sys: bump version
Lennart Poettering [Tue, 29 Mar 2011 00:20:05 +0000 (02:20 +0200)]
build-sys: bump version

13 years agoudev: tty - re-add accidentially removed hvc* match
Kay Sievers [Mon, 28 Mar 2011 23:41:50 +0000 (01:41 +0200)]
udev: tty - re-add accidentially removed hvc* match

13 years agolocale: fix LC_MESSAGES variable name
Lennart Poettering [Mon, 28 Mar 2011 23:38:06 +0000 (01:38 +0200)]
locale: fix LC_MESSAGES variable name

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

13 years agoplymouth: Remove the calls to plymouth message
William Jon McCann [Sun, 27 Mar 2011 04:18:16 +0000 (00:18 -0400)]
plymouth: Remove the calls to plymouth message

 * messages aren't translated
 * console text is ugly
 * they are jargonny
 * they really aren't needed

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

13 years agoudev: systemd-tag all ttys
Kay Sievers [Mon, 28 Mar 2011 23:19:39 +0000 (01:19 +0200)]
udev: systemd-tag all ttys

13 years agotmpfiles fix /run/lock permissions
Kay Sievers [Mon, 28 Mar 2011 22:15:14 +0000 (00:15 +0200)]
tmpfiles fix /run/lock permissions

<mbiebl> kay: just wondering: d /run/lock 0755 root lock -
<mbiebl> shouldn't that rather be 0775?
<mbiebl> otherwise it doesn't make sense

13 years agoman: fix references to systemd.unit= on the kernel cmdline
Lennart Poettering [Mon, 28 Mar 2011 21:39:18 +0000 (23:39 +0200)]
man: fix references to systemd.unit= on the kernel cmdline

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

13 years agoudev: expose some more tty's for various embedded hardware
Michael Olbrich [Mon, 21 Mar 2011 16:16:50 +0000 (17:16 +0100)]
udev: expose some more tty's for various embedded hardware

13 years agoask-password: use TAB instead of backspace to disable asterisk password echo
Lennart Poettering [Mon, 28 Mar 2011 21:27:04 +0000 (23:27 +0200)]
ask-password: use TAB instead of backspace to disable asterisk password echo

13 years agocrypto: to show stars or not to show them
Jan Engelhardt [Sun, 27 Mar 2011 21:52:11 +0000 (23:52 +0200)]
crypto: to show stars or not to show them

On Friday 2011-03-18 01:41, Lennart Poettering wrote:

>On Fri, 18.03.11 00:18, Jan Engelhardt (jengelh@medozas.de) wrote:
>
>> Meanwhile, I have two new suggestions.
>
>I have one too (or actually Kay came up with it), and I think you are
>going to like it:
>
>Start with showing input feedback as we currently do. If the user then
>presses TAB the stars disappear, and instead we show "(no echo)" or
>so. Then, the user can proceed with typing his password without
>asterisks.
>[...]

Incorporating Graham's suggestion to use BKSP instead:

The following changes since commit 65c9e467528daa438167853cc91d37bfcb875836:

  tainted: don't check if /usr is a mount point, only if it's not already mounted at startup (2011-03-24 22:32:21 +0100)

are available in the git repository at:
  git://dev.medozas.de/systemd master

Jan Engelhardt (1):
      ask-password: provide a way to activate a silent prompt

 src/ask-password-api.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

13 years agoconf-parser: fix remaining parser functions according to new prototype
Lennart Poettering [Mon, 28 Mar 2011 21:04:30 +0000 (23:04 +0200)]
conf-parser: fix remaining parser functions according to new prototype

13 years agoexecute: socket isn't abstract anymore
Lennart Poettering [Mon, 28 Mar 2011 21:04:07 +0000 (23:04 +0200)]
execute: socket isn't abstract anymore

13 years agouse /run instead of /dev/.run
Kay Sievers [Fri, 25 Mar 2011 04:07:20 +0000 (05:07 +0100)]
use /run instead of /dev/.run

Instead of the /dev/.run trick we have currently implemented, we decided
to move the early-boot runtime dir to /run.

An existing /var/run directory is bind-mounted to /run. If /var/run is
already a symlink, no action is taken.

An existing /var/lock directory is bind-mounted to /run/lock.
If /var/lock is already a symlink, no action is taken.

To implement the directory vs. symlink logic, we have a:
  ConditionPathIsDirectory=
now, which is used in the mount units.

Skipped mount unit in case of symlink:
  $ systemctl status var-run.mount
  var-run.mount - Runtime Directory
    Loaded: loaded (/lib/systemd/system/var-run.mount)
    Active: inactive (dead)
            start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago
     Where: /var/run
      What: /run
    CGroup: name=systemd:/system/var-run.mount

The systemd rpm needs to make sure to add something like:
  %pre
  mkdir -p -m0755 /run >/dev/null 2>&1 || :
or it needs to be added to filesystem.rpm.

Udev -git already uses /run if that exists, and is writable at bootup.
Otherwise it falls back to the current /dev/.udev.

Dracut and plymouth need to be adopted to switch from /dev/.run to run
too.

Cheers,
Kay

13 years agoutil: detect page size runtime.
cee1 [Fri, 18 Mar 2011 02:03:41 +0000 (10:03 +0800)]
util: detect page size runtime.

Some architectures support multiple machine types with diffenent
page sizes, and some machine types even support multiple
page sizes themselves.