chiark / gitweb /
elogind.git
10 years agobuild-sys: allow cross-compilation
Thierry Reding [Tue, 23 Nov 2010 20:12:11 +0000 (21:12 +0100)]
build-sys: allow cross-compilation

When cross-compiling systemd, the introspection XML files fail to be
generated because the systemd host binary is not executable. This patch
works around this by putting the introspection XML data into separate
ELF sections and extracting them from the binary when generating the XML
files.

The extracted XML data is passed through the strings utility in order to
strip the trailing NUL character. A small AWK script is used to prepend
the doctype and add the opening and closing node tags respectively.
Finally, the C preprocessor is used to substitute the correct doctype
information from the D-Bus header files.

10 years agoupdate TODO
Lennart Poettering [Tue, 23 Nov 2010 18:42:35 +0000 (19:42 +0100)]
update TODO

10 years agounits: simplify shutdown scripts
Lennart Poettering [Tue, 23 Nov 2010 00:37:18 +0000 (01:37 +0100)]
units: simplify shutdown scripts

10 years agologger: fix error handling
Lennart Poettering [Tue, 23 Nov 2010 00:36:54 +0000 (01:36 +0100)]
logger: fix error handling

10 years agoswap: order file-based swap devices after remount-rootfs
Lennart Poettering [Mon, 22 Nov 2010 20:06:38 +0000 (21:06 +0100)]
swap: order file-based swap devices after remount-rootfs

10 years agomount_cgroup_controllers: expect 2 items from fscanf()
Kay Sievers [Mon, 22 Nov 2010 10:06:38 +0000 (11:06 +0100)]
mount_cgroup_controllers: expect 2 items from fscanf()

10 years agoman: make clear that VERSION and VERSION_ID is not mandatory in os-release.5
Lennart Poettering [Sun, 21 Nov 2010 23:26:08 +0000 (00:26 +0100)]
man: make clear that VERSION and VERSION_ID is not mandatory in os-release.5

10 years agosystemctl: don't return LSB status error codes for systemctl show
Lennart Poettering [Sun, 21 Nov 2010 21:40:03 +0000 (22:40 +0100)]
systemctl: don't return LSB status error codes for systemctl show

Use them only for systemctl status.

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

10 years agomount: do not try to mount disable cgroup controllers
Lennart Poettering [Sun, 21 Nov 2010 21:29:10 +0000 (22:29 +0100)]
mount: do not try to mount disable cgroup controllers

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

10 years agosystemctl: redirect enable/disable to chkconfig if applicable
Lennart Poettering [Sun, 21 Nov 2010 21:17:04 +0000 (22:17 +0100)]
systemctl: redirect enable/disable to chkconfig if applicable

10 years agoman: document /etc/modules-load.d/
Lennart Poettering [Sun, 21 Nov 2010 19:41:00 +0000 (20:41 +0100)]
man: document /etc/modules-load.d/

10 years agoman: document /etc/os-release
Lennart Poettering [Sun, 21 Nov 2010 19:05:51 +0000 (20:05 +0100)]
man: document /etc/os-release

10 years agoman: document locale.conf
Lennart Poettering [Sun, 21 Nov 2010 18:29:27 +0000 (19:29 +0100)]
man: document locale.conf

10 years agoman: document /etc/vconsole.conf
Lennart Poettering [Sun, 21 Nov 2010 18:12:44 +0000 (19:12 +0100)]
man: document /etc/vconsole.conf

10 years agoman: document /etc/hostname
Lennart Poettering [Sun, 21 Nov 2010 15:29:56 +0000 (16:29 +0100)]
man: document /etc/hostname

10 years agounits: move a couple of units from base.target to sysinit.target
Lennart Poettering [Fri, 19 Nov 2010 15:24:21 +0000 (16:24 +0100)]
units: move a couple of units from base.target to sysinit.target

10 years agoman: reorder things to follow the same order everywhere
Lennart Poettering [Fri, 19 Nov 2010 15:14:52 +0000 (16:14 +0100)]
man: reorder things to follow the same order everywhere

10 years agoRevert "Revert "fsck: add new -l switch to fsck mount options""
Lennart Poettering [Fri, 19 Nov 2010 03:22:36 +0000 (04:22 +0100)]
Revert "Revert "fsck: add new -l switch to fsck mount options""

This reverts commit c8bc83f5eac49f083ae53d965577118c1b5c1116.

As Karel pointed out the -l switch doesn't actualy conflict with
per-filesystem options, since those can be seperated by -- in the
command line. Since -l is here to stay we hence enable it again for now.

