summaryrefslogtreecommitdiff
path: root/units
AgeCommit message (Collapse)Author
2012-04-12units: start vconsole-setup only if there's actually a virtual console deviceLennart Poettering
2012-04-12units: run sysctl stuff only when /proc/sys is actually writable, to quieten ↵Lennart Poettering
container boots a little
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-04-11units: exclude gettys from isolate requestsLennart Poettering
gettys are nowadays mostly autospawned and hence usually subject to being shut down on isolate requests, since they are no dependency of any other unit. This is a bad idea if the user isolates between multi-user.graphical and graphical.target, hence exclude them from the isolation. This has the effect that gettys no longer cleaned up when emergency.target is isolated, which might actualy be considered a feature, even though it is a change from previous behaviour... Note that the one getty that really matters (the one on tty1) is still removed when isolating to emergency.target since it conflicts with emergency.service.
2012-04-11enable proper access timestamps on all tmpfs mountsKay Sievers
2012-04-11units: introduce nss-user-lookup.targetLennart Poettering
This separates user/group NSS lookups from host/network NSS lookups. By default order all network mounts after host/network NSS lookups now, and logind execution after user/group NSS lookups.
2012-04-04units: direct users to the journal for logs when entering rescue modeLennart Poettering
2012-04-04units/: use @SYSTEMCTL@ instead of hardcoded pathsDave Reisner
Especially in the case of --enable-split-usr, several units will point to the wrong location for systemctl. Use @SYSTEMCTL@ which will always contain the proper path.
2012-04-04udev: fix path in udev.serviceKay Sievers
2012-04-04move imported udev into placeKay Sievers
2012-03-27units: mount /tmp as tmpfsKay Sievers
The default setups should be a stateless as possible. /tmp as tmpfs is the intended default for general purpose systems. Small temporary files should not be stored on disk; lager files, or files which should potentially survive a reboot, belong into /var/tmp. Also catch up with some good old UNIX history. More details are here: https://fedoraproject.org/wiki/Features/tmp-on-tmpfs
2012-03-27units: get rid of var-run.mount and var-lock.mountLennart Poettering
Since a number of distribitions don't need this compat glue anymore drop it from systemd upstream. Distributions which still haven't converted to /run can steal these unit files from the git history if they need to.
2012-03-27units: don't mount tmpfs on /media anymoreLennart Poettering
udisks2 doesn't use /media anymore, instead mounts removable media in a user-private directory beneath /run. /media is hence mostly obsolete and hence it makes little sense to continue to mount a tmpfs to it. Distributions should consider dropping the mount point entirely since nothing uses it anymore.
2012-03-22systemd: mount the securityfs filesystem at early stageRoberto Sassu
This is an S/MIME signed message The mount of the securityfs filesystem is now performed in the main systemd executable as it is used by IMA to provide the interface for loading custom policies. The unit file 'units/sys-kernel-security.mount' has been removed because it is not longer necessary. Signed-off-by: Roberto Sassu <roberto.sassu@polito.it> Acked-by: Gianluca Ramunno <ramunno@polito.it>
2012-03-13socket: add option for SO_PASSECLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=798760 (Note that this work is not complete yet, as the kernel seems to send us useless data with SCM_SECURITY enabled)
2012-02-15units: reword rescue/emergency mode message to fit in 80charsLennart Poettering
2012-02-10journal: add CAP_SETUID and CAP_SETGID to capabilities for journald, so that ↵Lennart Poettering
we can fake SCM_CREDENTIALS
2012-02-09service: ignore SIGPIPE by defaultsystemd/v41Lennart Poettering
2012-02-09journal: limit caps we pass to journaldLennart Poettering
2012-02-08move /usr/bin/systemd to /usr/lib/systemd/systemdKay Sievers
2012-01-27logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on ↵Mike Kazantsev
"activate" action
2012-01-27log: increase socket buffers for logging by defaultLennart Poettering
2012-01-12core: switch all log targets to go directly to the journal, instead via syslogLennart Poettering
2012-01-12units: make sure syslog socket goes away early during shutdownLennart Poettering
2012-01-06units: remove left-over unit fileLennart Poettering
2012-01-06journald: start the journal after the syslog socket, so that the syslog ↵Lennart Poettering
socket queues syslog messages from early boot on
2012-01-06kmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and ↵Lennart Poettering
replaced by journald
2012-01-06stdout: remove stdout-syslog-bridge since it is now obsoleted by journaldLennart Poettering
2012-01-05journal: move sockets into their own subdirLennart Poettering
2011-12-31socket: rename the PassCred= option to PassCredentials=, since we don't want ↵Lennart Poettering
to needlessly abbreviate options unless they are very well established
2011-12-31Merge branch 'journal'Lennart Poettering
2011-12-30journald: forward all syslog messages to syslogdLennart Poettering
2011-12-30journal: add unit files and shared library glueLennart Poettering
2011-12-02rc-local: order after network.targetMichal Schmidt
As suggested by Bill Nottingham: rc.local is often used for frobbing the network. https://bugzilla.redhat.com/show_bug.cgi?id=754789
2011-12-02rc-local: no need to check if the script is executableMichal Schmidt
rc-local.service is pulled in by a generator only if the script is executable. No need to check again.
2011-12-02add a generator to pull rc-local.service inMichal Schmidt
rc-local.service acts as an ordering barrier even if its condition is false, because conditions are evaluated when the service is about to be started. To avoid the ordering barrier in a legacy-free system, add a generator to pull rc-local.service into the transaction only if the script is executable. If/when we rewrite SysV compatibility into a generator, this one can become a part of it.
2011-11-30syslog: use PassCred=yes for the /dev/log socketMichal Schmidt
Both kmsg-syslogd and the real syslog service want to receive SCM_CREDENTIALS. With socket activation it is too late to set SO_PASSCRED in the services.
2011-11-30shutdownd: use PassCred=yes in the socket unitMichal Schmidt
Since Linux 3.2 in order to receive SCM_CREDENTIALS it is not sufficient to set SO_PASSCRED just before recvmsg(). The option has to be already set when the sender sends the message. With socket activation it is too late to set the option in the service. It must be set on the socket right from the start. See the kernel commit: 16e57262 af_unix: dont send SCM_CREDENTIALS by default Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=757628
2011-11-09units/suse: let rc-local.service log to syslogMichal Schmidt
Same change as the previous commit did for Fedora. fcrozat agreed.
2011-11-09units/fedora: let rc-local.service log to syslogMichal Schmidt
rc-local.service should not be excluded from the default stdout logging. Missing logs were noticed by Andrew McNabb in https://bugzilla.redhat.com/show_bug.cgi?id=750032#c3
2011-11-09units: drop unnecessary 'StandardOutput=syslog'Michal Schmidt
DefaultStandardOutput is syslog anyway. There's no reason to assume that the administrator would want these units to be excluded when he configures a different DefaultStandardOutput.
2011-11-02Add Mageia supportDexter Morgan
This patch adds support for the Mageia Linux distribution: http://www.mageia.org/ Mageia is a fork of Mandriva although some divergence has already occured and thus inclusion of these changes upstream allow us to (hopefully) migrate more rapidly to the new standard approaches systemd offers. Indeed, we already use the preferred mechanism of OS identification via the /etc/os-release file rather than a distro specific variation. This patch mostly mirrors the patch added previously for Mandriva support. In addition to those original authors, this patch was mostly written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
2011-11-01units: drop [Install] section from remote-fs-pre.targetLennart Poettering
remote-fs-pre.target is not a unit a user should ever explicitly enable. Instead services which need to hook before network mounts should pull it in.
2011-10-11units: forgot target unitsLennart Poettering
2011-10-11units: increase LimitNOFILE a bitLennart Poettering
since we need one fd per session (for logind) and one fd per service (for stdout-syslog-bridge) increase the default rlimit a bit.
2011-10-11units: remount root and API FS before all mount units are appliedLennart Poettering
In order to ensure that bind mounts copy the final mount settings to the new bind mount make the root and API FS mount options are applied before the other file systems are mounted. https://bugzilla.redhat.com/show_bug.cgi?id=718464
2011-09-23readahead: opt out of bridge logging for readahead in order not to delay ↵Lennart Poettering
things unnecessarily
2011-09-22units: fix rescue.service race with plymouthMichal Schmidt
It was possible for the "ExecStartPre=-/bin/plymouth quit" to race with plymouth-start.service which is pulled in indirectly by basic.target -> sysinit.target. The race left plymouth running on the terminal, making it unusable for rescue purposes. https://bugzilla.redhat.com/show_bug.cgi?id=710487
2011-09-22units: introduce unit file for FUSE fsLennart Poettering
FUSE and configfs is very very similar, so handle both the same way.
2011-09-21units: In MeeGo there was more than one ExecStart lines present that caused ↵Marko Saukko
systemd to refuse the rescue.service