chiark / gitweb /
elogind.git
13 years agoinstall: implement systemd-install realize
Lennart Poettering [Tue, 13 Jul 2010 18:05:47 +0000 (20:05 +0200)]
install: implement systemd-install realize

13 years agounit: disable retroactive starting/stopping of units when deserializing
Lennart Poettering [Tue, 13 Jul 2010 17:01:20 +0000 (19:01 +0200)]
unit: disable retroactive starting/stopping of units when deserializing

13 years agocgroup: treat non-existing cgroups like empty ones, to deal with races
Lennart Poettering [Tue, 13 Jul 2010 17:00:01 +0000 (19:00 +0200)]
cgroup: treat non-existing cgroups like empty ones, to deal with races

13 years agomain: replace --running-as= by --session and --system do mimic related tools and...
Lennart Poettering [Tue, 13 Jul 2010 16:57:58 +0000 (18:57 +0200)]
main: replace --running-as= by --session and --system do mimic related tools and D-Bus

13 years agounits: add missing target files
Lennart Poettering [Tue, 13 Jul 2010 02:05:31 +0000 (04:05 +0200)]
units: add missing target files

13 years agoudev: use prettier subsystem paths for bluetooth devices, too
Lennart Poettering [Tue, 13 Jul 2010 00:40:24 +0000 (02:40 +0200)]
udev: use prettier subsystem paths for bluetooth devices, too

13 years agoudev: ignore dynamic ram/loop block devices
Lennart Poettering [Tue, 13 Jul 2010 00:40:08 +0000 (02:40 +0200)]
udev: ignore dynamic ram/loop block devices

13 years agoupdate fixme
Lennart Poettering [Tue, 13 Jul 2010 00:28:12 +0000 (02:28 +0200)]
update fixme

13 years agounits: fix minor typo
Lennart Poettering [Tue, 13 Jul 2010 00:26:09 +0000 (02:26 +0200)]
units: fix minor typo

13 years agounits: make maximum unit name longer, since DM names manager to hit the limit
Lennart Poettering [Tue, 13 Jul 2010 00:18:13 +0000 (02:18 +0200)]
units: make maximum unit name longer, since DM names manager to hit the limit

13 years agounit: retroactively start dependencies for job-less units too
Lennart Poettering [Tue, 13 Jul 2010 00:17:53 +0000 (02:17 +0200)]
unit: retroactively start dependencies for job-less units too

13 years agodevice: properly create dependencies
Lennart Poettering [Tue, 13 Jul 2010 00:17:26 +0000 (02:17 +0200)]
device: properly create dependencies

13 years agounits: dm is an awful piece of work
Lennart Poettering [Tue, 13 Jul 2010 00:17:06 +0000 (02:17 +0200)]
units: dm is an awful piece of work

13 years agounits: introduce bluetooth.target/printer.target which are activated if the right...
Lennart Poettering [Tue, 13 Jul 2010 00:16:44 +0000 (02:16 +0200)]
units: introduce bluetooth.target/printer.target which are activated if the right hardware is plugged in

13 years agosocket: when going down, flush all queued sockets
Lennart Poettering [Mon, 12 Jul 2010 22:51:48 +0000 (00:51 +0200)]
socket: when going down, flush all queued sockets

13 years agounits: fix ordering problem
Lennart Poettering [Mon, 12 Jul 2010 22:36:57 +0000 (00:36 +0200)]
units: fix ordering problem

13 years agosocket: when the socket is supposed to stop, don't accept any connections anymore
Lennart Poettering [Mon, 12 Jul 2010 22:27:27 +0000 (00:27 +0200)]
socket: when the socket is supposed to stop, don't accept any connections anymore

13 years agounits: rely only on isolate to remove running services when entering rescue/emergency...
Lennart Poettering [Mon, 12 Jul 2010 22:19:17 +0000 (00:19 +0200)]
units: rely only on isolate to remove running services when entering rescue/emergency modes

13 years agounits: add missing units
Lennart Poettering [Mon, 12 Jul 2010 22:04:14 +0000 (00:04 +0200)]
units: add missing units

13 years agounits: introduce emergency.target
Lennart Poettering [Mon, 12 Jul 2010 21:49:20 +0000 (23:49 +0200)]
units: introduce emergency.target