10 years agobuild-sys: bump for v13 v13
Lennart Poettering [Thu, 18 Nov 2010 22:56:34 +0000 (23:56 +0100)]
build-sys: bump for v13

10 years agocryptsetup: actually show disk name
Lennart Poettering [Thu, 18 Nov 2010 22:40:27 +0000 (23:40 +0100)]
cryptsetup: actually show disk name

10 years agocryptsetup: show udev device name when asking for password
Lennart Poettering [Thu, 18 Nov 2010 22:34:42 +0000 (23:34 +0100)]
cryptsetup: show udev device name when asking for password

10 years agosysctl: don't consider missing kernel options fatal
Lennart Poettering [Thu, 18 Nov 2010 22:03:42 +0000 (23:03 +0100)]
sysctl: don't consider missing kernel options fatal

10 years agosysctl: implement native sysctl tool to support Debian-style /etc/sysctl.d
Lennart Poettering [Thu, 18 Nov 2010 20:52:26 +0000 (21:52 +0100)]
sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.d

10 years agomount: trivial optimization
Lennart Poettering [Thu, 18 Nov 2010 18:23:17 +0000 (19:23 +0100)]
mount: trivial optimization

10 years agounits: enable console ask-password agent by default
Lennart Poettering [Thu, 18 Nov 2010 04:22:25 +0000 (05:22 +0100)]
units: enable console ask-password agent by default

10 years agoutil: introduce /etc/os-release so that distros don't need to patch systemd to get...
Lennart Poettering [Thu, 18 Nov 2010 03:46:28 +0000 (04:46 +0100)]
util: introduce /etc/os-release so that distros don't need to patch systemd to get a welcome message

10 years agoupdate TODO
Lennart Poettering [Thu, 18 Nov 2010 03:00:38 +0000 (04:00 +0100)]
update TODO

10 years agojob: make sure we don't fail umount.target if a mount unit failed to stop
Lennart Poettering [Thu, 18 Nov 2010 02:52:39 +0000 (03:52 +0100)]
job: make sure we don't fail umount.target if a mount unit failed to stop

10 years agounits: make sure prefdm is killed first, user sessions second on shutdown
Lennart Poettering [Thu, 18 Nov 2010 01:45:04 +0000 (02:45 +0100)]
units: make sure prefdm is killed first, user sessions second on shutdown

10 years agocgroup: after killing cgroup processes, ensure the group is really dead gone. wait...
Lennart Poettering [Thu, 18 Nov 2010 01:37:35 +0000 (02:37 +0100)]
cgroup: after killing cgroup processes, ensure the group is really dead gone. wait for 3s at max

10 years agocgroup: if we couldn't remove a cgroup after killing evertyhing in it then it's fine
Lennart Poettering [Thu, 18 Nov 2010 01:36:51 +0000 (02:36 +0100)]
cgroup: if we couldn't remove a cgroup after killing evertyhing in it then it's fine

10 years agocryptsetup: automatically order crypt partitions before cryptsetup.target
Lennart Poettering [Thu, 18 Nov 2010 01:16:36 +0000 (02:16 +0100)]
cryptsetup: automatically order crypt partitions before cryptsetup.target

10 years agoman: trivial BindTo description fix
Andrey Borzenkov [Wed, 17 Nov 2010 17:38:29 +0000 (20:38 +0300)]
man: trivial BindTo description fix

I guess "unexpected" implies "without involvement".

10 years agomanager: make list of default controllers configurable
Lennart Poettering [Wed, 17 Nov 2010 23:42:35 +0000 (00:42 +0100)]
manager: make list of default controllers configurable

10 years agobuild: expose libcryptsetup dependency in build string
Lennart Poettering [Wed, 17 Nov 2010 23:39:09 +0000 (00:39 +0100)]
build: expose libcryptsetup dependency in build string

10 years agopam: document controllers= switch
Lennart Poettering [Wed, 17 Nov 2010 23:38:41 +0000 (00:38 +0100)]
pam: document controllers= switch

10 years agocgroup: by default, duplicate service cgroup in the cpu hierarchy
Lennart Poettering [Wed, 17 Nov 2010 20:27:53 +0000 (21:27 +0100)]
cgroup: by default, duplicate service cgroup in the cpu hierarchy

10 years agopam: duplicate cgroup tree in the cpu hierarchy by default, optionally more
Lennart Poettering [Wed, 17 Nov 2010 19:22:07 +0000 (20:22 +0100)]
pam: duplicate cgroup tree in the cpu hierarchy by default, optionally more

