]> err.no Git - systemd/log
systemd
14 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

14 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

14 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

14 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

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

14 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"

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

14 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

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

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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'

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

14 years agoinstall: implement systemd-install realize
Lennart Poettering [Tue, 13 Jul 2010 18:05:47 +0000 (20:05 +0200)]
install: implement systemd-install realize

14 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

14 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

14 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

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

14 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

14 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

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

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

14 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

14 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

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

14 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

14 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

14 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

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

14 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

14 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

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

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

14 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

14 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

14 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

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

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

14 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()

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

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

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

14 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

14 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

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

14 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"

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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

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