summaryrefslogtreecommitdiff
path: root/units
AgeCommit message (Collapse)Author
2012-05-04units: use OOMScoreAdjust= in the unit files to set OOM score adjustLennart Poettering
2012-05-03units: explicit Type=dbus is now redundantLennart Poettering
2012-04-30units: make sure /var is writable before initializing random seedLennart Poettering
2012-04-30unit: add new dependency type RequiresMountsFor=Lennart Poettering
RequiresMountsFor= is a shortcut for adding requires and after dependencies to all mount units neeed for the specified paths. This solves a couple of issues regarding dep loop cycles for encrypted swap.
2012-04-25timedated: introduce systemd-timedated-ntp.target which is controlled by ↵Lennart Poettering
timedated's NTP setting We shouldn't hardcode the name of the NTP implementation in the timedated mechanism, especially since Fedora currently switched from NTP to chrony. This patch introduces a new target that is enabled/disabled instead of the actual NTP implementation. The various NTP implementations should then add .wants/ symlinks to their services and BindTo back to the target, so that their implementations are started/stopped jointly with the target. https://bugzilla.redhat.com/show_bug.cgi?id=815748
2012-04-24remount: consolidate remount-api-vfs and remount-rootfs into oneLennart Poettering
This has the advantage of removing a confusing warning by mount if the root directory is not listed in fstab.
2012-04-24service: introduce Type=idle and use it for gettysLennart Poettering
Type=idle is much like Type=simple, however between the fork() and the exec() in the child we wait until PID 1 informs us that no jobs are left. This is mostly a cosmetic fix to make gettys appear only after all boot output is finished and complete. Note that this does not impact the normal job logic as we do not delay the completion of any jobs. We just delay the invocation of the actual binary, and only for services that otherwise would be of Type=simple.
2012-04-24readahead: rather than checking for virtualization in the C code, use ↵Lennart Poettering
ConditionVirtualization= in the unit
2012-04-22units: remount file systems only if /etc/fstab actually existsLennart Poettering
2012-04-22units: don't try to load kernel modules if CAP_SYS_MODULE is missingLennart Poettering
2012-04-22units: skip root fsck if the root directory is writableLennart Poettering
2012-04-22default to v102 everywhere, instead of vt100, to synchronize with agettyLennart Poettering
2012-04-22container: spawn a getty instead of a sulogin in a containerLennart Poettering
2012-04-18udev: units - reference systemd-* unitsKay Sievers
2012-04-17udev: install udevd as /usr/lib/systemd/systemd-udevdKay Sievers
2012-04-13units: drop audit reference from description of utmp units since that is ↵Lennart Poettering
build-time optional
2012-04-13units: add CAP_MKNOD condition to the other two udev services tooLennart Poettering
2012-04-13units: do binfmt magic only when /proc/sys is writableLennart Poettering
2012-04-12getty: skip VC gettys if the VC subsystem is not availableLennart Poettering
2012-04-12getty: VC devices are always available, we don't need to wait until they show upLennart Poettering
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