10 years agoupdate TODO
Kay Sievers [Wed, 17 Nov 2010 12:21:13 +0000 (13:21 +0100)]
update TODO

10 years agoRevert "update TODO"
Kay Sievers [Wed, 17 Nov 2010 12:19:10 +0000 (13:19 +0100)]
Revert "update TODO"

This reverts commit afe635e71838c9e62e25a928cbcefc343744dda5.

Oops, libnotify should not have been in here.

10 years agoupdate TODO
Kay Sievers [Wed, 17 Nov 2010 10:58:42 +0000 (11:58 +0100)]
update TODO

10 years agobuild-sys: prep release 12 v12
Lennart Poettering [Tue, 16 Nov 2010 23:41:14 +0000 (00:41 +0100)]
build-sys: prep release 12

10 years agoupdate TODO
Lennart Poettering [Tue, 16 Nov 2010 23:40:26 +0000 (00:40 +0100)]
update TODO

10 years agoask-password: add --console mode to ask questions on /dev/console
Lennart Poettering [Tue, 16 Nov 2010 03:28:04 +0000 (04:28 +0100)]
ask-password: add --console mode to ask questions on /dev/console

10 years agocryptsetup: reword questions a little
Lennart Poettering [Tue, 16 Nov 2010 02:47:14 +0000 (03:47 +0100)]
cryptsetup: reword questions a little

10 years agounits: order hwclock after readahead
Lennart Poettering [Tue, 16 Nov 2010 02:32:54 +0000 (03:32 +0100)]
units: order hwclock after readahead

10 years agopath: don't mention too many inotify msgs
Lennart Poettering [Tue, 16 Nov 2010 02:27:00 +0000 (03:27 +0100)]
path: don't mention too many inotify msgs

10 years agocryptsetup: include device name in password question
Lennart Poettering [Tue, 16 Nov 2010 02:24:17 +0000 (03:24 +0100)]
cryptsetup: include device name in password question

10 years agocryptsetup: lock ourselves into memory as long as we deal with passwords
Lennart Poettering [Tue, 16 Nov 2010 02:23:52 +0000 (03:23 +0100)]
cryptsetup: lock ourselves into memory as long as we deal with passwords

10 years agoplymouth: use updated socket name
Lennart Poettering [Tue, 16 Nov 2010 02:12:54 +0000 (03:12 +0100)]
plymouth: use updated socket name

10 years agounits: set TERM for gettys again, since they acquire a TTY on their own
Lennart Poettering [Tue, 16 Nov 2010 00:54:07 +0000 (01:54 +0100)]
units: set TERM for gettys again, since they acquire a TTY on their own

10 years agounits: allow start-up of plymouth ask-password agent very early
Lennart Poettering [Tue, 16 Nov 2010 00:51:57 +0000 (01:51 +0100)]
units: allow start-up of plymouth ask-password agent very early

10 years agounits: enable ask-paswword .path units early enough to be useful for early mounts
Lennart Poettering [Tue, 16 Nov 2010 00:25:48 +0000 (01:25 +0100)]
units: enable ask-paswword .path units early enough to be useful for early mounts

10 years agounits: delay getty until logins are allowed
Lennart Poettering [Tue, 16 Nov 2010 00:25:19 +0000 (01:25 +0100)]
units: delay getty until logins are allowed

10 years agopam: always rely on loginuid instead of uid to determine cgroup and XDG_RUNTIME_DIR
Lennart Poettering [Mon, 15 Nov 2010 23:10:57 +0000 (00:10 +0100)]
pam: always rely on loginuid instead of uid to determine cgroup and XDG_RUNTIME_DIR

10 years agocgroup: call root cgroup system instead of systemd-1
Lennart Poettering [Mon, 15 Nov 2010 22:55:53 +0000 (23:55 +0100)]
cgroup: call root cgroup system instead of systemd-1

10 years agoexec: automatically determine right TERM= setting based on tty name
Lennart Poettering [Mon, 15 Nov 2010 22:49:02 +0000 (23:49 +0100)]
exec: automatically determine right TERM= setting based on tty name

10 years agopam: rename master user cgroup to 'master'
Lennart Poettering [Mon, 15 Nov 2010 22:22:05 +0000 (23:22 +0100)]
pam: rename master user cgroup to 'master'

10 years agodrop support for MANAGER_SESSION, introduce MANAGER_USER instead
Lennart Poettering [Mon, 15 Nov 2010 21:12:41 +0000 (22:12 +0100)]
drop support for MANAGER_SESSION, introduce MANAGER_USER instead

