chiark / gitweb /
elogind.git
10 years agoman: minor tmpfiles(5) updates and reindenting
Lennart Poettering [Wed, 10 Nov 2010 22:01:20 +0000 (23:01 +0100)]
man: minor tmpfiles(5) updates and reindenting

10 years agomain: rename process on startup to 'systemd' to avoid confusion
Lennart Poettering [Wed, 10 Nov 2010 21:35:05 +0000 (22:35 +0100)]
main: rename process on startup to 'systemd' to avoid confusion

10 years agounit: add ConditionNull= condition
Lennart Poettering [Wed, 10 Nov 2010 21:28:19 +0000 (22:28 +0100)]
unit: add ConditionNull= condition

10 years agoac-power: make ac-power a proper binary that scripts can call
Lennart Poettering [Mon, 8 Nov 2010 05:43:33 +0000 (00:43 -0500)]
ac-power: make ac-power a proper binary that scripts can call

10 years agomanager: parse RD_TIMESTAMP passed from initrd
Lennart Poettering [Mon, 8 Nov 2010 05:31:09 +0000 (00:31 -0500)]
manager: parse RD_TIMESTAMP passed from initrd

10 years agomodules-load: fix minor race
Lennart Poettering [Mon, 8 Nov 2010 04:03:42 +0000 (23:03 -0500)]
modules-load: fix minor race

10 years agolabel: use internal utility functions wher epossible
Lennart Poettering [Mon, 8 Nov 2010 04:03:19 +0000 (23:03 -0500)]
label: use internal utility functions wher epossible

10 years agocryptsetup: minimal cryptsetup unit generator
Lennart Poettering [Mon, 8 Nov 2010 04:02:45 +0000 (23:02 -0500)]
cryptsetup: minimal cryptsetup unit generator

10 years agoselinux: relabel /dev after loading policy
Lennart Poettering [Mon, 8 Nov 2010 03:59:39 +0000 (22:59 -0500)]
selinux: relabel /dev after loading policy

10 years agolog: downgrade syslog connection failure message since it might happen during normal...
Lennart Poettering [Mon, 8 Nov 2010 03:43:17 +0000 (22:43 -0500)]
log: downgrade syslog connection failure message since it might happen during normal operation

10 years agoservice: delay automatic restart if job is pending
Lennart Poettering [Mon, 1 Nov 2010 16:50:43 +0000 (17:50 +0100)]
service: delay automatic restart if job is pending

10 years agoupdate fixme
Lennart Poettering [Mon, 1 Nov 2010 16:27:28 +0000 (17:27 +0100)]
update fixme

10 years agomanager: when isolating undo all pending jobs, too
Lennart Poettering [Mon, 1 Nov 2010 15:16:15 +0000 (16:16 +0100)]
manager: when isolating undo all pending jobs, too

10 years agomanager: only minimize impact if we are in fail mode
Lennart Poettering [Mon, 1 Nov 2010 15:09:36 +0000 (16:09 +0100)]
manager: only minimize impact if we are in fail mode

10 years agoupdate TODO with mtab issue
Kay Sievers [Wed, 10 Nov 2010 18:37:06 +0000 (19:37 +0100)]
update TODO with mtab issue

10 years agoman/tmpfiles.d.xml: add a manpage for tmpfiles.d
Brandon Philips [Thu, 4 Nov 2010 20:31:07 +0000 (16:31 -0400)]
man/tmpfiles.d.xml: add a manpage for tmpfiles.d

Initial commit of a tmpfiles.d manpage.

I ran it through xmllint but I don't know how to make it look pretty
like the rest of the xml files. :-P

Signed-off-by: Brandon Philips <bphilips@suse.de>
10 years agodo not overwrite other udev tags
Andrey Borzenkov [Tue, 2 Nov 2010 16:45:43 +0000 (19:45 +0300)]
do not overwrite other udev tags

Systemd was unconditionally replacing all tags with own.
The net effect was udev-acl tag was lost and devices were
not given proper ACLs, making them inaccessible.

Before:

{pts/0}% udevadm info --query property --name sr0
DEVNAME=/dev/sr0
[...]
TAGS=:systemd:
{pts/0}% getfacl /dev/sr0
getfacl: Removing leading '/' from absolute path names
# file: dev/sr0
# owner: root
# group: cdrom
user::rw-
group::rw-
other::---

