Lennart Poettering
d4054675b1
service: read special startup dirs only on the respective distros
2010-08-05 20:28:51 +02:00
Lennart Poettering
95978cf8a6
selinux: minor error handling fix
2010-08-05 19:50:03 +02:00
Lennart Poettering
eeaafddcb5
service: always sort services from suse B runlevel before services from normal runlevels
2010-08-05 19:50:03 +02:00
Michal Schmidt
a042efad57
reboot: handle -p switch properly
...
https://bugzilla.redhat.com/show_bug.cgi?id=618678
2010-08-05 19:50:03 +02:00
Lennart Poettering
6319292f15
selinux: fix labels only when configured for it
2010-08-05 19:50:02 +02:00
Lennart Poettering
5b1fe56a8b
selinux: rework selinux tests a little
2010-08-04 01:07:38 +02:00
Lennart Poettering
f7f4cccb2a
selinux: fix if vs. ifdef mixup
2010-08-04 00:40:19 +02:00
Daniel J Walsh
56cf987fe7
Systemd is causing mislabeled devices to be created and then attempting to read them.
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/28/2010 05:57 AM, Kay Sievers wrote:
> On Wed, Jul 28, 2010 at 11:43, Lennart Poettering
> <lennart@poettering.net> wrote:
>> On Mon, 26.07.10 16:42, Daniel J Walsh (dwalsh@redhat.com ) wrote:
>>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file
>>> type=1400 audit(1280174589.476:7): avc: denied { read } for pid=1
>>> comm="systemd" name="autofs" dev=devtmpfs ino=9482
>>> scontext=system_u:system_r:init_t:s0
>>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file
>>> type=1400 audit(1280174589.476:8): avc: denied { read } for pid=1
>>> comm="systemd" name="autofs" dev=devtmpfs ino=9482
>>> scontext=system_u:system_r:init_t:s0
>>> tcontext=system_u:object_r:device_t:s0 tclass=chr_file
>>>
>>> Lennart, we talked about this earlier. I think this is caused by the
>>> modprobe calls to create /dev/autofs. Since udev is not created at the
>>> point that init loads the kernel modules, the devices get created with
>>> the wrong label. Once udev starts the labels get fixed.
>>>
>>> I can allow init_t to read device_t chr_files.
>>
>> Hmm, I think a cleaner fix would be to make systemd relabel this device
>> properly before accessing it? Given that this is only one device this
>> should not be a problem for us to maintain, I think? How would the
>> fixing of the label work? Would we have to spawn restorecon for this, or
>> can we actually do this in C without too much work?
>
> I guess we can just do what udev is doing, and call setfilecon(), with
> a context of an earlier matchpathcon().
>
> Kay
> _______________________________________________
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Here is the updated patch with a fix for the labeling of /dev/autofs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkxQMyoACgkQrlYvE4MpobNviACfWgxsjW2xzz1qznFex8RVAQHf
gIEAmwRmRcLvGqYtwQaZ3WKIg8wmrwNk
=pC2e
2010-08-03 23:45:22 +02:00
Tomasz Torcz
cebf8b2092
socket: Allow selection of TCP Congestion Avoidance algorithm to socket
...
Hi,
attached path extends socket configurables with another
knob - TCP Congestion Avoidance selection. Linux implements
handful of those, useful in various situations. For example,
TCP Low Priority may be used by FTP service to gracefully
yield bandwidth for more important TCP/IP streams.
Until recently TCP_CONGESTION was Linux-specific, recently
FreeBSD 8 and OpenSolaris gained compatible support.
2010-08-03 23:23:47 +02:00
Lennart Poettering
d5ca5f1185
telinit: forward to upstart, if not booted with systemd
2010-07-24 02:33:38 +02:00
Lennart Poettering
ec7f7f2006
systemctl: don't use the systemd bus to talk to upstart
2010-07-24 02:23:40 +02:00
Lennart Poettering
385771fcf0
systemctl: don't hit an assert when we are run from a non-systemd boot
2010-07-24 01:56:13 +02:00
Lennart Poettering
e054f8333d
main: disable NSS disabling logic for now, since this is incompatible with rpm
2010-07-24 01:29:21 +02:00
Lennart Poettering
ee5762e378
systemctl: fold systemd-install into systemctl
2010-07-24 00:53:33 +02:00
Lennart Poettering
9d8a57fff1
systemctl: support force-reload and condrestart as aliases for reload-or-try-restart
2010-07-23 05:24:45 +02:00
Lennart Poettering
85e5760d4f
install: default to minimal realization mode
2010-07-23 05:24:24 +02:00
Lennart Poettering
ea4a240dc2
systemctl: accept -p more than once
2010-07-23 05:24:05 +02:00
Daniel J Walsh
7a58bfa4ae
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.
2010-07-23 05:12:13 +02:00
Robert "arachnist" Gerus
28322e1eb6
sshd, tmux and others are broken when /dev/pts is mounted with "-o nodev"
2010-07-23 05:12:13 +02:00
Lennart Poettering
d3d91d10c9
build-sys: fix compatibility with vala 0.9
2010-07-22 02:21:42 +02:00
Lennart Poettering
3a2776bc86
service: save/restore status text string
2010-07-21 05:16:45 +02:00
Lennart Poettering
cc42e0817f
job: make sure restart jobs are readded to the run queue after conversion to start jobs
2010-07-21 05:16:31 +02:00
Lennart Poettering
a7f241db3f
unit: deduce following unit value dynamically instead of statically, to avoid dangling pointers
2010-07-21 05:00:29 +02:00
Lennart Poettering
672c48cc06
pam: remove only sessions we ourselves created in the first place
2010-07-21 04:32:44 +02:00
Lennart Poettering
294d81f124
load: make sure that unit files in /etc/ always take precedence, even over link targets, to make them easily overrdiable
2010-07-21 03:28:10 +02:00
Lennart Poettering
8f05424d50
unit: allow symlinking unit files to /dev/null
2010-07-21 03:13:15 +02:00
Lennart Poettering
c24eb49e6a
exec: extend variable substitution to support splitting variable values into seperate arguments
2010-07-21 02:57:35 +02:00
Lennart Poettering
9d25f5ed7b
sysv: do not add sysv services that are not enabled in /etc/rcN.d/ to network.target or other LSB-style Provides: targets
2010-07-20 22:30:45 +02:00
Lennart Poettering
84b00965b7
hostname: properly deal with unset hostname in fedora configuration
2010-07-20 21:34:25 +02:00
Lennart Poettering
2cc59dbfe0
systemctl: always disable color when output goes into a file
2010-07-20 21:04:32 +02:00
Lennart Poettering
d8d5ab981a
manager: write serialization to /dev/.systemd/ instead of /dev/shm
2010-07-20 20:54:33 +02:00
Lennart Poettering
de0200fca5
socket: fix access mode verification of FIFOs
2010-07-20 20:40:49 +02:00
Lennart Poettering
8fe914ec81
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.
2010-07-20 20:33:24 +02:00
Lennart Poettering
5632e3743d
systemctl: introduce reset-maintenance command
2010-07-19 04:08:07 +02:00
Lennart Poettering
246756ca92
install: optionally remove all symlinks from configuration tree recursively
2010-07-18 01:33:05 +02:00
Lennart Poettering
92abbefbef
execute: bump up log level of executed processes that failed
2010-07-17 04:17:30 +02:00
Lennart Poettering
faf919f1eb
job: timeout every job independently of the unit
2010-07-17 04:09:28 +02:00
Lennart Poettering
064f51fa29
unit: consider only_by_dependency setting when clients ask whether a unit is startable
2010-07-17 04:07:49 +02:00
Lennart Poettering
d06428248a
systemctl: extend list-units output a little
2010-07-17 00:59:03 +02:00
Lennart Poettering
5de9682cd6
unit: introduce OnFailure dependencies to activate units on failure of other units, as a way to implement an automatic rescue shell
2010-07-17 00:58:47 +02:00
Lennart Poettering
45fb0699c4
systemctl: warn when operating on service files that changed on disk but haven't been reloaded
2010-07-17 00:57:51 +02:00
Lennart Poettering
73608ed994
device: rename 'available' state to 'plugged'
2010-07-16 21:32:34 +02:00
Lennart Poettering
2d3b2c0032
units: introduce smartcard.target
2010-07-16 21:32:11 +02:00
Lennart Poettering
0ff3dea700
systemctl: always show units with active jobs in list-units output
2010-07-16 21:31:34 +02:00
Lennart Poettering
b15bdda870
socket: prepare for proper selinux labelling of sockets
2010-07-16 19:42:27 +02:00
Lennart Poettering
0009d2a633
socket: don't allow mixing of accepting and non-accepting sockets in the same unit
2010-07-16 19:41:50 +02:00
Lennart Poettering
cac6f7c872
service: refuse to start services that are configured for per-connection instantiation to start without a socket
2010-07-16 19:41:11 +02:00
Lennart Poettering
276c3e78ce
unit: allow units to have more than one instance id
2010-07-16 19:40:24 +02:00
Lennart Poettering
6c155fe3d0
path,timer: order units after sysinit by default
2010-07-16 18:57:21 +02:00
Lennart Poettering
772a599e4f
target: if the user configured a manual ordering between target units and the unit they require don't contradict that automatically
2010-07-16 03:17:34 +02:00
Lennart Poettering
ad780f1991
main: disable nscd if we can to avoid deadlock, just in case
2010-07-16 03:07:53 +02:00
Lennart Poettering
949c651032
mount-setup: consider a few file systems API mounts and ignore them
2010-07-16 02:56:57 +02:00
Lennart Poettering
992f87e192
install: refuse installation of symlinked units
2010-07-16 02:56:40 +02:00
Lennart Poettering
4445a87557
systemctl: add to command for virtualizing the dependency tree with graphviz
2010-07-16 02:56:00 +02:00
Lennart Poettering
d04247cf25
cgls: rename source file to cgls.c, since we have no prefix for any of the other files either
2010-07-14 15:09:27 +02:00
Lennart Poettering
73883adc1e
socket: don't close sockets when activating per-connection units
2010-07-14 04:47:57 +02:00
Lennart Poettering
6f28c033ec
systemctl: introduce try-restart and reload-or-restart commands
2010-07-13 20:20:36 +02:00
Lennart Poettering
3dda9fc3a7
manager: always allow stopping of units that failed to load
2010-07-13 20:07:00 +02:00
Lennart Poettering
1d2e23ab72
main: introduce -D as quick acess to debugging
2010-07-13 20:06:33 +02:00
Lennart Poettering
53b543608e
install: implement systemd-install realize
2010-07-13 20:05:47 +02:00
Lennart Poettering
9f611ad82e
unit: disable retroactive starting/stopping of units when deserializing
2010-07-13 19:01:20 +02:00
Lennart Poettering
4c633005ea
cgroup: treat non-existing cgroups like empty ones, to deal with races
2010-07-13 19:00:01 +02:00
Lennart Poettering
edb9aaa8b2
main: replace --running-as= by --session and --system do mimic related tools and D-Bus
2010-07-13 18:57:58 +02:00
Lennart Poettering
17df43e32c
udev: use prettier subsystem paths for bluetooth devices, too
2010-07-13 02:40:24 +02:00
Lennart Poettering
935e3e5cc7
udev: ignore dynamic ram/loop block devices
2010-07-13 02:40:08 +02:00
Lennart Poettering
0f13830395
units: make maximum unit name longer, since DM names manager to hit the limit
2010-07-13 02:18:13 +02:00
Lennart Poettering
7e6e7b06e5
unit: retroactively start dependencies for job-less units too
2010-07-13 02:17:53 +02:00
Lennart Poettering
ee5f3479e2
device: properly create dependencies
2010-07-13 02:17:26 +02:00
Lennart Poettering
7c9c5d0eb1
units: dm is an awful piece of work
2010-07-13 02:17:06 +02:00
Lennart Poettering
da78e1b444
units: introduce bluetooth.target/printer.target which are activated if the right hardware is plugged in
2010-07-13 02:16:44 +02:00
Lennart Poettering
7c610628cd
socket: when going down, flush all queued sockets
2010-07-13 00:52:17 +02:00
Lennart Poettering
ba3e67a785
socket: when the socket is supposed to stop, don't accept any connections anymore
2010-07-13 00:27:27 +02:00
Lennart Poettering
f057408c9c
units: introduce emergency.target
2010-07-12 23:49:20 +02:00
Lennart Poettering
2edd4434e5
mount: add automatic start ordering dependencies for mounts
2010-07-12 22:55:27 +02:00
Lennart Poettering
21d21ea42e
execute: inherit from original input, not the fixed up
2010-07-12 22:04:59 +02:00
Lennart Poettering
5830833f7c
service: allow input from terminal when executing more than one start-pre or stop-post command
2010-07-12 21:56:51 +02:00
Lennart Poettering
85d73053f2
execute: reword comment
2010-07-12 21:53:36 +02:00
Lennart Poettering
3fe5e5d476
util: reset terminal even harder
2010-07-12 21:40:43 +02:00
Lennart Poettering
7bc0351dd8
util: fix error handling in acquire_terminal()
2010-07-12 20:35:14 +02:00
Lennart Poettering
fc9b2a84dc
execute: close inherited fds earlier
2010-07-12 20:34:53 +02:00
Lennart Poettering
4a3c7c7952
pam: remove leftover libcgroup inclusion
2010-07-12 18:43:21 +02:00
Lennart Poettering
35d2e7ec19
cgroup: reimplement the last bit of libcgroup functionality natively
2010-07-12 18:16:44 +02:00
Lennart Poettering
dbd821acb4
cgroup: implement cg_get_path natively
2010-07-12 03:15:20 +02:00
Lennart Poettering
3b6fdb5b5a
unit: introduce IgnoreDependencyFailure=
2010-07-12 03:07:02 +02:00
Lennart Poettering
f6023656e1
service: trim cgroups if services that are "active" but "exited"
2010-07-12 03:07:02 +02:00
Lennart Poettering
b708e7cea9
execute: optionally ignore return status of invoked commands
2010-07-12 03:07:01 +02:00
Lennart Poettering
a013bd94cc
sd-daemon: fix abstract namespace sockaddr for notification socket
2010-07-11 23:49:20 +02:00
Lennart Poettering
c2ad51299a
install: fix wrong dbus connection shutdown
2010-07-11 23:02:46 +02:00
Lennart Poettering
b5f776cee9
execute: use right logger socket
2010-07-11 04:38:40 +02:00
Lennart Poettering
983d9c9015
units: turn Wants=shutdown back into Requires=shutdown to avoid removal of jobs due to the impact minimizer
2010-07-11 04:22:00 +02:00
Lennart Poettering
51bc5d4b84
dbus: get rid of last non-private busses
2010-07-11 04:10:28 +02:00
Lennart Poettering
c0bd0cf7ff
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
2010-07-11 03:59:59 +02:00
Lennart Poettering
90d473a1c0
systemctl: turn --replace into --fail
2010-07-11 03:59:59 +02:00
Lennart Poettering
dce3acd2e2
Merge branch 'master' of ssh://git.freedesktop.org/git/systemd
2010-07-11 03:49:22 +02:00
Lennart Poettering
b12c1e7cf7
socket: pass minimal abstract socket names
2010-07-11 02:23:11 +02:00
Lennart Poettering
b574246b4f
dbus: use private connections wherever possible
2010-07-11 02:22:46 +02:00
Lennart Poettering
17bb73821c
systemctl: move status further down
2010-07-11 01:20:57 +02:00
Lennart Poettering
7740296dcf
service: fix minor memory leak
2010-07-11 00:52:28 +02:00
Lennart Poettering
65e92d67b6
manager: free dbus error when ignoring it
2010-07-11 00:52:19 +02:00
Lennart Poettering
fe51822e71
manager: introduce unit path cache to minimize disk accesses
2010-07-11 00:52:00 +02:00
Lennart Poettering
9014a8bd7a
dbus: suppress duplicate message when reusing bus for system and session
2010-07-11 00:51:28 +02:00
Lennart Poettering
c6c18be35b
cgroup: kill processes, not tasks and other cgroup changes
2010-07-11 00:50:49 +02:00
Lennart Poettering
5509654721
cgroup: make cgroup controller name a constant
2010-07-10 17:38:50 +02:00
Lennart Poettering
fb38518151
unit: trim cgroups when going down
2010-07-10 17:34:42 +02:00
Lennart Poettering
582a507f1a
systemctl: show exec status of all exited programs
2010-07-10 15:42:24 +02:00
Lennart Poettering
3f6c78dceb
service: allow immediate stopping while starting
2010-07-10 04:52:00 +02:00
Lennart Poettering
82c64bf578
snapshot: fix deserialization
2010-07-10 04:51:03 +02:00
Lennart Poettering
1e001f52d2
main: add a few more useful diagnostic log messages
2010-07-10 04:50:19 +02:00
Lennart Poettering
2e22afe909
execute: add ability to configure the kill signal
2010-07-10 04:49:37 +02:00
Lennart Poettering
73c33e7f22
mount: add implicit umount.target conflicts only in system mode
2010-07-10 04:46:58 +02:00
Lennart Poettering
41e450596a
automount: refuse automounts for the root file system
2010-07-10 02:41:25 +02:00
Lennart Poettering
4e67ddd6b3
units: introduce umount.target for unmounting all file systems
2010-07-10 02:41:06 +02:00
Lennart Poettering
b8131a87cc
systemctl: show connection counters only for Accept=yes sockets
2010-07-10 00:55:44 +02:00
Lennart Poettering
83bda35801
build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus
2010-07-10 00:22:38 +02:00
Lennart Poettering
25366e094c
socket: fix loading of .service files for .socket files
2010-07-09 23:43:16 +02:00
Lennart Poettering
a821caaae1
main: make it possible to run a system daemon along side an aloready running one for testing purposes
2010-07-09 23:43:16 +02:00
Lennart Poettering
71a6f75381
install: properly parse --realize=reload
2010-07-09 23:43:16 +02:00
Lennart Poettering
ca326f6f2d
main: introduce $SYSTEMD_SKIP_API_MOUNTS to disable mounting of API FS
2010-07-09 00:03:09 +02:00
Lennart Poettering
b4f10a5e89
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.
2010-07-08 21:39:01 +02:00
Lennart Poettering
bc8c2f5c54
systemctl: short cut things if we aren't root and the user requested a reboot to suppress unnecessary wall message
2010-07-08 21:36:40 +02:00
Kay Sievers
d47b555bb6
systemctl: don't actually reboot/poweroff/halt if only a wtmp update is requested
2010-07-08 21:36:40 +02:00
Lennart Poettering
e34b6159f3
cgls: fix missing initialization
2010-07-08 21:17:41 +02:00
Lennart Poettering
fa776d8e96
cgls: beef up control group dumping and introduce cgls tool
2010-07-08 21:01:42 +02:00
Lennart Poettering
ab35fb1bc6
systemctl: filter and sort member pid of cgroup
2010-07-08 06:08:32 +02:00
Lennart Poettering
f8820b628c
service: don't enable native services via legacy sysv symlinks anymore
2010-07-08 05:29:46 +02:00
Lennart Poettering
301056b7a0
util: fix missing memory initialization
2010-07-08 05:23:34 +02:00
Lennart Poettering
c368608323
mount: fix confirm spawn setting
2010-07-08 05:22:34 +02:00
Lennart Poettering
4c90c122af
dbus: add missing dbus-errors.h header
2010-07-08 04:24:09 +02:00
Lennart Poettering
420a0166a2
man: document variable substitution
2010-07-08 04:19:54 +02:00
Lennart Poettering
fab56fc541
execute: support minimal environment variable replacement when executing processes
2010-07-08 04:09:59 +02:00
Lennart Poettering
1e3ad081ef
execute: if the main process of a service already owns the TTY, don't wait for acquiring it again in the reload/stop step
2010-07-08 04:09:17 +02:00
Lennart Poettering
398ef8ba02
dbus: make errors reported via D-Bus more useful
2010-07-08 02:43:18 +02:00
Lennart Poettering
2105e76a77
service: set env var for stop/reload commands
2010-07-08 00:47:35 +02:00
Lennart Poettering
9c2d9caab2
job: when converting restart jobs, move them to WAITING state
2010-07-08 00:28:04 +02:00
Lennart Poettering
46d95c0fe0
dbus: log received message only once, in filter function
2010-07-08 00:27:09 +02:00
Lennart Poettering
e167fb86f6
util: handle \s escape as defined in the XDG spec properly in cunescape()
2010-07-07 22:28:51 +02:00
Lennart Poettering
923f8d76dc
dbus: shut down bus connection cleanly and fully when a direct client disconnects
2010-07-07 22:28:02 +02:00
Lennart Poettering
61e5d8ed87
service: allow configuration of more than one Exec command in one line
2010-07-07 20:59:20 +02:00
Lennart Poettering
f60f22dfbb
util: use quoted word parsing where applicable
2010-07-07 20:58:41 +02:00
Lennart Poettering
6febfd0d4b
util: introduce cunescape_length()
2010-07-07 20:58:02 +02:00
Lennart Poettering
0bab36f250
util: properly handle escaped quotes in words in split_quoted()
2010-07-07 20:57:47 +02:00
Lennart Poettering
f3d4cc0148
util: fix handling of unknown escapes in cunescape()
2010-07-07 20:57:10 +02:00
Lennart Poettering
3dab29438c
conf-parser: support continuation lines with trailing backslashes in lines
2010-07-07 18:20:42 +02:00
Lennart Poettering
54165a3939
log: bump up a number of log messages so that they are shown even if debug logging is disabled, for diagnostic purposes
2010-07-07 17:57:54 +02:00
Lennart Poettering
e015090f32
main: always log when we reexecute or reload
2010-07-07 17:44:11 +02:00
Lennart Poettering
af2ab1f9a3
service: fix parsing word size functions
2010-07-07 17:42:06 +02:00
Lennart Poettering
8f75a603ec
util: implement safe_atolu based on safe_atolli/safe_atoi, depending on word size
2010-07-07 17:40:25 +02:00
Lennart Poettering
acb591e452
execute: change stdout inherit logic, when run as PID 1 use /dev/null
2010-07-07 04:37:42 +02:00
Lennart Poettering
ecdbca40bd
service: serialize exec status
2010-07-07 04:13:20 +02:00
Lennart Poettering
7c70671781
main: lower default log level to INFO
2010-07-07 04:13:20 +02:00
Lennart Poettering
2e54424d83
util: minor simplification when printing welcome text
2010-07-07 04:13:20 +02:00
Lennart Poettering
e0376b177c
systemctl: minor beautifications
2010-07-07 04:13:19 +02:00
Lennart Poettering
a822056bca
initctl: check peer credentials after connection
2010-07-07 04:13:19 +02:00
Lennart Poettering
f4579ce704
dbus: don't try to run AddMatch when connected to a private bus
2010-07-07 04:13:19 +02:00
Lennart Poettering
7b97f47732
dbus: send reload completion message on right connection
2010-07-07 02:21:42 +02:00
Lennart Poettering
ed4c1cc672
unit: when reading description from LSB prefer short over long description
2010-07-07 02:21:42 +02:00
Lennart Poettering
9aab5a731d
unit: don't cancel dependent jobs if a stopped daemon returned an error code
2010-07-07 02:21:41 +02:00
Lennart Poettering
7e61bf2019
systemctl: minor cosmetic fixes
2010-07-07 02:21:41 +02:00
Lennart Poettering
455d8dc9ff
main: show welcome string only when asked for
2010-07-07 01:51:44 +02:00
Martin Mikkelsen
fd8bccfbf9
sd-daemon: Fix path check in sd_is_fifo()
...
sd_is_fifo() did fstat on the file descriptor twice instead of stating
the supplied path.
2010-07-07 01:41:59 +02:00
Lennart Poettering
487393e9f1
main: implement manager configuration file
2010-07-07 01:10:27 +02:00
Lennart Poettering
c846ff4798
main: show welcome message on boot
2010-07-07 00:25:41 +02:00
Lennart Poettering
9e58ff9c5c
manager: optionally print status updates to console on boot
2010-07-07 00:00:59 +02:00
Lennart Poettering
fa0f4d8a3a
main: add a native implementation of the 'nomodules' kernel option understood by fedora init scripts
2010-07-06 20:34:28 +02:00
Lennart Poettering
057fbb5885
util: fix space calculation in get_process_cmdline()
2010-07-06 20:33:54 +02:00
Lennart Poettering
ed2d7a4465
systemctl: when we cannot load a unit, retry with getting it
2010-07-06 20:33:54 +02:00
Lennart Poettering
894ba510aa
dbus: fix segfault with direct local connections
2010-07-06 19:02:54 +02:00
Lennart Poettering
fc6071bfb3
systemctl: don't use UTF directly
2010-07-06 05:55:41 +02:00
Lennart Poettering
5f75059770
systemctl: fix parsing of cgroup contents
2010-07-06 05:38:12 +02:00
Lennart Poettering
9a1ac7b9ae
install: implement --start option
2010-07-06 05:06:40 +02:00
Lennart Poettering
c59760eeda
systemctl: show cgroup contents in status
2010-07-05 03:06:02 +02:00
Lennart Poettering
61cbdc4b30
systemctl: implement 'status' command
2010-07-05 02:40:39 +02:00
Lennart Poettering
7492290434
turn negative options into positive options
2010-07-05 01:08:13 +02:00
Lennart Poettering
a567261a29
dbus: send signals about jobs to the clients having created them unconditionally, and thus get rid of broadcast signals in most cases
2010-07-05 00:58:07 +02:00
Lennart Poettering
552e4331bf
systemctl: use format_timespan() where applicable
2010-07-04 21:18:06 +02:00
Lennart Poettering
fae20b110f
dbus: fix unclean shut-down
2010-07-04 21:17:40 +02:00
Lennart Poettering
03fae01822
uniformly suffix time span properties with their unit
2010-07-04 21:12:10 +02:00
Lennart Poettering
393a2f9be1
man: update systemctl man page
2010-07-04 20:46:12 +02:00
Lennart Poettering
fe68089df6
dbus: complete exec command coverage
2010-07-04 20:38:14 +02:00
Lennart Poettering
b58b41160f
dbus: complete exec status coverage
2010-07-04 18:49:58 +02:00
Lennart Poettering
14ad1d1437
dbus: include NextElapse field in timer properties
2010-07-04 16:48:24 +02:00
Lennart Poettering
82c121a475
dbus: complete exec coverage
2010-07-04 16:44:58 +02:00
Lennart Poettering
d264aa332a
dbus: complete coverage of service units
2010-07-04 05:14:30 +02:00
Lennart Poettering
4e1e43c8f0
dbus: complete socket unit coverage
2010-07-04 05:07:31 +02:00
Lennart Poettering
6681ad4d41
dbus: complete target unit coverage
2010-07-04 05:01:36 +02:00
Lennart Poettering
5bd0707340
dbus: complete automount and mount unit coverage
2010-07-04 04:55:33 +02:00
Lennart Poettering
f295f5c0c0
dbus: complete coverage of manager interface
2010-07-04 04:47:19 +02:00
Lennart Poettering
707e5e5280
dbus: complete coverage of timer units
2010-07-04 04:37:03 +02:00
Lennart Poettering
e87d1818cd
systemctl: load unit when introspecting
2010-07-04 04:24:23 +02:00
Lennart Poettering
a68c7a7ace
dbus: complete coverage for unit interface
2010-07-04 04:24:07 +02:00
Lennart Poettering
ebf57b80c3
dbus: complete coverage for path units
2010-07-04 04:23:48 +02:00
Lennart Poettering
48220598fe
systemctl: implement 'show' command
2010-07-04 03:43:57 +02:00
Lennart Poettering
09c661966c
dbus: implement GetAll() with empty interface string properly
2010-07-04 03:43:20 +02:00
Lennart Poettering
0442c13bfa
dbus: properly name StartupTimestamp property
2010-07-04 03:42:55 +02:00
Lennart Poettering
daf32cc791
snapshot: downgrade automatic dependencies from Requires to Wants
2010-07-03 19:51:24 +02:00
Lennart Poettering
a40eb73224
unit: add DefaultDependencies= setting
...
In order to simplify writing of unit files introduce default
dependencies that are added to all units unless explictly disabled in a
unit. This option can be switched off for select units that are involved
in early boot-up ot late system shutdown,
This should simplify service files for most normal daemons, but breaks
existing service files for software involved in early boot (notably
udev), which need to be updated for a DefaultDependencies=no setting)
2010-07-03 19:48:33 +02:00
Lennart Poettering
2c966c038d
unit: simplify things a little by introducing API to add two dependencies in one step
2010-07-03 19:46:38 +02:00
Lennart Poettering
c5da34ef1b
execute: check tcpwrap for sockets passed via new-style socket passing as well.
2010-07-02 23:25:25 +02:00
Lennart Poettering
6759e7a763
systemctl: implement delete command
2010-07-02 03:51:05 +02:00
Lennart Poettering
1cf18f2733
automount: add DirectoryMode= setting
2010-07-02 01:17:21 +02:00
Lennart Poettering
3e5235b0d9
mount: automatically create non-existing mount point dirs prior to mounting
2010-07-02 00:28:44 +02:00
Lennart Poettering
1f812feafb
man: document socket units
2010-07-01 23:49:50 +02:00
Lennart Poettering
c0115b1f4a
systemd: include /etc/systemd/system/ and /lib/systemd/system/ in search path unconditionally
2010-07-01 20:43:52 +02:00
Lennart Poettering
0d624a785a
man: finish service man page
2010-07-01 19:39:35 +02:00
Kay Sievers
16c42ce173
socket: define IP_FREEBIND if not defined
2010-07-01 17:44:13 +02:00
Lennart Poettering
8b03daeb58
systemd: add IP TOS field to --dump-configuration-items output
2010-07-01 16:34:26 +02:00
Lennart Poettering
46925ac5a8
socket: on ipv6 try to use IPV6_UNICAST_HOPS sockopt
2010-07-01 15:27:30 +02:00
Lennart Poettering
01b1b079c1
systemctl: fix detection of active units
2010-07-01 15:19:45 +02:00
Lennart Poettering
51cfdda7e2
systemadm: update signal connection for new vala
2010-07-01 04:14:57 +02:00
Lennart Poettering
5e37489593
systemctl: return error codes for failed jobs
2010-07-01 03:44:09 +02:00
Lennart Poettering
6ec1117a74
snapshot: ensure that snapshots cannot be created unless with create_snapshot
2010-07-01 03:39:55 +02:00
Lennart Poettering
032ff4afc9
unit: shorten active state enums to make systemctl output nicer
2010-07-01 03:34:15 +02:00
Lennart Poettering
2419cc5bdb
socket: fix D-Bus introspection data
2010-07-01 01:07:13 +02:00
Lennart Poettering
0183528f6b
systemctl: add 'check' call
2010-07-01 01:06:58 +02:00
Lennart Poettering
6e905d9360
systemctl: block by default
2010-07-01 00:32:29 +02:00
Lennart Poettering
6124958c7b
unit: add new abstracted maintenance state for units
2010-07-01 00:31:53 +02:00
Lennart Poettering
4fd5948e74
socket: make various socket/pipe options configurable
2010-07-01 00:29:17 +02:00
Lennart Poettering
6398320759
core: rename struct timestamp to dual_timestamp to avoid name clash with IP system headers
2010-07-01 00:26:44 +02:00
Lennart Poettering
2f02ce4005
utils: show help blurb when run without any arguments
2010-06-24 04:55:57 +02:00
Lennart Poettering
5ec7ed4ec6
systemctl: minor --help rewording
2010-06-24 03:08:37 +02:00
Lennart Poettering
bf9a6e8bfc
path-lookup: unconditionally check /usr and /usr/share unit directories
2010-06-24 03:08:22 +02:00
Lennart Poettering
e6b3f00f66
manager: both rescue and emergency should be started in isolate mode
2010-06-24 03:07:43 +02:00
Lennart Poettering
541d6159c6
log: unify log env var prefix
2010-06-24 03:07:06 +02:00
Lennart Poettering
daaa7e5a65
sd-daemon: refer to the man pages
2010-06-24 00:10:03 +02:00
Lennart Poettering
2e225d657a
pam: make sure we don't assign colliding session ids if we get our session ids from multiple sources
2010-06-24 00:09:45 +02:00
Lennart Poettering
2e33c4331f
minor fixes to help texts
2010-06-24 00:08:42 +02:00
Lennart Poettering
2218198b73
man: start documenting systemd itself
2010-06-23 20:34:34 +02:00
Lennart Poettering
a838e6a17a
pam: dont use $XDG_SESSION_COOKIE since CK wants that to be secret. Come up with our own $XDG_SESSION_ID based on /proc/self/sessionid if that is available
2010-06-23 19:46:29 +02:00
Lennart Poettering
1d0ae74ae3
minor typo fixes
2010-06-23 02:10:19 +02:00
Lennart Poettering
f9378423b9
man: document sd-daemon.[ch]
2010-06-23 00:31:54 +02:00
Lennart Poettering
b1fc29fb70
systemctl: fix systemctl help text
2010-06-22 04:10:06 +02:00
Lennart Poettering
4eab639f92
service: rework logic when we consider a service running
2010-06-22 04:09:50 +02:00
Lennart Poettering
827119a9cb
conf-parser: check all parse callbacks
2010-06-22 04:09:26 +02:00
Lennart Poettering
8c6db83365
pam: implement systemd PAM module and generelize cgroup API for that a bit
2010-06-21 23:27:18 +02:00
Lennart Poettering
96551bae61
notify: add systemd-notify --booted
2010-06-21 19:20:21 +02:00
Lennart Poettering
40473a70cf
sd-daemon: introduce sd_booted() and set ELF visibility to hidden for all symbols
2010-06-21 19:18:47 +02:00
Lennart Poettering
f1c5860be7
systemctl: make upstart glue code talk to upstart via private abstarct bus and verify its UID owner
2010-06-19 16:58:59 +02:00
Lennart Poettering
4d0e5dbd52
service: require KillMode=control-group when PAM is enabled
2010-06-19 16:57:54 +02:00
Lennart Poettering
399ab2b1ac
unit: make unit casts typesafe
2010-06-19 16:57:29 +02:00
Lennart Poettering
0ca3f374f9
initctl: add some checks before starting up
2010-06-19 16:56:57 +02:00
Lennart Poettering
f5a3628cc7
initctl: talk to systemd via the abstract private bus
2010-06-19 16:56:26 +02:00
Lennart Poettering
4cd1fbcc06
unit: get rid of various unnecessary casts
2010-06-19 16:55:49 +02:00
Lennart Poettering
bb00e60409
don't use 'long long' unless we have a really good reason to
2010-06-19 04:35:52 +02:00
Lennart Poettering
6cf6bbc268
socket: enforce limit on number of concurrent connections
2010-06-19 04:25:34 +02:00
Lennart Poettering
a3d4e06dfa
manager: get rid of destinction between running_as=system and running_as=init, as there is little value in it and we cannot really test this
2010-06-19 03:15:59 +02:00
Lennart Poettering
5e8d1c9a9f
dbus: to make sure that systemd stays controllable during early bootup, register our services on our own micro usb server in addition to the bus
2010-06-19 03:04:04 +02:00
Lennart Poettering
f9704703f3
service: honour empty cgroup even in ValidNoProcess mode
2010-06-19 01:06:09 +02:00
Lennart Poettering
f872ec3397
util: properly divide in 64bit in format_timestamp()
2010-06-19 00:14:12 +02:00
Lennart Poettering
f2d3769a16
execute: handle format strings in User= and other directives
2010-06-18 23:25:19 +02:00
Lennart Poettering
8c40acf7cb
notify: properly NUL-terminate received messages
2010-06-18 23:13:40 +02:00
Lennart Poettering
d0b170c813
main: don't segfault when --log-color is passed without parameter
2010-06-18 23:13:15 +02:00
Lennart Poettering
c952c6ece2
service: add minimal access control logic for notifcation socket
2010-06-18 23:12:48 +02:00
Lennart Poettering
e55224ca65
service: when we supervise a process, ensure it is our child
2010-06-18 22:05:29 +02:00
Lennart Poettering
c32dd69b46
install: make systemd-install useful for installation of template instances
2010-06-18 21:33:15 +02:00
Lennart Poettering
4545812fbe
systemctl: don't fail if first argument to shutdown isn't 'now' just warn loudly.
2010-06-18 20:26:05 +02:00
Lennart Poettering
442b90946a
systemctl: when called as shutdown, fail if first argument isn't 'now'
2010-06-18 20:23:39 +02:00
Lennart Poettering
e4a9373fb3
systemctl: when called as shutdown, properly handle user specified wall message
2010-06-18 20:23:17 +02:00
Lennart Poettering
33be102a21
cgroup: make sure the user cannot accidentaly unmount our cgroup filesystem
2010-06-18 20:15:34 +02:00
Lennart Poettering
2cb1a60d14
init: call telinit in case we are run as init and not pid1
2010-06-18 20:01:01 +02:00
Lennart Poettering
629c210d3f
utmp: properly initialize local variables
2010-06-18 19:18:03 +02:00
Lennart Poettering
d55ae9e6d7
systemctl: add compat support for shutting down the system via upstart
2010-06-18 19:16:14 +02:00
Lennart Poettering
ddb26e1818
execute: add EnvironmentFile= option
2010-06-18 06:06:24 +02:00
Lennart Poettering
eb22ac37f3
systemctl: add /dev/initctl fallback
2010-06-18 04:44:53 +02:00
Lennart Poettering
514f4ef52f
systemctl: add verbs for special units
2010-06-18 04:22:59 +02:00
Lennart Poettering
ef2f1067d0
systemctl: warn users via wall that the system goes down
2010-06-18 02:28:35 +02:00
Lennart Poettering
8745297f98
gcc: disable warn_unused_result attribute warnings
2010-06-17 23:47:59 +02:00
Lennart Poettering
7cfdbb3cfe
tcpwrap: add missing header files for suse
2010-06-17 23:31:36 +02:00
Lennart Poettering
706243a2d2
sd-daemon: add gcc format string attribute to sd_notifyf
2010-06-17 23:26:20 +02:00
Lennart Poettering
7d7936059f
manager: expose a few special units via SIGRTMIN+x signals
2010-06-17 23:22:56 +02:00
Lennart Poettering
e4b613402d
systemctl: provide compatibility implementations for various sysv utilities
2010-06-17 22:57:28 +02:00
Lennart Poettering
5925dd3c7a
service: rework PID parsing logic everywhere
2010-06-17 22:55:53 +02:00
Lennart Poettering
08bfb8106b
sd-daemon: extend return value logic of sd_notify()
2010-06-17 22:53:55 +02:00
Lennart Poettering
bbe63281ea
log: make color/location logging optional
2010-06-17 22:52:55 +02:00
Lennart Poettering
3ba686c107
util: implement parse_pid() function
2010-06-17 22:50:35 +02:00
Lennart Poettering
4a2a8b5a82
notify: add systemd-notify command line tool
2010-06-17 22:50:06 +02:00
Lennart Poettering
5b6319dcee
service: optionally call into PAM when dropping priviliges
2010-06-16 21:54:17 +02:00
Lennart Poettering
04aa0cb9c4
execute: setup namespace after doing NSS calls
2010-06-16 16:39:28 +02:00
Lennart Poettering
df1f0afe0c
tcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in main systemd process
2010-06-16 16:27:24 +02:00
Lennart Poettering
0213c3f810
socket: add optional libwrap support
2010-06-16 15:41:29 +02:00
Lennart Poettering
18c78fb1af
typo: the correct spelling is maintenance not maintainance
2010-06-16 14:01:55 +02:00
Lennart Poettering
8c47c7325f
notify: add minimal readiness/status protocol for spawned daemons
2010-06-16 05:10:31 +02:00
Lennart Poettering
17586c16ba
kmod: autoload unix.ko if it isn't around
2010-06-16 05:07:57 +02:00
Lennart Poettering
5515116b61
cgroup: drop inherit flag, this mus be fixed in the kernel
2010-06-16 05:07:30 +02:00
Lennart Poettering
41192f6e8a
main: fix help regarding --unit/systemd.unit=
2010-06-16 05:06:55 +02:00
Lennart Poettering
a4bfb3990b
strv: introduce strv_find_prefix()
2010-06-16 05:06:02 +02:00
Lennart Poettering
d3782d60cd
util: introduce random_ull()
2010-06-16 05:05:36 +02:00
Lennart Poettering
10e87ee7f6
install: add systemd-install tool for managing alias/wants symlinks
2010-06-16 01:58:50 +02:00
Lennart Poettering
2c7108c40a
util: introduce readlink_and_make_absolute()
2010-06-16 01:56:00 +02:00
Lennart Poettering
b08a35509c
systemctl: make sure getopt doesn't segfault
2010-06-15 19:47:38 +02:00
Lennart Poettering
406eaf930b
service: never supervise ourselves
2010-06-15 19:47:13 +02:00
Lennart Poettering
84e3543ef4
manager: split off path lookup logic into own .c file
2010-06-15 14:45:15 +02:00
Lennart Poettering
2ded0c0442
manager: recheck unit paths on daemon reload
2010-06-15 14:32:26 +02:00
Lennart Poettering
479ef5d398
systemctl: fix race in --block
2010-06-15 04:24:30 +02:00
Lennart Poettering
fd0d7f7a6e
dbus: fix match
2010-06-15 04:24:16 +02:00
Lennart Poettering
7e4249b94e
systemctl: reimplement systemctl in pure C without Vala/GObject
2010-06-15 02:51:55 +02:00
Lennart Poettering
fb1af5b0fe
initctl: make sure we don't exit due to dbus disconnect
2010-06-15 02:46:26 +02:00
Lennart Poettering
cf3e247193
dbus: tighten match rules a bit
2010-06-15 02:46:07 +02:00
Lennart Poettering
53ec43c61d
set: introduce set_free_free()
2010-06-15 02:45:26 +02:00
Lennart Poettering
3930341a76
log: don't open log targets too early
2010-06-11 12:31:50 +02:00
Lennart Poettering
7020e8be3f
reword a few log messages
2010-06-11 11:39:59 +02:00
Lennart Poettering
2f198e2f36
main: rename systemd.default= to systemd.unit=
2010-06-09 15:38:46 +02:00
Lennart Poettering
9fae33d2c8
log: add null log target
2010-06-09 15:37:40 +02:00
Lennart Poettering
b1a954eace
dbus: add missing bus activation file
2010-06-07 04:20:50 +02:00
Lennart Poettering
af25ec12e3
dbus: allow systemd to receive activation requests
2010-06-07 04:15:37 +02:00
Lennart Poettering
fc5df99e24
service: honour suse style Kxx links in boot.d/ directory
2010-06-07 02:42:01 +02:00
Lennart Poettering
dfd8eeed39
unit: bump up default timeout to 60s
2010-06-05 02:16:42 +02:00
Lennart Poettering
964e0949dd
unit: when destructing units make sure we don't readd the unit to the gc queue after we already removed it there
2010-06-05 02:16:20 +02:00
Lennart Poettering
27ca8d7a25
socket: verify socket type properly when desrializing
2010-06-05 00:52:49 +02:00
Lennart Poettering
46018844bc
dbus: be a bit more verbose for bus activation
2010-06-04 22:35:31 +02:00
Lennart Poettering
a013b84b49
unit: avoid assert on daemon reload
2010-06-04 22:31:33 +02:00
Lennart Poettering
6dded4c705
dbus: there might be names already registered before we can connect, make sure to enumerate them when checking whether a service is already started
2010-06-04 22:03:22 +02:00
Lennart Poettering
c4653a4dfe
service: handle properly if a dbus process terminates before acquiring the dbus name
2010-06-04 21:23:00 +02:00
Lennart Poettering
b410e6b951
unit: if a unit external changes state, consider that good enough for a job to succeed, don't enforce waiting for the dependencies
2010-06-04 20:13:41 +02:00
Lennart Poettering
2149e37c79
manager: dump to usual debug channel on SIGUSR2, don't rely on stdin
2010-06-04 19:45:53 +02:00
Lennart Poettering
f92a18f527
units: introduce and explain sysinit.target
2010-06-04 18:43:40 +02:00
Lennart Poettering
2f630e5ffd
unit: make sure deserialized_job's type is known
2010-06-03 16:53:59 +02:00
Lennart Poettering
cca098b095
unit: serialize jobs in addition to units
2010-06-03 14:27:02 +02:00
Lennart Poettering
a4ddf82766
execute: fix parsing of StandardError= setting
2010-06-03 03:37:12 +02:00
Lennart Poettering
35374c804d
test: update test-engine.c to work again
2010-06-03 03:01:29 +02:00
Lennart Poettering
23e3c58809
manager: when we sweep the tree when looking for ordering cycles, remember and reuse if we already decided a tree was loop free, to improve speed drastically
2010-06-03 03:00:47 +02:00
Lennart Poettering
a2e0f3d394
mount: parse both parts of the mount options from /proc/self/mountinfo
2010-06-02 23:03:39 +02:00
Lennart Poettering
a5478cd440
dbus: hide some debug output
2010-06-02 22:18:57 +02:00
Lennart Poettering
93a46b0bc5
macro: avoid name clash with _unused on ppc
2010-06-02 21:34:03 +02:00
Lennart Poettering
f5644ae461
mounts: reindent table
2010-06-02 21:15:27 +02:00
Lennart Poettering
122c1c8198
mounts: make /cgroup a tmpfs file system
2010-06-02 21:05:23 +02:00
Lennart Poettering
1f48cf56cb
service: change default service type to 'simple' since that is the future
2010-06-02 19:17:23 +02:00
Christian Ruppert
2c7c61442e
swap: Fix uninitialized variable
2010-06-02 18:54:50 +02:00
Lennart Poettering
10a49d708d
hostname: keep dots in hostname
2010-06-02 15:52:13 +02:00
Lennart Poettering
695d1ef183
sd-daemon: rework documentation a little
2010-06-02 04:24:33 +02:00
Lennart Poettering
0034c15c60
dbus: implement systemd side of dbus activation glue
2010-06-02 04:24:16 +02:00
Lennart Poettering
c87eba546a
dbus: add simplified way to start an arbitrary unit in a single method call
2010-06-01 19:47:46 +02:00
Lennart Poettering
723c83fd05
service: interpret Debian-style X-Interactive LSB header field
2010-05-24 22:32:49 +02:00
Lennart Poettering
a1b256b0b5
unit: introduce exit.service for exiting from session instances
2010-05-24 22:32:44 +02:00
Lennart Poettering
1e287fe32f
unit: turn display-manager.target into a service
2010-05-24 22:29:59 +02:00
Lennart Poettering
6464aa0890
service: add extended debian facilities
2010-05-24 19:56:25 +02:00
Lennart Poettering
c2b35af64c
service: be case insensitive when parsing LSB headers, because some Debian services use lower case fields
2010-05-24 19:23:11 +02:00
Lennart Poettering
0c565ed702
service: interpret suse/debian style X-Start-Before/X-Start-After
2010-05-24 19:00:13 +02:00
Lennart Poettering
8640e11135
sd-daemon: set FD_CLOEXEC by default
2010-05-24 18:59:46 +02:00
Lennart Poettering
8efe3c0114
main: don't try to mount api dirs if we are not root
2010-05-24 18:59:13 +02:00
Lennart Poettering
01f78473b1
path: add .path unit type for monitoring files
2010-05-24 05:25:33 +02:00
Lennart Poettering
871d7de47c
timer: fully implement timer units
2010-05-24 01:45:54 +02:00
Lennart Poettering
4288f61921
dbus: automatically generate and install introspection files
2010-05-23 03:45:33 +02:00
Lennart Poettering
9a57a1fdd6
systemctl: subscribe to changes of existing units/jobs
2010-05-22 04:39:37 +02:00
Lennart Poettering
1b91d3e8f4
execute: fix typo
2010-05-22 04:39:16 +02:00
Lennart Poettering
7535cc788e
systemctl: add --block switch for synchronous starting of units
2010-05-22 04:27:24 +02:00
Lennart Poettering
967d86b5cb
manager: link ~/.local/share/systemd/session to ~/.config/systemd/session if possible
2010-05-22 03:32:00 +02:00
Lennart Poettering
c3f6d6757a
manager: canonicalize search paths and filter out non-existing paths and those pointing to the same fs directory
2010-05-22 03:30:46 +02:00
Lennart Poettering
9a34ec5fbb
execute: only reset those signals to the default we really need to reset to the default
2010-05-22 01:46:08 +02:00
Lennart Poettering
e1ce2c2782
device: make use of new libudev tags logic
2010-05-22 01:00:28 +02:00
Lennart Poettering
11c3a4eeb7
kmod: automatically load a few kernel modules we need for normal operation before udev is active
2010-05-22 00:29:53 +02:00
Lennart Poettering
bc0f8771f2
unit: add simple only-by-dependency flag for units
2010-05-21 23:41:54 +02:00
Lennart Poettering
c0120d992c
socket: fix parsing of bind_ipv6_only
2010-05-21 23:41:25 +02:00
Lennart Poettering
88ce42f694
sd-daemon: verify socket family, too
2010-05-21 17:06:40 +02:00
Lennart Poettering
dde770cfc6
sd-daemon: fix listening socket verification
2010-05-21 03:34:04 +02:00
Lennart Poettering
19b160fae9
mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet
2010-05-21 03:32:58 +02:00
Lennart Poettering
8cbef76075
mount: refuse mount units that have not been loaded from any source
2010-05-21 03:32:21 +02:00
Lennart Poettering
9726b29e98
log: handle multi-line log messages properly
2010-05-21 03:31:49 +02:00
Lennart Poettering
b6dbbe1c98
socket: fix error handling
2010-05-20 20:46:17 +02:00
Lennart Poettering
2b061f5a4b
socket: format IPv4-in-IPv6 addresses as IPv4 addresses for instance name
2010-05-20 20:46:06 +02:00
Lennart Poettering
8e47d742a8
service: when start is repeated too often, consider that failure
2010-05-20 20:45:20 +02:00
Lennart Poettering
7c64bbc387
cgroup: consider not-realized cgroups empty when killing all processes in them
2010-05-20 20:45:00 +02:00
Lennart Poettering
68d157d894
loopback: negate netlink error code before we pass it to strerror()
2010-05-20 19:08:37 +02:00
Lennart Poettering
cd250a39da
sd-daemon: extend documentation a little
2010-05-20 19:01:29 +02:00
Lennart Poettering
86700cf7ad
loopback-setup: be more verbose when something is failing
2010-05-20 19:01:14 +02:00
Kay Sievers
cfe243e372
units: SUSE support
2010-05-20 17:55:42 +02:00
Lennart Poettering
eaf67512d3
systemadm: fix link when fragment path is unknown
2010-05-20 02:37:18 +02:00
Lennart Poettering
07ded1e8ba
systemadm: make fragment path a clickable link
2010-05-20 02:31:57 +02:00
Lennart Poettering
dec5d55298
execute: check ppid, not pid for 1
2010-05-20 01:34:42 +02:00
Lennart Poettering
ecc6e2b849
logger: add an after dependency on the syslog dependency
2010-05-20 01:21:38 +02:00
Lennart Poettering
d5159713c1
service: when we cannot start due to rate limít consider that a real failure
2010-05-20 01:14:43 +02:00
Lennart Poettering
9eb63b3cb4
job: don't show (null) prefix in dump
2010-05-20 01:14:09 +02:00
Lennart Poettering
7c394faa38
sd-daemon: add API to verify socket types
2010-05-20 01:13:43 +02:00
Lennart Poettering
ff876e283a
execute: reopen console in the spawned processes, if necessary
2010-05-20 01:08:13 +02:00
Lennart Poettering
ca9a0317a4
automount: try to modprobe autofs4 if its lacking
2010-05-19 22:30:28 +02:00
Lennart Poettering
dfca381db3
shorten copyright header of configuration files
2010-05-19 22:14:29 +02:00
Lennart Poettering
d017c6ca11
service: refuse to parse sysv scripts that are requested with a boot. prefix or .sh suffix
2010-05-19 21:52:30 +02:00
Lennart Poettering
6c666e26c5
load-fragment: add support for overriding argv[0] in parsed command lines
2010-05-19 21:51:53 +02:00
Lennart Poettering
8783d2feae
execute: send output of services by default to same place as systemd internal output
2010-05-19 21:51:25 +02:00
Lennart Poettering
03fd9c4932
execute: simplify stdin/stderr/stdout fixup a little
2010-05-19 21:50:34 +02:00
Lennart Poettering
9a6bca7aad
execute: s/EXEC_OUTPUT_KERNEL/EXEC_OUTPUT_KMSG/ to follow LOG_TARGET_xxx nomenclature
2010-05-19 21:49:03 +02:00
Lennart Poettering
15ca554ba3
service: by default send service output to syslog, except for SysV services which should go to the console
2010-05-19 04:28:25 +02:00
Lennart Poettering
56d748b47e
service: sysv_chkconfig_order() actually has nothing to do with chkconfig anymore, so rename it
2010-05-19 03:44:37 +02:00
Lennart Poettering
b7ccee3c84
service: properly drop boot. prefix and .sh suffix from dependency names in the LSB headers
2010-05-19 03:44:07 +02:00
Lennart Poettering
9c5c00f9fe
logger: use the right enum type
2010-05-19 03:42:24 +02:00
Lennart Poettering
1b5601907e
automount: never consider our own mount point a prefix mount of us
2010-05-19 03:42:05 +02:00
Lennart Poettering
c8513d54d2
log: never close file descriptors < 3
2010-05-18 05:10:52 +02:00
Lennart Poettering
a4312405f2
manager: before entering loop dispatch queued up SIGCHLDs
2010-05-18 04:16:33 +02:00
Lennart Poettering
b86d44e5ab
unit: don't gc units that are still in STUB state
2010-05-18 04:05:27 +02:00
Lennart Poettering
21de3988ab
main: ignore EPERM in TIOCSTTY when opening terminal for crash shell
2010-05-18 03:40:19 +02:00
Lennart Poettering
5b2a090372
main: if we fail to acquire a terminal for the crash shell, warn but continue
2010-05-18 03:27:02 +02:00
Lennart Poettering
670802d4b1
units: replace a few non-essential API mounts with automount units
2010-05-18 03:10:17 +02:00
Lennart Poettering
53f7d807bf
cgroup: don't require debug cgroup controller anymore, use name hierarchy instead
2010-05-17 23:54:44 +02:00
Lennart Poettering
340d89e06e
build-sys: add small redirecting Makefiles to simplify compilation from within emacs
2010-05-17 01:44:03 +02:00
Lennart Poettering
07c132ffdd
swap: add swap.target Wants links only when running as system instance
2010-05-16 22:48:14 +02:00
Lennart Poettering
307e85efbb
mount: add remote-fs.target/local-fs.target Wants links only when running as system instance
2010-05-16 22:46:03 +02:00
Lennart Poettering
9f23530860
man: document a few special units
2010-05-16 22:45:11 +02:00
Lennart Poettering
a7b6f8e578
units: automatically generated syslog.target
2010-05-16 21:15:46 +02:00
Lennart Poettering
dfac97b21e
build-sys: generate intermediate files in subdirs
2010-05-16 19:09:22 +02:00
Lennart Poettering
797e2f0e4d
build-sys: move remaining source files to src/
2010-05-16 18:51:06 +02:00
Lennart Poettering
e99e38bbdc
build-sys: move source files to subdirectory
2010-05-16 18:45:24 +02:00