10 years agopath: properly free PathSpec structs
Lennart Poettering [Mon, 15 Nov 2010 20:30:52 +0000 (21:30 +0100)]
path: properly free PathSpec structs

10 years agomanager: ignore invalid epoll events
Lennart Poettering [Mon, 15 Nov 2010 20:09:18 +0000 (21:09 +0100)]
manager: ignore invalid epoll events

10 years agounits: use ConditionDirectoryNotEmpty= where applicable
Lennart Poettering [Mon, 15 Nov 2010 19:10:04 +0000 (20:10 +0100)]
units: use ConditionDirectoryNotEmpty= where applicable

10 years agounit: introduce ConditionDirectoryNotEmpty=
Lennart Poettering [Mon, 15 Nov 2010 19:06:49 +0000 (20:06 +0100)]
unit: introduce ConditionDirectoryNotEmpty=

10 years agobuild-sys: fix building against libnotify 0.7
Matthias Clasen [Mon, 15 Nov 2010 18:54:57 +0000 (19:54 +0100)]
build-sys: fix building against libnotify 0.7

Here are two patches I needed to get systemd to build against the
current libnotify and vala releases.

10 years agodelete tmp.mount which may conflict with an unrelated fstab entry
Kay Sievers [Mon, 15 Nov 2010 18:47:25 +0000 (19:47 +0100)]
delete tmp.mount which may conflict with an unrelated fstab entry

10 years agobuild-sys: make check for libnotify explicit
Lennart Poettering [Mon, 15 Nov 2010 17:42:34 +0000 (18:42 +0100)]
build-sys: make check for libnotify explicit

10 years agobuild-sys: dbus-glib is just required by gtk's systemadm
Gustavo Sverzut Barbieri [Sun, 14 Nov 2010 10:04:16 +0000 (08:04 -0200)]
build-sys: dbus-glib is just required by gtk's systemadm

do not fail if there is no dbus-glib and we're not building the gtk
frontend.

10 years agounits: get rid of no_requires unit flag, and make crypto disks require cryptsetup...
Lennart Poettering [Mon, 15 Nov 2010 17:26:37 +0000 (18:26 +0100)]
units: get rid of no_requires unit flag, and make crypto disks require cryptsetup service

10 years agoload-dropin: add support for .requires directories
Lennart Poettering [Mon, 15 Nov 2010 03:24:04 +0000 (04:24 +0100)]
load-dropin: add support for .requires directories

10 years agocryptsetup: bind cryptsetup service to both source and destination device
Lennart Poettering [Mon, 15 Nov 2010 03:11:42 +0000 (04:11 +0100)]
cryptsetup: bind cryptsetup service to both source and destination device

10 years agomanager: consider jobs already installed as redundant when reducing new transactions
Lennart Poettering [Mon, 15 Nov 2010 02:44:11 +0000 (03:44 +0100)]
manager: consider jobs already installed as redundant when reducing new transactions

10 years agopath: avoid immediate restarting of units triggered by paths if nothing actually...
Lennart Poettering [Sun, 14 Nov 2010 23:49:21 +0000 (00:49 +0100)]
path: avoid immediate restarting of units triggered by paths if nothing actually changed on disk

10 years agopath: always look for IN_ATTRIB since deletion is signalled that way
Lennart Poettering [Sun, 14 Nov 2010 23:47:29 +0000 (00:47 +0100)]
path: always look for IN_ATTRIB since deletion is signalled that way

10 years agomanager: always pull 'following' units into transaction
Lennart Poettering [Sun, 14 Nov 2010 22:47:53 +0000 (23:47 +0100)]
manager: always pull 'following' units into transaction

10 years agoutil: always highlight distro name
Lennart Poettering [Sun, 14 Nov 2010 22:27:27 +0000 (23:27 +0100)]
util: always highlight distro name

10 years agounits: make use of agetty mandatory
Lennart Poettering [Sun, 14 Nov 2010 22:26:53 +0000 (23:26 +0100)]
units: make use of agetty mandatory

10 years agomanager: don't fail transaction if adding CONFLICTED_BY job fails
Lennart Poettering [Sun, 14 Nov 2010 21:09:57 +0000 (22:09 +0100)]
manager: don't fail transaction if adding CONFLICTED_BY job fails

10 years agopam: rename 'no-session' to 'user' cgroup
Lennart Poettering [Sun, 14 Nov 2010 20:59:25 +0000 (21:59 +0100)]
pam: rename 'no-session' to 'user' cgroup