After:

{pts/0}% udevadm info --query property --name sr0
DEVNAME=/dev/sr0
[...]
TAGS=:udev-acl:systemd:
{pts/0}% getfacl /dev/sr0
getfacl: Removing leading '/' from absolute path names
# file: dev/sr0
# owner: root
# group: cdrom
user::rw-
user:bor:rw-
group::rw-
mask::rw-
other::---

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
10 years agoRevert "fsck: add new -l switch to fsck mount options"
Michael Biebl [Sun, 31 Oct 2010 22:29:27 +0000 (23:29 +0100)]
Revert "fsck: add new -l switch to fsck mount options"

The '-l' option is already taken by fsck.ext[234]:
  "-l bad_blocks_file   Add to badblocks list"

This reverts commit cf1a105550766d2251bc10240b6058a37babd600 but keeps
the string changes.

10 years agoreadahead: shortcut replay if /.readahead doesn't exist
Lennart Poettering [Sat, 30 Oct 2010 22:53:12 +0000 (00:53 +0200)]
readahead: shortcut replay if /.readahead doesn't exist

10 years agofedora: start plymouth after udev-settle, so that the graphics modules are loaded
Lennart Poettering [Sat, 30 Oct 2010 22:52:35 +0000 (00:52 +0200)]
fedora: start plymouth after udev-settle, so that the graphics modules are loaded

10 years agofsck: add new -l switch to fsck mount options
Lennart Poettering [Sat, 30 Oct 2010 22:39:36 +0000 (00:39 +0200)]
fsck: add new -l switch to fsck mount options

10 years agounits: add unit to call /bin/plymouth update-root-fs --read-write
Lennart Poettering [Sat, 30 Oct 2010 21:55:54 +0000 (23:55 +0200)]
units: add unit to call /bin/plymouth update-root-fs --read-write

10 years agofedora: /bin/plymouth --sysinit is not necessary on shut down
Lennart Poettering [Fri, 29 Oct 2010 15:07:01 +0000 (17:07 +0200)]
fedora: /bin/plymouth --sysinit is not necessary on shut down

10 years agofsck: return SUCCESS when we skip the check
Kay Sievers [Fri, 29 Oct 2010 19:05:00 +0000 (21:05 +0200)]
fsck: return SUCCESS when we skip the check

10 years agofsck: skip checking / if it is writable
Kay Sievers [Fri, 29 Oct 2010 17:54:02 +0000 (19:54 +0200)]
fsck: skip checking / if it is writable

10 years agofedora: invoke plymouth with its /bin instead of the /usr/bin/ path
Lennart Poettering [Fri, 29 Oct 2010 14:51:13 +0000 (16:51 +0200)]
fedora: invoke plymouth with its /bin instead of the /usr/bin/ path

10 years agounits: fix variable expansion
Lennart Poettering [Fri, 29 Oct 2010 14:27:58 +0000 (16:27 +0200)]
units: fix variable expansion

10 years agomount: don't pull in nofail mounts by default, but use them if they are around
Lennart Poettering [Fri, 29 Oct 2010 04:05:02 +0000 (06:05 +0200)]
mount: don't pull in nofail mounts by default, but use them if they are around

10 years agojob: recursively fail BoundBy dependencies
Lennart Poettering [Fri, 29 Oct 2010 04:04:42 +0000 (06:04 +0200)]
job: recursively fail BoundBy dependencies

10 years agofsck: fix target name to check for
Lennart Poettering [Fri, 29 Oct 2010 04:04:17 +0000 (06:04 +0200)]
fsck: fix target name to check for

10 years agounits: order units by default before appropriate targets in case they are pulled...
Lennart Poettering [Fri, 29 Oct 2010 04:04:03 +0000 (06:04 +0200)]
units: order units by default before appropriate targets in case they are pulled indirectly

10 years agofedora: enable system mounting/swapping by default
Lennart Poettering [Fri, 29 Oct 2010 04:03:04 +0000 (06:03 +0200)]
fedora: enable system mounting/swapping by default

10 years agounits: fix quota check description
Lennart Poettering [Fri, 29 Oct 2010 03:18:22 +0000 (05:18 +0200)]
units: fix quota check description