13 years agomount: add automatic start ordering dependencies for mounts
Lennart Poettering [Mon, 12 Jul 2010 20:55:27 +0000 (22:55 +0200)]
mount: add automatic start ordering dependencies for mounts

13 years agoexecute: inherit from original input, not the fixed up
Lennart Poettering [Mon, 12 Jul 2010 20:04:59 +0000 (22:04 +0200)]
execute: inherit from original input, not the fixed up

13 years agoservice: allow input from terminal when executing more than one start-pre or stop...
Lennart Poettering [Mon, 12 Jul 2010 19:56:51 +0000 (21:56 +0200)]
service: allow input from terminal when executing more than one start-pre or stop-post command

13 years agoexecute: reword comment
Lennart Poettering [Mon, 12 Jul 2010 19:53:36 +0000 (21:53 +0200)]
execute: reword comment

13 years agoutil: reset terminal even harder
Lennart Poettering [Mon, 12 Jul 2010 19:40:43 +0000 (21:40 +0200)]
util: reset terminal even harder

13 years agoutil: fix error handling in acquire_terminal()
Lennart Poettering [Mon, 12 Jul 2010 18:35:14 +0000 (20:35 +0200)]
util: fix error handling in acquire_terminal()

13 years agoexecute: close inherited fds earlier
Lennart Poettering [Mon, 12 Jul 2010 18:34:53 +0000 (20:34 +0200)]
execute: close inherited fds earlier

13 years agoupdate fixme
Lennart Poettering [Mon, 12 Jul 2010 17:41:51 +0000 (19:41 +0200)]
update fixme

13 years agopam: remove leftover libcgroup inclusion
Lennart Poettering [Mon, 12 Jul 2010 16:43:21 +0000 (18:43 +0200)]
pam: remove leftover libcgroup inclusion

13 years agocgroup: reimplement the last bit of libcgroup functionality natively
Lennart Poettering [Mon, 12 Jul 2010 16:16:44 +0000 (18:16 +0200)]
cgroup: reimplement the last bit of libcgroup functionality natively

13 years agocgroup: implement cg_get_path natively
Lennart Poettering [Mon, 12 Jul 2010 01:15:20 +0000 (03:15 +0200)]
cgroup: implement cg_get_path natively

13 years agounit: introduce IgnoreDependencyFailure=
Lennart Poettering [Mon, 12 Jul 2010 00:56:17 +0000 (02:56 +0200)]
unit: introduce IgnoreDependencyFailure=

13 years agoservice: trim cgroups if services that are "active" but "exited"
Lennart Poettering [Mon, 12 Jul 2010 00:31:40 +0000 (02:31 +0200)]
service: trim cgroups if services that are "active" but "exited"

13 years agoexecute: optionally ignore return status of invoked commands
Lennart Poettering [Mon, 12 Jul 2010 00:25:42 +0000 (02:25 +0200)]
execute: optionally ignore return status of invoked commands

13 years agobuild-sys: require udev 160 to fix notify socket abstract namespace sockaddr length
Lennart Poettering [Sun, 11 Jul 2010 22:01:24 +0000 (00:01 +0200)]
build-sys: require udev 160 to fix notify socket abstract namespace sockaddr length

13 years agosd-daemon: fix abstract namespace sockaddr for notification socket
Lennart Poettering [Sun, 11 Jul 2010 21:49:02 +0000 (23:49 +0200)]
sd-daemon: fix abstract namespace sockaddr for notification socket

13 years agoinstall: fix wrong dbus connection shutdown
Lennart Poettering [Sun, 11 Jul 2010 21:01:42 +0000 (23:01 +0200)]
install: fix wrong dbus connection shutdown

13 years agoexecute: use right logger socket
Lennart Poettering [Sun, 11 Jul 2010 02:38:40 +0000 (04:38 +0200)]
execute: use right logger socket

13 years agounits: turn Wants=shutdown back into Requires=shutdown to avoid removal of jobs due...
Lennart Poettering [Sun, 11 Jul 2010 02:22:00 +0000 (04:22 +0200)]
units: turn Wants=shutdown back into Requires=shutdown to avoid removal of jobs due to the impact minimizer

13 years agodbus: get rid of last non-private busses
Lennart Poettering [Sun, 11 Jul 2010 02:10:28 +0000 (04:10 +0200)]
dbus: get rid of last non-private busses