10 years agojob: make it possible to wait for devices to be unplugged
Lennart Poettering [Sun, 14 Nov 2010 20:57:10 +0000 (21:57 +0100)]
job: make it possible to wait for devices to be unplugged

10 years agoRemove umount*.service files for Debian
Michael Biebl [Sun, 14 Nov 2010 21:14:39 +0000 (22:14 +0100)]
Remove umount*.service files for Debian

With the introduction of native shutdown/reboot, the killall.service was
removed (as this functionality was moved into systemd-shutdown).
Without killall.service though, the umount*.service files no longer work
correctly.
Wit native mount support those files are also no longer necessary, so
remove them.

10 years agotmpfiles: ignore files marked with the sticky bit
Lennart Poettering [Sun, 14 Nov 2010 19:12:51 +0000 (20:12 +0100)]
tmpfiles: ignore files marked with the sticky bit

10 years agoload-fragment: properly do comparison of words
Lennart Poettering [Sun, 14 Nov 2010 18:58:33 +0000 (19:58 +0100)]
load-fragment: properly do comparison of words

10 years agoudev: ignore temporary udev devices
Lennart Poettering [Sun, 14 Nov 2010 18:24:41 +0000 (19:24 +0100)]
udev: ignore temporary udev devices

10 years agocryptsetup: handle password=none properly
Lennart Poettering [Sun, 14 Nov 2010 01:08:31 +0000 (02:08 +0100)]
cryptsetup: handle password=none properly

10 years agocryptsetup: properly parse cipher= switch
Lennart Poettering [Sun, 14 Nov 2010 01:01:29 +0000 (02:01 +0100)]
cryptsetup: properly parse cipher= switch

10 years agocryptsetup: support non-LUKS crypto partitions
Lennart Poettering [Sun, 14 Nov 2010 00:53:46 +0000 (01:53 +0100)]
cryptsetup: support non-LUKS crypto partitions

10 years agoupdate TODO
Kay Sievers [Fri, 12 Nov 2010 18:04:07 +0000 (19:04 +0100)]
update TODO

10 years agoupdate fixme
Lennart Poettering [Fri, 12 Nov 2010 02:56:43 +0000 (03:56 +0100)]
update fixme

10 years agoask-password: leave printing of final prompt colon to message
Lennart Poettering [Fri, 12 Nov 2010 02:42:13 +0000 (03:42 +0100)]
ask-password: leave printing of final prompt colon to message

10 years agoask-password: don't show wall message on ttys we are already running a tty agent on
Lennart Poettering [Fri, 12 Nov 2010 02:33:08 +0000 (03:33 +0100)]
ask-password: don't show wall message on ttys we are already running a tty agent on

10 years agoask-password: refer to right binary name in wall message
Lennart Poettering [Fri, 12 Nov 2010 02:05:20 +0000 (03:05 +0100)]
ask-password: refer to right binary name in wall message

10 years agoask-password: ignore unknown query file fields
Lennart Poettering [Fri, 12 Nov 2010 02:05:03 +0000 (03:05 +0100)]
ask-password: ignore unknown query file fields

10 years agoask-password: properly NULL terminate table
Lennart Poettering [Fri, 12 Nov 2010 02:04:47 +0000 (03:04 +0100)]
ask-password: properly NULL terminate table

10 years agomanager: be a bit more verbose if we receive unknown epoll event
Lennart Poettering [Fri, 12 Nov 2010 02:04:29 +0000 (03:04 +0100)]
manager: be a bit more verbose if we receive unknown epoll event

10 years agocryptsetup: automatically start cryptsetup when looking for mount source
Lennart Poettering [Fri, 12 Nov 2010 02:04:10 +0000 (03:04 +0100)]
cryptsetup: automatically start cryptsetup when looking for mount source

10 years agolog: fix build
Lennart Poettering [Fri, 12 Nov 2010 00:02:03 +0000 (01:02 +0100)]
log: fix build

10 years agolog: add automatic log target
Lennart Poettering [Fri, 12 Nov 2010 00:01:04 +0000 (01:01 +0100)]
log: add automatic log target

10 years agocryptsetup: hook up tool with ask-password
Lennart Poettering [Thu, 11 Nov 2010 23:39:17 +0000 (00:39 +0100)]
cryptsetup: hook up tool with ask-password

10 years agomanager: hookup generators
Lennart Poettering [Thu, 11 Nov 2010 20:28:33 +0000 (21:28 +0100)]
manager: hookup generators

10 years agobuild-sys: fix usage of path macros
Lennart Poettering [Thu, 11 Nov 2010 02:04:45 +0000 (03:04 +0100)]
build-sys: fix usage of path macros