10 years agofedora plymouthd doesn't seem to like --attach-to-session here
Lennart Poettering [Fri, 29 Oct 2010 03:17:04 +0000 (05:17 +0200)]
fedora plymouthd doesn't seem to like --attach-to-session here

10 years agounits: no need to create rescue.target.wants anymore
Lennart Poettering [Fri, 29 Oct 2010 02:25:08 +0000 (04:25 +0200)]
units: no need to create rescue.target.wants anymore

10 years agounits: make fedora/single.service standard and rename it to rescue.service
Lennart Poettering [Fri, 29 Oct 2010 02:09:36 +0000 (04:09 +0200)]
units: make fedora/single.service standard and rename it to rescue.service

10 years agounits: introduce plymouth-start and plymouth-kexec, and move a few things back from...
Lennart Poettering [Fri, 29 Oct 2010 00:42:10 +0000 (02:42 +0200)]
units: introduce plymouth-start and plymouth-kexec, and move a few things back from basic to sysinit

10 years agofedora: get rid of sysinit.service
Lennart Poettering [Thu, 28 Oct 2010 23:40:46 +0000 (01:40 +0200)]
fedora: get rid of sysinit.service

10 years agoFedora: Link graphical-target.wants to the virtual display-manager.service, not the...
Bill Nottingham [Thu, 28 Oct 2010 17:27:49 +0000 (13:27 -0400)]
Fedora: Link graphical-target.wants to the virtual display-manager.service, not the specific prefdm.service.

10 years agoFedora: Make systemunitdir/graphical.target.wants on 'make install'.
Bill Nottingham [Thu, 28 Oct 2010 17:27:48 +0000 (13:27 -0400)]
Fedora: Make systemunitdir/graphical.target.wants on 'make install'.

10 years agoFedora: by default, run prefdm last to match prior behavior.
Bill Nottingham [Thu, 28 Oct 2010 17:27:46 +0000 (13:27 -0400)]
Fedora: by default, run prefdm last to match prior behavior.

10 years agoFedora: don't ship [Install] sections; these are enabled in the system configuration.
Bill Nottingham [Thu, 28 Oct 2010 17:27:45 +0000 (13:27 -0400)]
Fedora: don't ship [Install] sections; these are enabled in the system configuration.

10 years agoFedora: further unit tweaks
Bill Nottingham [Thu, 28 Oct 2010 17:27:44 +0000 (13:27 -0400)]
Fedora: further unit tweaks

1) Just ship rc-local as-is; don't worry about the 'local' name.
2) Don't install rc-local and prefdm to /etc ; just enable them globally for the system in /lib.

10 years agoFedora: Assorted tweaks to Fedora single-user mode.
Bill Nottingham [Thu, 28 Oct 2010 17:27:43 +0000 (13:27 -0400)]
Fedora: Assorted tweaks to Fedora single-user mode.

1) Start after basic.target, not the deprecated sysinit.target
2) Conflict with shutdown.

10 years agoFedora: Don't ship a init.d reboot symlink.
Bill Nottingham [Thu, 28 Oct 2010 17:27:42 +0000 (13:27 -0400)]
Fedora: Don't ship a init.d reboot symlink.

10 years agoupdate fixme
Lennart Poettering [Thu, 28 Oct 2010 23:22:20 +0000 (01:22 +0200)]
update fixme

10 years agounit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as weaker counte...
Lennart Poettering [Thu, 28 Oct 2010 23:15:18 +0000 (01:15 +0200)]
unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as weaker counterpart of Conflicts=, similar to Wants= vs. Requires=

10 years agogetty@.service: switch to agetty as the default
Kay Sievers [Fri, 29 Oct 2010 13:50:09 +0000 (15:50 +0200)]
getty@.service: switch to agetty as the default

10 years agounit: replace StopRetroactively= by BindTo= dependencies
Lennart Poettering [Thu, 28 Oct 2010 21:18:47 +0000 (23:18 +0200)]
unit: replace StopRetroactively= by BindTo= dependencies

The property StopRetroactively= needs to be per-dependency, not
per-unit, in order to properly express dependencies between .mount units
and its .device and fsck .service units. If the .device unit is
unplugged the mount should go away, but if the fsck process terminates
the .mount should stay.

