chiark / gitweb /
elogind.git
13 years agosystemctl: don't use the systemd bus to talk to upstart
Lennart Poettering [Sat, 24 Jul 2010 00:23:40 +0000 (02:23 +0200)]
systemctl: don't use the systemd bus to talk to upstart

13 years agosystemctl: don't hit an assert when we are run from a non-systemd boot
Lennart Poettering [Fri, 23 Jul 2010 23:56:13 +0000 (01:56 +0200)]
systemctl: don't hit an assert when we are run from a non-systemd boot

13 years agomain: disable NSS disabling logic for now, since this is incompatible with rpm
Lennart Poettering [Fri, 23 Jul 2010 23:29:21 +0000 (01:29 +0200)]
main: disable NSS disabling logic for now, since this is incompatible with rpm

13 years agosystemctl: fold systemd-install into systemctl
Lennart Poettering [Fri, 23 Jul 2010 22:53:33 +0000 (00:53 +0200)]
systemctl: fold systemd-install into systemctl

13 years agosystemctl: support force-reload and condrestart as aliases for reload-or-try-restart
Lennart Poettering [Fri, 23 Jul 2010 03:24:45 +0000 (05:24 +0200)]
systemctl: support force-reload and condrestart as aliases for reload-or-try-restart

13 years agoinstall: default to minimal realization mode
Lennart Poettering [Fri, 23 Jul 2010 03:24:24 +0000 (05:24 +0200)]
install: default to minimal realization mode

13 years agosystemctl: accept -p more than once
Lennart Poettering [Fri, 23 Jul 2010 03:24:05 +0000 (05:24 +0200)]
systemctl: accept -p more than once

13 years agosocket: SELinux support for socket creation.
Daniel J Walsh [Thu, 22 Jul 2010 21:01:25 +0000 (17:01 -0400)]
socket: SELinux support for socket creation.

It seems to work on my machine.

/proc/1/fd/20 system_u:system_r:system_dbusd_t:s0

/proc/1/fd/21 system_u:system_r:avahi_t:s0

And the AVC's seem to have dissapeared when a confined app trys to
connect to dbus or avahi.

If you run with this patch and selinux-policy-3.8.8-3.fc14.noarch
You should be able to boot in enforcing mode.

13 years agosshd, tmux and others are broken when /dev/pts is mounted with "-o nodev"
Robert "arachnist" Gerus [Thu, 22 Jul 2010 13:20:53 +0000 (15:20 +0200)]
sshd, tmux and others are broken when /dev/pts is mounted with "-o nodev"

13 years agobuild-sys: prepare release 4
Lennart Poettering [Thu, 22 Jul 2010 00:52:26 +0000 (02:52 +0200)]
build-sys: prepare release 4

13 years agounits: add [Install] section to getty.target and remote-fs.target
Lennart Poettering [Thu, 22 Jul 2010 00:39:21 +0000 (02:39 +0200)]
units: add [Install] section to getty.target and remote-fs.target

13 years agoupdate fixme
Lennart Poettering [Thu, 22 Jul 2010 00:26:27 +0000 (02:26 +0200)]
update fixme

13 years agobuild-sys: fix compatibility with vala 0.9
Lennart Poettering [Thu, 22 Jul 2010 00:21:42 +0000 (02:21 +0200)]
build-sys: fix compatibility with vala 0.9

13 years agoupdate fixme
Lennart Poettering [Wed, 21 Jul 2010 18:26:44 +0000 (20:26 +0200)]
update fixme

13 years agoservice: save/restore status text string
Lennart Poettering [Wed, 21 Jul 2010 03:16:45 +0000 (05:16 +0200)]
service: save/restore status text string

13 years agojob: make sure restart jobs are readded to the run queue after conversion to start...
Lennart Poettering [Wed, 21 Jul 2010 03:16:31 +0000 (05:16 +0200)]
job: make sure restart jobs are readded to the run queue after conversion to start jobs

13 years agounit: deduce following unit value dynamically instead of statically, to avoid danglin...
Lennart Poettering [Wed, 21 Jul 2010 03:00:29 +0000 (05:00 +0200)]
unit: deduce following unit value dynamically instead of statically, to avoid dangling pointers

13 years agopam: remove only sessions we ourselves created in the first place
Lennart Poettering [Wed, 21 Jul 2010 02:32:44 +0000 (04:32 +0200)]
pam: remove only sessions we ourselves created in the first place

13 years agoload: make sure that unit files in /etc/ always take precedence, even over link targe...
Lennart Poettering [Wed, 21 Jul 2010 01:28:10 +0000 (03:28 +0200)]
load: make sure that unit files in /etc/ always take precedence, even over link targets, to make them easily overrdiable

13 years agounit: allow symlinking unit files to /dev/null
Lennart Poettering [Wed, 21 Jul 2010 01:13:15 +0000 (03:13 +0200)]
unit: allow symlinking unit files to /dev/null

