1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

2024 Commits

Author SHA1 Message Date
Lennart Poettering
70ca520f43 modules-load: fix minor race 2010-11-10 22:38:43 +01:00
Lennart Poettering
dce8e2e123 label: use internal utility functions wher epossible 2010-11-10 22:38:43 +01:00
Lennart Poettering
e23a0ce8ba cryptsetup: minimal cryptsetup unit generator 2010-11-10 22:38:43 +01:00
Lennart Poettering
1829dc9dc5 selinux: relabel /dev after loading policy 2010-11-10 22:38:43 +01:00
Lennart Poettering
31a7034d38 log: downgrade syslog connection failure message since it might happen during normal operation 2010-11-10 22:38:43 +01:00
Lennart Poettering
2edfa36685 service: delay automatic restart if job is pending 2010-11-10 22:38:43 +01:00
Lennart Poettering
52da68821b update fixme 2010-11-10 22:38:43 +01:00
Lennart Poettering
2ce5c8f9ab manager: when isolating undo all pending jobs, too 2010-11-10 22:38:43 +01:00
Lennart Poettering
143072edea manager: only minimize impact if we are in fail mode 2010-11-10 22:38:42 +01:00
Kay Sievers
21296d4b48 update TODO with mtab issue 2010-11-10 19:37:06 +01:00
Brandon Philips
4149f86d81 man/tmpfiles.d.xml: add a manpage for tmpfiles.d
Initial commit of a tmpfiles.d manpage.

I ran it through xmllint but I don't know how to make it look pretty
like the rest of the xml files. :-P

Signed-off-by: Brandon Philips <bphilips@suse.de>
2010-11-05 00:20:28 +01:00
Andrey Borzenkov
1e85f63615 do not overwrite other udev tags
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-11-02 18:30:26 +01:00
Michael Biebl
c8bc83f5ea Revert "fsck: add new -l switch to fsck mount options"
The '-l' option is already taken by fsck.ext[234]:
  "-l bad_blocks_file   Add to badblocks list"

This reverts commit cf1a105550 but keeps
the string changes.
2010-10-31 23:30:17 +01:00
Lennart Poettering
3370f947d6 readahead: shortcut replay if /.readahead doesn't exist 2010-10-31 00:53:12 +02:00
Lennart Poettering
739aad5169 fedora: start plymouth after udev-settle, so that the graphics modules are loaded 2010-10-31 00:52:35 +02:00
Lennart Poettering
cf1a105550 fsck: add new -l switch to fsck mount options 2010-10-31 00:40:13 +02:00
Lennart Poettering
198b625ba7 units: add unit to call /bin/plymouth update-root-fs --read-write 2010-10-30 23:56:12 +02:00
Lennart Poettering
5edf93ec94 fedora: /bin/plymouth --sysinit is not necessary on shut down 2010-10-30 23:56:12 +02:00
Kay Sievers
0f6aaf1bdd fsck: return SUCCESS when we skip the check 2010-10-29 21:05:00 +02:00
Kay Sievers
a84f519214 fsck: skip checking / if it is writable 2010-10-29 19:55:21 +02:00
Lennart Poettering
6c6a7c0153 fedora: invoke plymouth with its /bin instead of the /usr/bin/ path 2010-10-29 16:51:13 +02:00
Lennart Poettering
9423fd773e units: fix variable expansion 2010-10-29 16:28:30 +02:00
Lennart Poettering
d91430063e mount: don't pull in nofail mounts by default, but use them if they are around 2010-10-29 16:28:30 +02:00
Lennart Poettering
e6a3ff9593 job: recursively fail BoundBy dependencies 2010-10-29 16:28:30 +02:00
Lennart Poettering
70f12d3708 fsck: fix target name to check for 2010-10-29 16:28:29 +02:00
Lennart Poettering
2a77d31df9 units: order units by default before appropriate targets in case they are pulled indirectly 2010-10-29 16:28:29 +02:00
Lennart Poettering
c7d78a5679 fedora: enable system mounting/swapping by default 2010-10-29 16:28:29 +02:00
Lennart Poettering
577780ac5c units: fix quota check description 2010-10-29 16:28:29 +02:00
Lennart Poettering
36044f5a70 fedora plymouthd doesn't seem to like --attach-to-session here 2010-10-29 16:28:29 +02:00
Lennart Poettering
5d474b8848 units: no need to create rescue.target.wants anymore 2010-10-29 16:28:29 +02:00
Lennart Poettering
de47ca9b50 units: make fedora/single.service standard and rename it to rescue.service 2010-10-29 16:28:29 +02:00
Lennart Poettering
42eacdadf5 units: introduce plymouth-start and plymouth-kexec, and move a few things back from basic to sysinit 2010-10-29 16:28:29 +02:00
Lennart Poettering
c19a87330f fedora: get rid of sysinit.service 2010-10-29 16:28:29 +02:00
Bill Nottingham
6b2a56f04c Fedora: Link graphical-target.wants to the virtual display-manager.service, not the specific prefdm.service. 2010-10-29 16:28:28 +02:00
Bill Nottingham
c980a27940 Fedora: Make systemunitdir/graphical.target.wants on 'make install'. 2010-10-29 16:28:28 +02:00
Bill Nottingham
90d2e58ae9 Fedora: by default, run prefdm last to match prior behavior. 2010-10-29 16:28:28 +02:00
Bill Nottingham
8e9b7dd86b Fedora: don't ship [Install] sections; these are enabled in the system configuration. 2010-10-29 16:28:28 +02:00
Bill Nottingham
73d35ff8e4 Fedora: further unit tweaks
1) Just ship rc-local as-is; don't worry about the 'local' name.
2) Don't install rc-local and prefdm to /etc ; just enable them globally for the system in /lib.
2010-10-29 16:28:28 +02:00
Bill Nottingham
9524600eac Fedora: Assorted tweaks to Fedora single-user mode.
1) Start after basic.target, not the deprecated sysinit.target
2) Conflict with shutdown.
2010-10-29 16:28:28 +02:00
Bill Nottingham
0fbe72dc37 Fedora: Don't ship a init.d reboot symlink. 2010-10-29 16:28:28 +02:00
Lennart Poettering
62c9af5ecf update fixme 2010-10-29 16:28:28 +02:00
Lennart Poettering
ead8e4788e unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as weaker counterpart of Conflicts=, similar to Wants= vs. Requires= 2010-10-29 16:28:27 +02:00
Kay Sievers
9ed81015f0 getty@.service: switch to agetty as the default 2010-10-29 15:50:09 +02:00
Lennart Poettering
b81884e746 unit: replace StopRetroactively= by BindTo= dependencies
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-29 00:45:46 +02:00
Lennart Poettering
941a4041bd automount: show who's triggering an automount 2010-10-28 22:20:01 +02:00
Lennart Poettering
c858849d45 units: run sysctl only if /etc/sysctl.conf exists 2010-10-28 22:12:05 +02:00
Lennart Poettering
9feeba4bbb systemctl: always show what and where for mount units in status output 2010-10-28 22:11:45 +02:00
Lennart Poettering
ab58e29119 shutdown: reword a few messages a little 2010-10-28 22:11:26 +02:00
Lennart Poettering
28c3247e79 manager: show which jobs are actually installed after a transaction 2010-10-28 04:05:09 +02:00
Lennart Poettering
b363ca6f20 timer: when deserializing timer state stay elapsed when we are elapsed 2010-10-28 04:04:50 +02:00