10 years agoautomount: show who's triggering an automount
Lennart Poettering [Thu, 28 Oct 2010 20:20:01 +0000 (22:20 +0200)]
automount: show who's triggering an automount

10 years agounits: run sysctl only if /etc/sysctl.conf exists
Lennart Poettering [Thu, 28 Oct 2010 20:12:05 +0000 (22:12 +0200)]
units: run sysctl only if /etc/sysctl.conf exists

10 years agosystemctl: always show what and where for mount units in status output
Lennart Poettering [Thu, 28 Oct 2010 20:11:45 +0000 (22:11 +0200)]
systemctl: always show what and where for mount units in status output

10 years agoshutdown: reword a few messages a little
Lennart Poettering [Thu, 28 Oct 2010 20:11:26 +0000 (22:11 +0200)]
shutdown: reword a few messages a little

10 years agomanager: show which jobs are actually installed after a transaction
Lennart Poettering [Thu, 28 Oct 2010 02:05:09 +0000 (04:05 +0200)]
manager: show which jobs are actually installed after a transaction

10 years agotimer: when deserializing timer state stay elapsed when we are elapsed
Lennart Poettering [Thu, 28 Oct 2010 02:04:50 +0000 (04:04 +0200)]
timer: when deserializing timer state stay elapsed when we are elapsed

10 years agounit: replace recursive_stop by stop_retroactively to simplify things a little
Lennart Poettering [Thu, 28 Oct 2010 01:38:52 +0000 (03:38 +0200)]
unit: replace recursive_stop by stop_retroactively to simplify things a little

10 years agoservice: unify tstamp serialization code
Lennart Poettering [Thu, 28 Oct 2010 01:16:03 +0000 (03:16 +0200)]
service: unify tstamp serialization code

10 years agodevice: set recursive_stop=true by default
Lennart Poettering [Thu, 28 Oct 2010 01:15:44 +0000 (03:15 +0200)]
device: set recursive_stop=true by default

10 years agounit: suppress incorrect deserialization errors
Lennart Poettering [Thu, 28 Oct 2010 00:19:21 +0000 (02:19 +0200)]
unit: suppress incorrect deserialization errors

10 years agoswap: there's no reason not order swap after sysinit, so drop it
Lennart Poettering [Wed, 27 Oct 2010 23:30:13 +0000 (01:30 +0200)]
swap: there's no reason not order swap after sysinit, so drop it

10 years agosocket: fix IPv6 availability detection
Andrey Borzenkov [Wed, 27 Oct 2010 17:40:31 +0000 (21:40 +0400)]
socket: fix IPv6 availability detection

If IPv6 is loaded with disable=1, any IPv6 functionality is completely
disabled until the ipv6 module is reloaded. Do not assume IPv6 is available just
because the module is present. Fixes startup error:

Oct 27 20:58:02 cooker kernel: IPv6: Loaded, but administratively disabled, reboot required to enable
Oct 27 20:58:02 cooker kernel: systemd[1]: Set hostname to <cooker>.
Oct 27 20:58:02 cooker kernel: systemd[1]: Netlink failure for request 2: Operation not supported
Oct 27 20:58:02 cooker kernel: systemd[1]: Failed to configure loopback device: Operation not supported

10 years agoupdate fixme
Lennart Poettering [Wed, 27 Oct 2010 22:33:15 +0000 (00:33 +0200)]
update fixme

10 years agoTODO: /proc/swaps is poll()able now
Kay Sievers [Wed, 27 Oct 2010 09:37:22 +0000 (11:37 +0200)]
TODO: /proc/swaps is poll()able now

  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=66d7dd518ae413a383ab2c6c263cc30617329842

10 years agomounts: automatically create /dev/stderr and friends early on boot so that they are...
Lennart Poettering [Wed, 27 Oct 2010 03:47:48 +0000 (05:47 +0200)]
mounts: automatically create /dev/stderr and friends early on boot so that they are around when we run shell scripts before udevd

10 years agoselinux: automatically load policy if the initrd hasn't done this for us yet
Lennart Poettering [Wed, 27 Oct 2010 03:47:02 +0000 (05:47 +0200)]
selinux: automatically load policy if the initrd hasn't done this for us yet

