summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-11-10service: delay automatic restart if job is pendingLennart Poettering
2010-11-10manager: when isolating undo all pending jobs, tooLennart Poettering
2010-11-10manager: only minimize impact if we are in fail modeLennart Poettering
2010-11-02do not overwrite other udev tagsAndrey Borzenkov
Systemd was unconditionally replacing all tags with own. The net effect was udev-acl tag was lost and devices were not given proper ACLs, making them inaccessible. Before: {pts/0}% udevadm info --query property --name sr0 DEVNAME=/dev/sr0 [...] TAGS=:systemd: {pts/0}% getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: cdrom user::rw- group::rw- other::--- After: {pts/0}% udevadm info --query property --name sr0 DEVNAME=/dev/sr0 [...] TAGS=:udev-acl:systemd: {pts/0}% getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: cdrom user::rw- user:bor:rw- group::rw- mask::rw- other::--- Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
2010-10-31Revert "fsck: add new -l switch to fsck mount options"Michael Biebl
The '-l' option is already taken by fsck.ext[234]: "-l bad_blocks_file Add to badblocks list" This reverts commit cf1a105550766d2251bc10240b6058a37babd600 but keeps the string changes.
2010-10-31fsck: add new -l switch to fsck mount optionsLennart Poettering
2010-10-29fsck: return SUCCESS when we skip the checkKay Sievers
2010-10-29fsck: skip checking / if it is writableKay Sievers
2010-10-29mount: don't pull in nofail mounts by default, but use them if they are aroundLennart Poettering
2010-10-29job: recursively fail BoundBy dependenciesLennart Poettering
2010-10-29fsck: fix target name to check forLennart Poettering
2010-10-29units: order units by default before appropriate targets in case they are ↵Lennart Poettering
pulled indirectly
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-28automount: show who's triggering an automountLennart Poettering
2010-10-28systemctl: always show what and where for mount units in status outputLennart Poettering
2010-10-28shutdown: reword a few messages a littleLennart Poettering
2010-10-28manager: show which jobs are actually installed after a transactionLennart Poettering
2010-10-28timer: when deserializing timer state stay elapsed when we are elapsedLennart Poettering
2010-10-28unit: replace recursive_stop by stop_retroactively to simplify things a littleLennart Poettering
2010-10-28service: unify tstamp serialization codeLennart Poettering
2010-10-28device: set recursive_stop=true by defaultLennart Poettering
2010-10-28unit: suppress incorrect deserialization errorsLennart Poettering
2010-10-28swap: there's no reason not order swap after sysinit, so drop itLennart Poettering
2010-10-28socket: fix IPv6 availability detectionAndrey Borzenkov
If IPv6 is loaded with disable=1, any IPv6 functionality is completely disabled until the ipv6 module is reloaded. Do not assume IPv6 is available just because the module is present. Fixes startup error: Oct 27 20:58:02 cooker kernel: IPv6: Loaded, but administratively disabled, reboot required to enable Oct 27 20:58:02 cooker kernel: systemd[1]: Set hostname to <cooker>. Oct 27 20:58:02 cooker kernel: systemd[1]: Netlink failure for request 2: Operation not supported Oct 27 20:58:02 cooker kernel: systemd[1]: Failed to configure loopback device: Operation not supported
2010-10-27mounts: automatically create /dev/stderr and friends early on boot so that ↵Lennart Poettering
they are around when we run shell scripts before udevd
2010-10-27selinux: automatically load policy if the initrd hasn't done this for us yetLennart Poettering
2010-10-27main: move make_null_stdio() to util.cLennart Poettering
2010-10-27service: when after startup only one process is in a service's cgroup, ↵Lennart Poettering
assume it is the main process
2010-10-27unit: serialize active timestampsLennart 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-26errors: refer to systemctl status when usefulLennart Poettering
2010-10-26swap: add default cgroup to swap exec envLennart Poettering
2010-10-26swap: expose swap exec env proprties via dbusLennart Poettering
2010-10-26readahead: bump a device's request_nr when enabling readaheadLennart Poettering
2010-10-26shutdown: properly handle sigtimedwait() timing outLennart Poettering
2010-10-26exec: fix dbus exposure of UtmpIdentifier fieldLennart Poettering
2010-10-26main: fix typo in kernel cmdline parameters helpAndrey Borzenkov
2010-10-26service: fix sysv-less buildMike Kazantsev
2010-10-26ask-password-tty: properly handle SIGINT/SIGTERMLennart Poettering
2010-10-26systemctl: automatically spawn temporary password agent when we might need oneLennart Poettering
2010-10-26ask-password: properly handle multiple pending passwords when writing wall msgLennart Poettering
2010-10-26ask-password: add minimal plymouth password agentLennart Poettering
2010-10-26service: make sure to pass TERM=linux to all sysv scriptsLennart Poettering
2010-10-26main: don't unset HOME/TERM when run in session modeLennart Poettering
2010-10-25umount: Make sure / is remounted ro on shutdownMichael Biebl
Increment n_failed in mount_points_list_umount() if we skip /. Otherwise it can happen that mount_points_list_remount_read_only() is not called in umount_all().
2010-10-25util: Add welcome message for UbuntuAndrew Edmunds
The approved method for determining the installed release of Ubuntu is to execute "lsb_release". However, this is in /usr/bin and is implemented in python so it is not safe to execute at this early stage of booting. This code parses /etc/lsb-release which is where "lsb_release" looks for the information.
2010-10-25ubuntu: Treat Ubuntu as a distinct distro in configure.ac etcAndrew Edmunds
Previously Ubuntu was treated as being equivalent to Debian, but the two distributions require different behaviour in certain places. This commit does not change the behaviour of systemd on either distro but it creates a framework for changes to be introduced by later commits. The following previously meant "Target is Debian or Ubuntu". * configure option "--with-distro=debian" * C preprocessor symbol "TARGET_DEBIAN" * Automake conditional "TARGET_DEBIAN" After this commit, all of the above are redefined to mean "Target is Debian" The following are introduced to mean "Target is Ubuntu". * configure option "--with-distro=ubuntu" * C preprocessor symbol "TARGET_UBUNTU" * Automake conditional "TARGET_UBUNTU" Most code written for Debian will also be applicable to Ubuntu. An extra Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid duplication of code that would otherwise occur. This commit updates configure.ac, Makefile.am and distro-specific source files in line with the above definitions.
2010-10-25systemd: unset HOME and TERM set from the kernelLennart Poettering
2010-10-25ask-password: add basic tty agentLennart Poettering