13 years agoexec: extend variable substitution to support splitting variable values into seperate...
Lennart Poettering [Wed, 21 Jul 2010 00:57:35 +0000 (02:57 +0200)]
exec: extend variable substitution to support splitting variable values into seperate arguments

13 years agosysv: do not add sysv services that are not enabled in /etc/rcN.d/ to network.target...
Lennart Poettering [Tue, 20 Jul 2010 20:30:45 +0000 (22:30 +0200)]
sysv: do not add sysv services that are not enabled in /etc/rcN.d/ to network.target or other LSB-style Provides: targets

13 years agohostname: properly deal with unset hostname in fedora configuration
Lennart Poettering [Tue, 20 Jul 2010 19:34:25 +0000 (21:34 +0200)]
hostname: properly deal with unset hostname in fedora configuration

13 years agosystemctl: always disable color when output goes into a file
Lennart Poettering [Tue, 20 Jul 2010 19:04:32 +0000 (21:04 +0200)]
systemctl: always disable color when output goes into a file

13 years agomanager: write serialization to /dev/.systemd/ instead of /dev/shm
Lennart Poettering [Tue, 20 Jul 2010 18:54:33 +0000 (20:54 +0200)]
manager: write serialization to /dev/.systemd/ instead of /dev/shm

13 years agofedora: make sure the gettys are run before X starts up
Lennart Poettering [Tue, 20 Jul 2010 18:42:46 +0000 (20:42 +0200)]
fedora: make sure the gettys are run before X starts up

13 years agosocket: fix access mode verification of FIFOs
Lennart Poettering [Tue, 20 Jul 2010 18:40:49 +0000 (20:40 +0200)]
socket: fix access mode verification of FIFOs

13 years agodevice: do not merge devices
Lennart Poettering [Tue, 20 Jul 2010 18:33:19 +0000 (20:33 +0200)]
device: do not merge devices

Don't try to merge devices that have been created via dependencies when
they appear in the system and can be recognized as the same.  Instead,
simply continue to maintain them independently of each other, however
with the same state cycle. Why? Because otherwise we'd have a hard time
to seperate the dependencies after the devices are unplugged again and
we hence cannot be sure anymore that next time the device is plugged in
it will carry the same names.

Example: if one depndency refers to dev-sda.device and another one to
dev-by-id-xxxyyy.device we only learn at time of plug in of the device
that it is actually the same device that was ment. In the moment the
device is unplugged again we won't know anymore their relation to each
other and the next time the harddisk is plugged it might even appear as
dev-by-id-xxxyyy.device and dev-sdb.service. To ensure the dependencies
continue to have the meaning they were intended to have let's hence keep
the .device objects seperate all the time, even when they are plugged
in.

This patch also introduces a new Following= property which points from
the various .device units of a specific device to the main .device unit
for it. This can be used by the client side to figure out the relation
of the .device units to each other and even filter units from display.

13 years agosystemctl: introduce reset-maintenance command
Lennart Poettering [Sun, 18 Jul 2010 02:58:01 +0000 (04:58 +0200)]
systemctl: introduce reset-maintenance command

13 years agoman: extend man pages a little
Lennart Poettering [Sun, 18 Jul 2010 00:11:38 +0000 (02:11 +0200)]
man: extend man pages a little

13 years agoinstall: optionally remove all symlinks from configuration tree recursively
Lennart Poettering [Sat, 17 Jul 2010 23:33:05 +0000 (01:33 +0200)]
install: optionally remove all symlinks from configuration tree recursively

13 years agoexecute: bump up log level of executed processes that failed
Lennart Poettering [Sat, 17 Jul 2010 02:17:30 +0000 (04:17 +0200)]
execute: bump up log level of executed processes that failed

13 years agojob: timeout every job independently of the unit
Lennart Poettering [Sat, 17 Jul 2010 02:09:28 +0000 (04:09 +0200)]
job: timeout every job independently of the unit

13 years agounit: consider only_by_dependency setting when clients ask whether a unit is startable
Lennart Poettering [Sat, 17 Jul 2010 02:07:49 +0000 (04:07 +0200)]
unit: consider only_by_dependency setting when clients ask whether a unit is startable

13 years agosystemctl: extend list-units output a little
Lennart Poettering [Fri, 16 Jul 2010 22:59:03 +0000 (00:59 +0200)]
systemctl: extend list-units output a little

13 years agounit: introduce OnFailure dependencies to activate units on failure of other units...
Lennart Poettering [Fri, 16 Jul 2010 22:58:47 +0000 (00:58 +0200)]
unit: introduce OnFailure dependencies to activate units on failure of other units, as a way to implement an automatic rescue shell

13 years agosystemctl: warn when operating on service files that changed on disk but haven't...
Lennart Poettering [Fri, 16 Jul 2010 22:57:51 +0000 (00:57 +0200)]
systemctl: warn when operating on service files that changed on disk but haven't been reloaded

13 years agounits: wire smartcard.target into Makefile
Lennart Poettering [Fri, 16 Jul 2010 19:38:56 +0000 (21:38 +0200)]
units: wire smartcard.target into Makefile