10 years agomain: move make_null_stdio() to util.c
Lennart Poettering [Wed, 27 Oct 2010 03:45:57 +0000 (05:45 +0200)]
main: move make_null_stdio() to util.c

10 years agounits: run sysv related scripts with TERM=linux
Lennart Poettering [Wed, 27 Oct 2010 03:45:09 +0000 (05:45 +0200)]
units: run sysv related scripts with TERM=linux

10 years agoservice: when after startup only one process is in a service's cgroup, assume it...
Lennart Poettering [Wed, 27 Oct 2010 01:16:49 +0000 (03:16 +0200)]
service: when after startup only one process is in a service's cgroup, assume it is the main process

10 years agounit: serialize active timestamps
Lennart Poettering [Tue, 26 Oct 2010 22:01:12 +0000 (00:01 +0200)]
unit: serialize active timestamps

10 years agoman: be more explicit about the usefulness of --system
Lennart Poettering [Tue, 26 Oct 2010 21:22:55 +0000 (23:22 +0200)]
man: be more explicit about the usefulness of --system

10 years agoupdate fixme
Lennart Poettering [Tue, 26 Oct 2010 21:17:50 +0000 (23:17 +0200)]
update fixme

10 years agobuild-sys: fix 'make fedora'
Lennart Poettering [Tue, 26 Oct 2010 21:15:07 +0000 (23:15 +0200)]
build-sys: fix 'make fedora'

10 years agoswap: add only swaps listed in /etc/fstab automatically to swap.target, others should...
Lennart Poettering [Tue, 26 Oct 2010 20:58:54 +0000 (22:58 +0200)]
swap: add only swaps listed in /etc/fstab automatically to swap.target, others should be added via .wants/ links

10 years agoerrors: refer to systemctl status when useful
Lennart Poettering [Tue, 26 Oct 2010 20:40:02 +0000 (22:40 +0200)]
errors: refer to systemctl status when useful

10 years agoswap: add default cgroup to swap exec env
Lennart Poettering [Tue, 26 Oct 2010 20:06:11 +0000 (22:06 +0200)]
swap: add default cgroup to swap exec env

10 years agoswap: expose swap exec env proprties via dbus
Lennart Poettering [Tue, 26 Oct 2010 20:05:52 +0000 (22:05 +0200)]
swap: expose swap exec env proprties via dbus

10 years agoreadahead: bump a device's request_nr when enabling readahead
Lennart Poettering [Tue, 26 Oct 2010 19:28:39 +0000 (21:28 +0200)]
readahead: bump a device's request_nr when enabling readahead

10 years agoshutdown: properly handle sigtimedwait() timing out
Lennart Poettering [Tue, 26 Oct 2010 18:51:15 +0000 (20:51 +0200)]
shutdown: properly handle sigtimedwait() timing out

10 years agoexec: fix dbus exposure of UtmpIdentifier field
Lennart Poettering [Tue, 26 Oct 2010 18:45:43 +0000 (20:45 +0200)]
exec: fix dbus exposure of UtmpIdentifier field

10 years agomain: fix typo in kernel cmdline parameters help
Andrey Borzenkov [Tue, 26 Oct 2010 18:04:38 +0000 (22:04 +0400)]
main: fix typo in kernel cmdline parameters help

10 years agoservice: fix sysv-less build
Mike Kazantsev [Tue, 26 Oct 2010 13:18:13 +0000 (15:18 +0200)]
service: fix sysv-less build

10 years agoask-password-tty: properly handle SIGINT/SIGTERM
Lennart Poettering [Tue, 26 Oct 2010 13:15:00 +0000 (15:15 +0200)]
ask-password-tty: properly handle SIGINT/SIGTERM

10 years agosystemctl: automatically spawn temporary password agent when we might need one
Lennart Poettering [Tue, 26 Oct 2010 03:29:39 +0000 (05:29 +0200)]
systemctl: automatically spawn temporary password agent when we might need one

10 years agoask-password: properly handle multiple pending passwords when writing wall msg
Lennart Poettering [Tue, 26 Oct 2010 02:45:27 +0000 (04:45 +0200)]
ask-password: properly handle multiple pending passwords when writing wall msg

