summaryrefslogtreecommitdiff
path: root/src/mount.c
AgeCommit message (Collapse)Author
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-18mount: pull in quota services from local mountpoints with usr/grpquota optionsAndrey Borzenkov
2011-03-17def: centralize definition of default timeout in one placeLennart Poettering
2011-03-08mount: support less cumbersome x-systemd-xxx mount optionsLennart Poettering
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-02-21mount: make sure network mounts are ordered after network.targetLennart Poettering
2011-02-15mount,swap: properly add dependencies to logger if neededLennart Poettering
2011-02-15exec: introduce global defaults for the standard output of servicesLennart Poettering
2011-01-21mount: ignore if an fsck is requested for a bind mount, so that we don't ↵Lennart Poettering
wait for the bind 'device' to show up
2011-01-21automount: fix segfault when shutting downLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=32076
2011-01-20systemctl: highlight failed processes in systemctl statusLennart Poettering
2011-01-20service: when reloading a service fails don't fail the entire service but ↵Lennart Poettering
just the reload job
2011-01-18execute: make sending of SIGKILL on shutdown optionalLennart Poettering
2010-11-17cgroup: by default, duplicate service cgroup in the cpu hierarchyLennart Poettering
2010-11-11split mount_point_is_api() and mount_point_ignore()Kay Sievers
We should not handle the ignore list as API mounts, as systemd itself never touches them. On Thu, Nov 11, 2010 at 10:34, Andreas Jaeger <aj@novell.com> wrote: > > I noticed for some time that systemd-remount-api-vfs is in the > failed state and found now the following in the log files > > systemd-remount-api-vfs[467]: /bin/mount for /proc/bus/usb exited with exit status 32. > systemd-remount-api-vfs[467]: mount: /proc/bus/usb not mounted already, or bad option > systemd[1]: systemd-remount-api-vfs.service: main process exited, code=exited, status=1 > systemd[1]: Unit systemd-remount-api-vfs.service entered failed state.
2010-11-10cryptsetup: minimal cryptsetup unit generatorLennart Poettering
2010-10-29mount: don't pull in nofail mounts by default, but use them if they are aroundLennart Poettering
2010-10-29unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵Lennart Poettering
weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
2010-10-29unit: replace StopRetroactively= by BindTo= dependenciesLennart Poettering
The property StopRetroactively= needs to be per-dependency, not per-unit, in order to properly express dependencies between .mount units and its .device and fsck .service units. If the .device unit is unplugged the mount should go away, but if the fsck process terminates the .mount should stay.
2010-10-28unit: replace recursive_stop by stop_retroactively to simplify things a littleLennart Poettering
2010-10-26swap: add only swaps listed in /etc/fstab automatically to swap.target, ↵Lennart Poettering
others should be added via .wants/ links
2010-10-22systemctl: introduce systemctl killLennart Poettering
2010-10-20mount: pull in quotacheck.service, not quotacheck.targetLennart Poettering
2010-10-20mount: require fsckLennart Poettering
2010-10-20mount: do not implicitly pull in fsck service for root dirLennart Poettering
2010-10-19fsck: properly hook in fsck everywhere, add special support for fsck'ing ↵Lennart Poettering
root dir
2010-10-18swap: listen for POLLPRI events on /proc/swaps if availableLennart Poettering
2010-10-13mount: pull in fsck only in systemd instancesLennart Poettering
2010-10-13mount: hook in q fsck@.service instance for all mount points with passno > 0Lennart Poettering
2010-10-12mount: minor cleanupsLennart Poettering
2010-10-08service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a serviceLennart Poettering
This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08mount: properly handle NULL fstypeLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=636752
2010-10-05mount: Don't stop the mountinfo parser if one line can't be readFabiano Fidêncio
The current behavior of the /proc/self/mountinfo parser is to stop the parser on parse failures I'm only changing this behavior to try the next line and adding a warning if occurs a fail.
2010-10-05fix typo: s/seperat/separat/gDave Reisner
2010-10-05mount: sort network mounts after network.target by defaultLennart Poettering
2010-09-28mount: properly handle bind mountsLennart Poettering
2010-09-27mount: Remove double include of "mount.h"Fabiano Fidencio
2010-09-16vconsole: add new utility to initialize the virtual consoleLennart Poettering
2010-08-31service: rework killing logic so that we always kill the main process, even ↵Lennart Poettering
if it left our service cgroup Related to: http://bugzilla.redhat.com/show_bug.cgi?id=626477
2010-08-31manager: add missing second part of s/maintenance/failed/Matthew Miller
2010-08-25mount: imply noauto for mount points configured with native mount filesLennart Poettering
2010-08-25mount: rework automatic mounting to follow the 'nofail' option in fstabLennart Poettering
2010-08-25mount: add global configuration options for handling of auto mountsLennart Poettering
2010-08-21mount: don't create depdency for device node of root fs, since it is always ↵Lennart Poettering
there
2010-08-20mount: properly handle LABEL="" in fstabLennart Poettering
2010-08-20dbus: follow standardized fdo PropertiesChanged signal specLennart Poettering
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-11gc: remove a lot of unused codeLennart Poettering
2010-08-11clang: fix numerous little issues found with clang-analyzerLennart Poettering
2010-08-09manager: when two pending jobs conflict, keep the one that "conflicts", ↵Lennart Poettering
remove the one that is "conflicted" This gives the writer of units control which unit is kept and which is stopped when two units conflict.