13 years agodevice: rename 'available' state to 'plugged'
Lennart Poettering [Fri, 16 Jul 2010 19:32:34 +0000 (21:32 +0200)]
device: rename 'available' state to 'plugged'

13 years agounits: introduce smartcard.target
Lennart Poettering [Fri, 16 Jul 2010 19:32:11 +0000 (21:32 +0200)]
units: introduce smartcard.target

13 years agosystemctl: always show units with active jobs in list-units output
Lennart Poettering [Fri, 16 Jul 2010 19:31:34 +0000 (21:31 +0200)]
systemctl: always show units with active jobs in list-units output

13 years agosocket: prepare for proper selinux labelling of sockets
Lennart Poettering [Fri, 16 Jul 2010 17:42:27 +0000 (19:42 +0200)]
socket: prepare for proper selinux labelling of sockets

13 years agosocket: don't allow mixing of accepting and non-accepting sockets in the same unit
Lennart Poettering [Fri, 16 Jul 2010 17:41:50 +0000 (19:41 +0200)]
socket: don't allow mixing of accepting and non-accepting sockets in the same unit

13 years agoservice: refuse to start services that are configured for per-connection instantiatio...
Lennart Poettering [Fri, 16 Jul 2010 17:41:11 +0000 (19:41 +0200)]
service: refuse to start services that are configured for per-connection instantiation to start without a socket

13 years agounit: allow units to have more than one instance id
Lennart Poettering [Fri, 16 Jul 2010 17:40:24 +0000 (19:40 +0200)]
unit: allow units to have more than one instance id

13 years agounits: fix default mode of /var/run and /var/lock
Lennart Poettering [Fri, 16 Jul 2010 16:58:52 +0000 (18:58 +0200)]
units: fix default mode of /var/run and /var/lock

13 years agopath,timer: order units after sysinit by default
Lennart Poettering [Fri, 16 Jul 2010 16:57:21 +0000 (18:57 +0200)]
path,timer: order units after sysinit by default

13 years agotarget: if the user configured a manual ordering between target units and the unit...
Lennart Poettering [Fri, 16 Jul 2010 01:17:34 +0000 (03:17 +0200)]
target: if the user configured a manual ordering between target units and the unit they require don't contradict that automatically

13 years agomain: disable nscd if we can to avoid deadlock, just in case
Lennart Poettering [Fri, 16 Jul 2010 01:07:53 +0000 (03:07 +0200)]
main: disable nscd if we can to avoid deadlock, just in case

13 years agomount-setup: consider a few file systems API mounts and ignore them
Lennart Poettering [Fri, 16 Jul 2010 00:56:57 +0000 (02:56 +0200)]
mount-setup: consider a few file systems API mounts and ignore them

13 years agoinstall: refuse installation of symlinked units
Lennart Poettering [Fri, 16 Jul 2010 00:56:40 +0000 (02:56 +0200)]
install: refuse installation of symlinked units

13 years agoman: various man page updates
Lennart Poettering [Fri, 16 Jul 2010 00:56:19 +0000 (02:56 +0200)]
man: various man page updates

13 years agosystemctl: add to command for virtualizing the dependency tree with graphviz
Lennart Poettering [Fri, 16 Jul 2010 00:56:00 +0000 (02:56 +0200)]
systemctl: add to command for virtualizing the dependency tree with graphviz

13 years agofixme: refer to rhbz bugs that need fixing
Lennart Poettering [Wed, 14 Jul 2010 13:13:34 +0000 (15:13 +0200)]
fixme: refer to rhbz bugs that need fixing

13 years agocgls: rename source file to cgls.c, since we have no prefix for any of the other...
Lennart Poettering [Wed, 14 Jul 2010 13:09:27 +0000 (15:09 +0200)]
cgls: rename source file to cgls.c, since we have no prefix for any of the other files either

13 years agosocket: don't close sockets when activating per-connection units
Lennart Poettering [Wed, 14 Jul 2010 02:47:57 +0000 (04:47 +0200)]
socket: don't close sockets when activating per-connection units

13 years agobuild-sys: bump release v3
Lennart Poettering [Tue, 13 Jul 2010 20:40:54 +0000 (22:40 +0200)]
build-sys: bump release

13 years agounits: update other distro units to recent fedora changes
Lennart Poettering [Tue, 13 Jul 2010 19:30:38 +0000 (21:30 +0200)]
units: update other distro units to recent fedora changes

13 years agosystemctl: introduce try-restart and reload-or-restart commands
Lennart Poettering [Tue, 13 Jul 2010 18:20:36 +0000 (20:20 +0200)]
systemctl: introduce try-restart and reload-or-restart commands

13 years agomanager: always allow stopping of units that failed to load
Lennart Poettering [Tue, 13 Jul 2010 18:07:00 +0000 (20:07 +0200)]
manager: always allow stopping of units that failed to load

13 years agomain: introduce -D as quick acess to debugging
Lennart Poettering [Tue, 13 Jul 2010 18:06:29 +0000 (20:06 +0200)]
main: introduce -D as quick acess to debugging

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