10 years agoask-password: enable plymouth agent by default
Lennart Poettering [Tue, 26 Oct 2010 02:40:32 +0000 (04:40 +0200)]
ask-password: enable plymouth agent by default

10 years agoask-password: add minimal plymouth password agent
Lennart Poettering [Tue, 26 Oct 2010 02:35:25 +0000 (04:35 +0200)]
ask-password: add minimal plymouth password agent

10 years agounits: now that we don't set TERM anymore by default, make sure to pass it to our...
Lennart Poettering [Tue, 26 Oct 2010 00:58:59 +0000 (02:58 +0200)]
units: now that we don't set TERM anymore by default, make sure to pass it to our rescue sessions

10 years agoservice: make sure to pass TERM=linux to all sysv scripts
Lennart Poettering [Tue, 26 Oct 2010 00:32:42 +0000 (02:32 +0200)]
service: make sure to pass TERM=linux to all sysv scripts

10 years agomain: don't unset HOME/TERM when run in session mode
Lennart Poettering [Tue, 26 Oct 2010 00:32:02 +0000 (02:32 +0200)]
main: don't unset HOME/TERM when run in session mode

10 years agoupdate fixme
Lennart Poettering [Mon, 25 Oct 2010 22:01:52 +0000 (00:01 +0200)]
update fixme

10 years agounits: Remove the distro specific references to killall.service.
Franz Dietrich [Wed, 20 Oct 2010 11:11:27 +0000 (13:11 +0200)]
units: Remove the distro specific references to killall.service.

Maybe debian and fedora still have the killall.service but usually it shouldn't be necessary anymore.

10 years agounits: Since killall.service does not exist anymore remove all references.
Franz Dietrich [Mon, 25 Oct 2010 21:54:36 +0000 (23:54 +0200)]
units: Since killall.service does not exist anymore remove all references.

This commit deletes all references to killall.service for the default
services.  The distribution specific services will be modified in a
separate commit.

10 years agoupdate fixme
Lennart Poettering [Mon, 25 Oct 2010 21:51:49 +0000 (23:51 +0200)]
update fixme

10 years agomount: add nosuid,nodev,noexec switches to /var/lock and /var/run
Lennart Poettering [Mon, 25 Oct 2010 21:28:42 +0000 (23:28 +0200)]
mount: add nosuid,nodev,noexec switches to /var/lock and /var/run

10 years agotmpfiles: Don't clean /var/lock/subsys; it is not aged content
Bill Nottingham [Mon, 25 Oct 2010 21:25:51 +0000 (23:25 +0200)]
tmpfiles: Don't clean /var/lock/subsys; it is not aged content

It will get 'cleaned' on boot due to being tmpfs anyway.

10 years agotmpfiles: Make wtmp match utmp perms, and add btmp.
Bill Nottingham [Fri, 22 Oct 2010 02:37:17 +0000 (22:37 -0400)]
tmpfiles: Make wtmp match utmp perms, and add btmp.

10 years agoarch: remove obsolete sysinit.service
Tom Gundersen [Wed, 20 Oct 2010 14:21:48 +0000 (16:21 +0200)]
arch: remove obsolete sysinit.service

This is now split into smaller units and shipped with the downstream package.

10 years agofsck: remove symlink from fsck.target to sysinit.target
Tom Gundersen [Mon, 25 Oct 2010 20:02:52 +0000 (22:02 +0200)]
fsck: remove symlink from fsck.target to sysinit.target

10 years agoumount: Make sure / is remounted ro on shutdown
Michael Biebl [Sun, 24 Oct 2010 16:40:44 +0000 (18:40 +0200)]
umount: Make sure / is remounted ro on shutdown

Increment n_failed in mount_points_list_umount() if we skip /.
Otherwise it can happen that mount_points_list_remount_read_only() is
not called in umount_all().

10 years agoutil: Add welcome message for Ubuntu
Andrew Edmunds [Mon, 25 Oct 2010 13:23:21 +0000 (23:23 +1000)]
util: Add welcome message for Ubuntu

The approved method for determining the installed release of
Ubuntu is to execute "lsb_release".  However, this is in /usr/bin and
is implemented in python so it is not safe to execute at this early
stage of booting.  This code parses /etc/lsb-release which is
where "lsb_release" looks for the information.