13 years agodbus: don't hit an assert if we sent a changed signal for something not in the dbus...
Lennart Poettering [Sun, 11 Jul 2010 01:59:49 +0000 (03:59 +0200)]
dbus: don't hit an assert if we sent a changed signal for something not in the dbus queue (i.e. because it was deleted before it was fully created

13 years agosystemctl: turn --replace into --fail
Lennart Poettering [Sun, 11 Jul 2010 01:59:18 +0000 (03:59 +0200)]
systemctl: turn --replace into --fail

13 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/systemd
Lennart Poettering [Sun, 11 Jul 2010 01:49:22 +0000 (03:49 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/systemd

13 years agosocket: pass minimal abstract socket names
Lennart Poettering [Sun, 11 Jul 2010 00:23:11 +0000 (02:23 +0200)]
socket: pass minimal abstract socket names

13 years agodbus: use private connections wherever possible
Lennart Poettering [Sun, 11 Jul 2010 00:22:46 +0000 (02:22 +0200)]
dbus: use private connections wherever possible

13 years agosystemctl: move status further down
Lennart Poettering [Sat, 10 Jul 2010 23:20:46 +0000 (01:20 +0200)]
systemctl: move status further down

13 years agoservice: fix minor memory leak
Lennart Poettering [Sat, 10 Jul 2010 22:52:28 +0000 (00:52 +0200)]
service: fix minor memory leak

13 years agomanager: free dbus error when ignoring it
Lennart Poettering [Sat, 10 Jul 2010 22:52:19 +0000 (00:52 +0200)]
manager: free dbus error when ignoring it

13 years agomanager: introduce unit path cache to minimize disk accesses
Lennart Poettering [Sat, 10 Jul 2010 22:52:00 +0000 (00:52 +0200)]
manager: introduce unit path cache to minimize disk accesses

13 years agodbus: suppress duplicate message when reusing bus for system and session
Lennart Poettering [Sat, 10 Jul 2010 22:51:28 +0000 (00:51 +0200)]
dbus: suppress duplicate message when reusing bus for system and session

13 years agocgroup: kill processes, not tasks and other cgroup changes
Lennart Poettering [Sat, 10 Jul 2010 22:50:49 +0000 (00:50 +0200)]
cgroup: kill processes, not tasks and other cgroup changes

13 years agocgroup: make cgroup controller name a constant
Lennart Poettering [Sat, 10 Jul 2010 15:38:50 +0000 (17:38 +0200)]
cgroup: make cgroup controller name a constant

13 years agounit: trim cgroups when going down
Lennart Poettering [Sat, 10 Jul 2010 15:34:42 +0000 (17:34 +0200)]
unit: trim cgroups when going down

13 years agosystemctl: show exec status of all exited programs
Lennart Poettering [Sat, 10 Jul 2010 13:42:24 +0000 (15:42 +0200)]
systemctl: show exec status of all exited programs

13 years agounits: turn shutdown dependencies from Requires into Wants to make things a bit more...
Lennart Poettering [Sat, 10 Jul 2010 02:52:31 +0000 (04:52 +0200)]
units: turn shutdown dependencies from Requires into Wants to make things a bit more robust

13 years agoservice: allow immediate stopping while starting
Lennart Poettering [Sat, 10 Jul 2010 02:52:00 +0000 (04:52 +0200)]
service: allow immediate stopping while starting

13 years agosnapshot: fix deserialization
Lennart Poettering [Sat, 10 Jul 2010 02:51:03 +0000 (04:51 +0200)]
snapshot: fix deserialization

13 years agomain: add a few more useful diagnostic log messages
Lennart Poettering [Sat, 10 Jul 2010 02:50:19 +0000 (04:50 +0200)]
main: add a few more useful diagnostic log messages

13 years agoexecute: add ability to configure the kill signal
Lennart Poettering [Sat, 10 Jul 2010 02:49:37 +0000 (04:49 +0200)]
execute: add ability to configure the kill signal

13 years agomount: add implicit umount.target conflicts only in system mode
Lennart Poettering [Sat, 10 Jul 2010 02:46:58 +0000 (04:46 +0200)]
mount: add implicit umount.target conflicts only in system mode

13 years agounits: pull in shutdown.target and umount.target when entering emergency mode
Lennart Poettering [Sat, 10 Jul 2010 02:42:22 +0000 (04:42 +0200)]
units: pull in shutdown.target and umount.target when entering emergency mode

13 years agoautomount: refuse automounts for the root file system
Lennart Poettering [Sat, 10 Jul 2010 00:41:25 +0000 (02:41 +0200)]
automount: refuse automounts for the root file system

13 years agounits: introduce umount.target for unmounting all file systems
Lennart Poettering [Sat, 10 Jul 2010 00:41:06 +0000 (02:41 +0200)]
units: introduce umount.target for unmounting all file systems

13 years agosystemctl: show connection counters only for Accept=yes sockets
Lennart Poettering [Fri, 9 Jul 2010 22:55:44 +0000 (00:55 +0200)]
systemctl: show connection counters only for Accept=yes sockets

13 years agoman: update daemon man page a little
Lennart Poettering [Fri, 9 Jul 2010 22:49:00 +0000 (00:49 +0200)]
man: update daemon man page a little

13 years agobuild-sys: drop special name hack for dbus.service since a native service file is...
Lennart Poettering [Fri, 9 Jul 2010 22:22:38 +0000 (00:22 +0200)]
build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus

13 years agoupdate fixme
Lennart Poettering [Fri, 9 Jul 2010 21:42:59 +0000 (23:42 +0200)]
update fixme

13 years agosocket: fix loading of .service files for .socket files
Lennart Poettering [Fri, 9 Jul 2010 21:19:28 +0000 (23:19 +0200)]
socket: fix loading of .service files for .socket files

13 years agomain: make it possible to run a system daemon along side an aloready running one...
Lennart Poettering [Fri, 9 Jul 2010 21:18:50 +0000 (23:18 +0200)]
main: make it possible to run a system daemon along side an aloready running one for testing purposes

13 years agoinstall: properly parse --realize=reload
Lennart Poettering [Fri, 9 Jul 2010 21:05:59 +0000 (23:05 +0200)]
install: properly parse --realize=reload

13 years agounits: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown
Kay Sievers [Fri, 9 Jul 2010 09:53:39 +0000 (11:53 +0200)]
units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown

13 years agobuild-sys: add make upload target v2
Lennart Poettering [Fri, 9 Jul 2010 02:56:45 +0000 (04:56 +0200)]
build-sys: add make upload target

13 years agobuild-sys: bump version
Lennart Poettering [Fri, 9 Jul 2010 02:51:53 +0000 (04:51 +0200)]
build-sys: bump version

13 years agobuild-sys: disable inline warnings
Lennart Poettering [Fri, 9 Jul 2010 02:46:49 +0000 (04:46 +0200)]
build-sys: disable inline warnings

13 years agoupdate fixme
Lennart Poettering [Thu, 8 Jul 2010 23:37:25 +0000 (01:37 +0200)]
update fixme

13 years agounits: connect shutdown scripts explicitly with the tty, because native units now...
Lennart Poettering [Fri, 9 Jul 2010 02:37:13 +0000 (04:37 +0200)]
units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise

13 years agobuild-sys: set SYSTEMD_SKIP_API_MOUNTS=1 when generating introspection files
Lennart Poettering [Thu, 8 Jul 2010 22:13:18 +0000 (00:13 +0200)]
build-sys: set SYSTEMD_SKIP_API_MOUNTS=1 when generating introspection files

13 years agomain: introduce $SYSTEMD_SKIP_API_MOUNTS to disable mounting of API FS
Lennart Poettering [Thu, 8 Jul 2010 22:03:09 +0000 (00:03 +0200)]
main: introduce $SYSTEMD_SKIP_API_MOUNTS to disable mounting of API FS

13 years agoman: fix minor ambuigity
Lennart Poettering [Thu, 8 Jul 2010 19:48:09 +0000 (21:48 +0200)]
man: fix minor ambuigity

13 years agoman: Minor typographic fixes to systemd.xml
Ozan Çağlayan [Thu, 8 Jul 2010 16:34:09 +0000 (19:34 +0300)]
man: Minor typographic fixes to systemd.xml

Fix some minor grammar and punctuation typos.

13 years agoman: Fix minor issues in systemd.unit.xml
Ozan Çağlayan [Thu, 8 Jul 2010 18:06:24 +0000 (21:06 +0300)]
man: Fix minor issues in systemd.unit.xml

Fix minor typographic, punctuation and grammar errors.

13 years agoinstall: various improvements
Lennart Poettering [Thu, 8 Jul 2010 19:34:51 +0000 (21:34 +0200)]
install: various improvements

Rename --start to --realize, to make things less confusing when doing
"systemctl stop --realize foo.service".

Introduce --realize=reload.

Don't talk to systemd when run within a chroot, or when systemd isn't
running.

13 years agosystemctl: short cut things if we aren't root and the user requested a reboot to...
Lennart Poettering [Thu, 8 Jul 2010 19:31:23 +0000 (21:31 +0200)]
systemctl: short cut things if we aren't root and the user requested a reboot to suppress unnecessary wall message

13 years agosystemctl: don't actually reboot/poweroff/halt if only a wtmp update is requested
Kay Sievers [Thu, 8 Jul 2010 19:30:32 +0000 (21:30 +0200)]
systemctl: don't actually reboot/poweroff/halt if only a wtmp update is requested

13 years agocgls: fix missing initialization
Lennart Poettering [Thu, 8 Jul 2010 19:17:41 +0000 (21:17 +0200)]
cgls: fix missing initialization

13 years agocgls: beef up control group dumping and introduce cgls tool
Lennart Poettering [Thu, 8 Jul 2010 19:01:42 +0000 (21:01 +0200)]
cgls: beef up control group dumping and introduce cgls tool

13 years agosystemctl: filter and sort member pid of cgroup
Lennart Poettering [Thu, 8 Jul 2010 04:08:32 +0000 (06:08 +0200)]
systemctl: filter and sort member pid of cgroup

13 years agoservice: don't enable native services via legacy sysv symlinks anymore
Lennart Poettering [Thu, 8 Jul 2010 03:29:46 +0000 (05:29 +0200)]
service: don't enable native services via legacy sysv symlinks anymore

13 years agounits: properly create prefdm symlink
Lennart Poettering [Thu, 8 Jul 2010 03:29:09 +0000 (05:29 +0200)]
units: properly create prefdm symlink

13 years agoutil: fix missing memory initialization
Lennart Poettering [Thu, 8 Jul 2010 03:23:05 +0000 (05:23 +0200)]
util: fix missing memory initialization

13 years agomount: fix confirm spawn setting
Lennart Poettering [Thu, 8 Jul 2010 03:22:34 +0000 (05:22 +0200)]
mount: fix confirm spawn setting

13 years agodbus: add missing dbus-errors.h header
Lennart Poettering [Thu, 8 Jul 2010 02:24:09 +0000 (04:24 +0200)]
dbus: add missing dbus-errors.h header

13 years agounits: kill the emergency shell with SIGHUP
Lennart Poettering [Thu, 8 Jul 2010 02:21:53 +0000 (04:21 +0200)]
units: kill the emergency shell with SIGHUP

13 years agoman: document variable substitution
Lennart Poettering [Thu, 8 Jul 2010 02:19:54 +0000 (04:19 +0200)]
man: document variable substitution

13 years agoexecute: support minimal environment variable replacement when executing processes
Lennart Poettering [Thu, 8 Jul 2010 02:09:59 +0000 (04:09 +0200)]
execute: support minimal environment variable replacement when executing processes

13 years agoexecute: if the main process of a service already owns the TTY, don't wait for acquir...
Lennart Poettering [Thu, 8 Jul 2010 02:09:17 +0000 (04:09 +0200)]
execute: if the main process of a service already owns the TTY, don't wait for acquiring it again in the reload/stop step

13 years agodbus: make errors reported via D-Bus more useful
Lennart Poettering [Thu, 8 Jul 2010 00:43:18 +0000 (02:43 +0200)]
dbus: make errors reported via D-Bus more useful

13 years agoservice: set env var for stop/reload commands
Lennart Poettering [Wed, 7 Jul 2010 22:47:35 +0000 (00:47 +0200)]
service: set  env var for stop/reload commands

13 years agojob: when converting restart jobs, move them to WAITING state
Lennart Poettering [Wed, 7 Jul 2010 22:28:04 +0000 (00:28 +0200)]
job: when converting restart jobs, move them to WAITING state

13 years agodbus: log received message only once, in filter function
Lennart Poettering [Wed, 7 Jul 2010 22:27:09 +0000 (00:27 +0200)]
dbus: log received message only once, in filter function