summaryrefslogtreecommitdiff
path: root/units
Commit message (Collapse)AuthorAge
* move imported udev into placeKay Sievers2012-04-04
|
* units: mount /tmp as tmpfsKay Sievers2012-03-27
| | | | | | | | | | | | | 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
* units: get rid of var-run.mount and var-lock.mountLennart Poettering2012-03-27
| | | | | | 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.
* units: don't mount tmpfs on /media anymoreLennart Poettering2012-03-27
| | | | | | | | | 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.
* systemd: mount the securityfs filesystem at early stageRoberto Sassu2012-03-22
| | | | | | | | | | | | 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>
* socket: add option for SO_PASSECLennart Poettering2012-03-13
| | | | | | | 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)
* units: reword rescue/emergency mode message to fit in 80charsLennart Poettering2012-02-15
|
* journal: add CAP_SETUID and CAP_SETGID to capabilities for journald, so that ↵Lennart Poettering2012-02-10
| | | | we can fake SCM_CREDENTIALS
* service: ignore SIGPIPE by defaultLennart Poettering2012-02-09
|
* journal: limit caps we pass to journaldLennart Poettering2012-02-09
|
* move /usr/bin/systemd to /usr/lib/systemd/systemdKay Sievers2012-02-08
|
* logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on ↵Mike Kazantsev2012-01-27
| | | | "activate" action
* log: increase socket buffers for logging by defaultLennart Poettering2012-01-27
|
* core: switch all log targets to go directly to the journal, instead via syslogLennart Poettering2012-01-12
|
* units: make sure syslog socket goes away early during shutdownLennart Poettering2012-01-12
|
* units: remove left-over unit fileLennart Poettering2012-01-06
|
* journald: start the journal after the syslog socket, so that the syslog ↵Lennart Poettering2012-01-06
| | | | socket queues syslog messages from early boot on
* kmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and ↵Lennart Poettering2012-01-06
| | | | replaced by journald
* stdout: remove stdout-syslog-bridge since it is now obsoleted by journaldLennart Poettering2012-01-06
|
* journal: move sockets into their own subdirLennart Poettering2012-01-05
|
* socket: rename the PassCred= option to PassCredentials=, since we don't want ↵Lennart Poettering2011-12-31
| | | | to needlessly abbreviate options unless they are very well established
* Merge branch 'journal'Lennart Poettering2011-12-31
|\
| * journald: forward all syslog messages to syslogdLennart Poettering2011-12-30
| |
| * journal: add unit files and shared library glueLennart Poettering2011-12-30
| |
* | rc-local: order after network.targetMichal Schmidt2011-12-02
| | | | | | | | | | | | | | As suggested by Bill Nottingham: rc.local is often used for frobbing the network. https://bugzilla.redhat.com/show_bug.cgi?id=754789
* | rc-local: no need to check if the script is executableMichal Schmidt2011-12-02
| | | | | | | | | | rc-local.service is pulled in by a generator only if the script is executable. No need to check again.
* | add a generator to pull rc-local.service inMichal Schmidt2011-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | syslog: use PassCred=yes for the /dev/log socketMichal Schmidt2011-11-30
| | | | | | | | | | | | 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.
* | shutdownd: use PassCred=yes in the socket unitMichal Schmidt2011-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | units/suse: let rc-local.service log to syslogMichal Schmidt2011-11-09
| | | | | | | | Same change as the previous commit did for Fedora. fcrozat agreed.
* | units/fedora: let rc-local.service log to syslogMichal Schmidt2011-11-09
| | | | | | | | | | | | | | 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
* | units: drop unnecessary 'StandardOutput=syslog'Michal Schmidt2011-11-09
|/ | | | | | 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.
* Add Mageia supportDexter Morgan2011-11-02
| | | | | | | | | | | | | | | 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.
* units: drop [Install] section from remote-fs-pre.targetLennart Poettering2011-11-01
| | | | | | 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.
* units: forgot target unitsLennart Poettering2011-10-11
|
* units: increase LimitNOFILE a bitLennart Poettering2011-10-11
| | | | | since we need one fd per session (for logind) and one fd per service (for stdout-syslog-bridge) increase the default rlimit a bit.
* units: remount root and API FS before all mount units are appliedLennart Poettering2011-10-11
| | | | | | | | 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
* readahead: opt out of bridge logging for readahead in order not to delay ↵Lennart Poettering2011-09-23
| | | | things unnecessarily
* units: fix rescue.service race with plymouthMichal Schmidt2011-09-22
| | | | | | | | | | | 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
* units: introduce unit file for FUSE fsLennart Poettering2011-09-22
| | | | FUSE and configfs is very very similar, so handle both the same way.
* units: In MeeGo there was more than one ExecStart lines present that caused ↵Marko Saukko2011-09-21
| | | | systemd to refuse the rescue.service
* units: we don't need to check whether /sys/kernel/security is already ↵Lennart Poettering2011-09-21
| | | | mounted since we'll enumerate that fact anyway
* units: drop automount unit for /dev/hugepagesLennart Poettering2011-09-21
| | | | | Since hugetlbfs cannot be compiled as kernel module there's little point in doing on-demand mounting via autofs for it.
* units: drop automount unit for /dev/mqueueLennart Poettering2011-09-21
| | | | | Since the mqueue support cannot be built as a module there's little benefit in having an autofs mount point set up for this.
* units: drop automount unit for /sys/kernel/securityLennart Poettering2011-09-21
| | | | | Since securityfs cannot be build as module there's little value in having an on-demand autofs mount point for it.
* units: drop automount unit for /sys/kernel/debugLennart Poettering2011-09-21
| | | | | Since debugfs cannot be compiled as module there's little benefit in having it as autofs mount point.
* units: drop /sys/kernel/config automount unitLennart Poettering2011-09-21
| | | | | | | The mount point directory /sys/kernel/config is only created after the module is loaded, hence there's little value in having this an automount unit: the runtime penalty for mounting an autofs here should be the same as for a real mount.
* condition: add ConditionPathIsSymbolicLinkMichal Schmidt2011-09-21
|
* units: don't initialize automount point for securityfs if the initrd already ↵Lennart Poettering2011-09-21
| | | | mounted the directory
* units: direct stdout/stderr of rescue shells to ttyMichal Schmidt2011-09-20
| | | | | | With output of services going to syslog by default now, the rescue shell units need to direct their output to tty explicitly. Specify stderr too, just in case.