]>
err.no Git - systemd/log
Lennart Poettering [Mon, 15 Nov 2010 17:26:37 +0000 (18:26 +0100)]
units: get rid of no_requires unit flag, and make crypto disks require cryptsetup service
Lennart Poettering [Mon, 15 Nov 2010 03:24:04 +0000 (04:24 +0100)]
load-dropin: add support for .requires directories
Lennart Poettering [Mon, 15 Nov 2010 03:11:42 +0000 (04:11 +0100)]
cryptsetup: bind cryptsetup service to both source and destination device
Lennart Poettering [Mon, 15 Nov 2010 02:44:11 +0000 (03:44 +0100)]
manager: consider jobs already installed as redundant when reducing new transactions
Lennart Poettering [Sun, 14 Nov 2010 23:49:21 +0000 (00:49 +0100)]
path: avoid immediate restarting of units triggered by paths if nothing actually changed on disk
Lennart Poettering [Sun, 14 Nov 2010 23:47:29 +0000 (00:47 +0100)]
path: always look for IN_ATTRIB since deletion is signalled that way
Lennart Poettering [Sun, 14 Nov 2010 22:47:53 +0000 (23:47 +0100)]
manager: always pull 'following' units into transaction
Lennart Poettering [Sun, 14 Nov 2010 22:27:27 +0000 (23:27 +0100)]
util: always highlight distro name
Lennart Poettering [Sun, 14 Nov 2010 22:26:53 +0000 (23:26 +0100)]
units: make use of agetty mandatory
Lennart Poettering [Sun, 14 Nov 2010 21:09:57 +0000 (22:09 +0100)]
manager: don't fail transaction if adding CONFLICTED_BY job fails
Lennart Poettering [Sun, 14 Nov 2010 20:59:25 +0000 (21:59 +0100)]
pam: rename 'no-session' to 'user' cgroup
Lennart Poettering [Sun, 14 Nov 2010 20:57:10 +0000 (21:57 +0100)]
job: make it possible to wait for devices to be unplugged
Michael Biebl [Sun, 14 Nov 2010 21:14:39 +0000 (22:14 +0100)]
Remove umount*.service files for Debian
With the introduction of native shutdown/reboot, the killall.service was
removed (as this functionality was moved into systemd-shutdown).
Without killall.service though, the umount*.service files no longer work
correctly.
Wit native mount support those files are also no longer necessary, so
remove them.
Lennart Poettering [Sun, 14 Nov 2010 19:12:51 +0000 (20:12 +0100)]
tmpfiles: ignore files marked with the sticky bit
Lennart Poettering [Sun, 14 Nov 2010 18:58:33 +0000 (19:58 +0100)]
load-fragment: properly do comparison of words
Lennart Poettering [Sun, 14 Nov 2010 18:24:41 +0000 (19:24 +0100)]
udev: ignore temporary udev devices
Lennart Poettering [Sun, 14 Nov 2010 01:08:31 +0000 (02:08 +0100)]
cryptsetup: handle password=none properly
Lennart Poettering [Sun, 14 Nov 2010 01:01:29 +0000 (02:01 +0100)]
cryptsetup: properly parse cipher= switch
Lennart Poettering [Sun, 14 Nov 2010 00:53:46 +0000 (01:53 +0100)]
cryptsetup: support non-LUKS crypto partitions
Kay Sievers [Fri, 12 Nov 2010 18:04:07 +0000 (19:04 +0100)]
update TODO
Lennart Poettering [Fri, 12 Nov 2010 02:56:43 +0000 (03:56 +0100)]
update fixme
Lennart Poettering [Fri, 12 Nov 2010 02:42:13 +0000 (03:42 +0100)]
ask-password: leave printing of final prompt colon to message
Lennart Poettering [Fri, 12 Nov 2010 02:33:08 +0000 (03:33 +0100)]
ask-password: don't show wall message on ttys we are already running a tty agent on
Lennart Poettering [Fri, 12 Nov 2010 02:05:20 +0000 (03:05 +0100)]
ask-password: refer to right binary name in wall message
Lennart Poettering [Fri, 12 Nov 2010 02:05:03 +0000 (03:05 +0100)]
ask-password: ignore unknown query file fields
Lennart Poettering [Fri, 12 Nov 2010 02:04:47 +0000 (03:04 +0100)]
ask-password: properly NULL terminate table
Lennart Poettering [Fri, 12 Nov 2010 02:04:29 +0000 (03:04 +0100)]
manager: be a bit more verbose if we receive unknown epoll event
Lennart Poettering [Fri, 12 Nov 2010 02:04:10 +0000 (03:04 +0100)]
cryptsetup: automatically start cryptsetup when looking for mount source
Lennart Poettering [Fri, 12 Nov 2010 00:02:03 +0000 (01:02 +0100)]
log: fix build
Lennart Poettering [Fri, 12 Nov 2010 00:01:04 +0000 (01:01 +0100)]
log: add automatic log target
Lennart Poettering [Thu, 11 Nov 2010 23:39:17 +0000 (00:39 +0100)]
cryptsetup: hook up tool with ask-password
Lennart Poettering [Thu, 11 Nov 2010 20:28:33 +0000 (21:28 +0100)]
manager: hookup generators
Lennart Poettering [Thu, 11 Nov 2010 02:04:45 +0000 (03:04 +0100)]
build-sys: fix usage of path macros
Lennart Poettering [Thu, 11 Nov 2010 00:22:42 +0000 (01:22 +0100)]
mount: don't relabel /dev twice in a row
Kay Sievers [Thu, 11 Nov 2010 15:55:28 +0000 (16:55 +0100)]
update TODO
Andrew Edmunds [Thu, 11 Nov 2010 13:24:47 +0000 (14:24 +0100)]
man: Fix various typos
Kay Sievers [Thu, 11 Nov 2010 10:15:16 +0000 (11:15 +0100)]
split mount_point_is_api() and mount_point_ignore()
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.
Lennart Poettering [Wed, 10 Nov 2010 23:30:00 +0000 (00:30 +0100)]
units: deal properly with the fact that agetty is called getty on Debian
Lennart Poettering [Wed, 10 Nov 2010 22:58:01 +0000 (23:58 +0100)]
tmpfiles: include reference to man page in tmpfiles files
Andrey Borzenkov [Sat, 6 Nov 2010 16:11:03 +0000 (19:11 +0300)]
vconsole: support additional keymap for toggling layouts
At least Mandriva offers configuring characters to toggle
keyboard layout independently from main keymap. This functions
much the same as XkbOptions for X11 and actually is configured
together. The patch adds support for additional keymap,
KEYMAP_TOGGLE, to /etc/vconsole.conf, that is intended to be
used for the same purpose.
Lennart Poettering [Wed, 10 Nov 2010 22:18:34 +0000 (23:18 +0100)]
main: warn if /etc/mtab is not a symlink
Ran Benita [Mon, 8 Nov 2010 23:03:27 +0000 (01:03 +0200)]
add bash completion for systemctl --system
I've been playing recently with systemd on Arch, and had much fun. But
soon, alas, my fingers started to ache from repeatedly writing
systemctl restart some-long-service.service. So, I wrote a completion
script. I figured other people may want to use it, so I prepared a
patch against systemd-git (attached).
There are some notes/disclaimers, however:
- It requires bash>=4.0, sed, grep and awk. A bash-completion package
is not strictly needed; sourcing the file is enough.
- It wouldn't work properly with --session, as I had no way to test it.
- It uses the output of systemctl list-units directly when that's
enough, but also runs systemctl show when completing on some verbs
(for example, to check for AllowIsolate=yes). This /may/ be somewhat
slow once there are many units, since it calls a dbus method on each
one. Is there a faster way to have that information?
- The code is perhaps a bit long and messy; honestly, I blame the tool ;)
One way to improve on the situation is to integrate some completion
code in systemctl itself, the way e.g. gdbus, gsettings and django do
it. This will allow for finer grained and faster completions, and it
won't be necessary to keep the verb/option tables in sync with some
other file. But it does mean adding all of this code in C. If this is
acceptable, I'll try to have a go at it.
Finally, a couple of completion tips I run into:
- If you alias systemctl to, say, sctl, you get completions on that
too by running to following command:
complete -F _systemctl sctl
- Add the following line to your .inputrc, to have the completion show
after only a single tab press:
set show-all-if-ambiguous on
It makes the shell quite more pleasant.
Hope it's good enough!
Ran
Lennart Poettering [Wed, 10 Nov 2010 22:01:20 +0000 (23:01 +0100)]
man: minor tmpfiles(5) updates and reindenting
Lennart Poettering [Wed, 10 Nov 2010 21:35:05 +0000 (22:35 +0100)]
main: rename process on startup to 'systemd' to avoid confusion
Lennart Poettering [Wed, 10 Nov 2010 21:28:19 +0000 (22:28 +0100)]
unit: add ConditionNull= condition
Lennart Poettering [Mon, 8 Nov 2010 05:43:33 +0000 (00:43 -0500)]
ac-power: make ac-power a proper binary that scripts can call
Lennart Poettering [Mon, 8 Nov 2010 05:31:09 +0000 (00:31 -0500)]
manager: parse RD_TIMESTAMP passed from initrd
Lennart Poettering [Mon, 8 Nov 2010 04:03:42 +0000 (23:03 -0500)]
modules-load: fix minor race
Lennart Poettering [Mon, 8 Nov 2010 04:03:19 +0000 (23:03 -0500)]
label: use internal utility functions wher epossible
Lennart Poettering [Mon, 8 Nov 2010 04:02:45 +0000 (23:02 -0500)]
cryptsetup: minimal cryptsetup unit generator
Lennart Poettering [Mon, 8 Nov 2010 03:59:39 +0000 (22:59 -0500)]
selinux: relabel /dev after loading policy
Lennart Poettering [Mon, 8 Nov 2010 03:43:17 +0000 (22:43 -0500)]
log: downgrade syslog connection failure message since it might happen during normal operation
Lennart Poettering [Mon, 1 Nov 2010 16:50:43 +0000 (17:50 +0100)]
service: delay automatic restart if job is pending
Lennart Poettering [Mon, 1 Nov 2010 16:27:28 +0000 (17:27 +0100)]
update fixme
Lennart Poettering [Mon, 1 Nov 2010 15:16:15 +0000 (16:16 +0100)]
manager: when isolating undo all pending jobs, too
Lennart Poettering [Mon, 1 Nov 2010 15:09:36 +0000 (16:09 +0100)]
manager: only minimize impact if we are in fail mode
Kay Sievers [Wed, 10 Nov 2010 18:37:06 +0000 (19:37 +0100)]
update TODO with mtab issue
Brandon Philips [Thu, 4 Nov 2010 20:31:07 +0000 (16:31 -0400)]
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>
Andrey Borzenkov [Tue, 2 Nov 2010 16:45:43 +0000 (19:45 +0300)]
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>
Michael Biebl [Sun, 31 Oct 2010 22:29:27 +0000 (23:29 +0100)]
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
cf1a105550766d2251bc10240b6058a37babd600 but keeps
the string changes.
Lennart Poettering [Sat, 30 Oct 2010 22:53:12 +0000 (00:53 +0200)]
readahead: shortcut replay if /.readahead doesn't exist
Lennart Poettering [Sat, 30 Oct 2010 22:52:35 +0000 (00:52 +0200)]
fedora: start plymouth after udev-settle, so that the graphics modules are loaded
Lennart Poettering [Sat, 30 Oct 2010 22:39:36 +0000 (00:39 +0200)]
fsck: add new -l switch to fsck mount options
Lennart Poettering [Sat, 30 Oct 2010 21:55:54 +0000 (23:55 +0200)]
units: add unit to call /bin/plymouth update-root-fs --read-write
Lennart Poettering [Fri, 29 Oct 2010 15:07:01 +0000 (17:07 +0200)]
fedora: /bin/plymouth --sysinit is not necessary on shut down
Kay Sievers [Fri, 29 Oct 2010 19:05:00 +0000 (21:05 +0200)]
fsck: return SUCCESS when we skip the check
Kay Sievers [Fri, 29 Oct 2010 17:54:02 +0000 (19:54 +0200)]
fsck: skip checking / if it is writable
Lennart Poettering [Fri, 29 Oct 2010 14:51:13 +0000 (16:51 +0200)]
fedora: invoke plymouth with its /bin instead of the /usr/bin/ path
Lennart Poettering [Fri, 29 Oct 2010 14:27:58 +0000 (16:27 +0200)]
units: fix variable expansion
Lennart Poettering [Fri, 29 Oct 2010 04:05:02 +0000 (06:05 +0200)]
mount: don't pull in nofail mounts by default, but use them if they are around
Lennart Poettering [Fri, 29 Oct 2010 04:04:42 +0000 (06:04 +0200)]
job: recursively fail BoundBy dependencies
Lennart Poettering [Fri, 29 Oct 2010 04:04:17 +0000 (06:04 +0200)]
fsck: fix target name to check for
Lennart Poettering [Fri, 29 Oct 2010 04:04:03 +0000 (06:04 +0200)]
units: order units by default before appropriate targets in case they are pulled indirectly
Lennart Poettering [Fri, 29 Oct 2010 04:03:04 +0000 (06:03 +0200)]
fedora: enable system mounting/swapping by default
Lennart Poettering [Fri, 29 Oct 2010 03:18:22 +0000 (05:18 +0200)]
units: fix quota check description
Lennart Poettering [Fri, 29 Oct 2010 03:17:04 +0000 (05:17 +0200)]
fedora plymouthd doesn't seem to like --attach-to-session here
Lennart Poettering [Fri, 29 Oct 2010 02:25:08 +0000 (04:25 +0200)]
units: no need to create rescue.target.wants anymore
Lennart Poettering [Fri, 29 Oct 2010 02:09:36 +0000 (04:09 +0200)]
units: make fedora/single.service standard and rename it to rescue.service
Lennart Poettering [Fri, 29 Oct 2010 00:42:10 +0000 (02:42 +0200)]
units: introduce plymouth-start and plymouth-kexec, and move a few things back from basic to sysinit
Lennart Poettering [Thu, 28 Oct 2010 23:40:46 +0000 (01:40 +0200)]
fedora: get rid of sysinit.service
Bill Nottingham [Thu, 28 Oct 2010 17:27:49 +0000 (13:27 -0400)]
Fedora: Link graphical-target.wants to the virtual display-manager.service, not the specific prefdm.service.
Bill Nottingham [Thu, 28 Oct 2010 17:27:48 +0000 (13:27 -0400)]
Fedora: Make systemunitdir/graphical.target.wants on 'make install'.
Bill Nottingham [Thu, 28 Oct 2010 17:27:46 +0000 (13:27 -0400)]
Fedora: by default, run prefdm last to match prior behavior.
Bill Nottingham [Thu, 28 Oct 2010 17:27:45 +0000 (13:27 -0400)]
Fedora: don't ship [Install] sections; these are enabled in the system configuration.
Bill Nottingham [Thu, 28 Oct 2010 17:27:44 +0000 (13:27 -0400)]
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.
Bill Nottingham [Thu, 28 Oct 2010 17:27:43 +0000 (13:27 -0400)]
Fedora: Assorted tweaks to Fedora single-user mode.
1) Start after basic.target, not the deprecated sysinit.target
2) Conflict with shutdown.
Bill Nottingham [Thu, 28 Oct 2010 17:27:42 +0000 (13:27 -0400)]
Fedora: Don't ship a init.d reboot symlink.
Lennart Poettering [Thu, 28 Oct 2010 23:22:20 +0000 (01:22 +0200)]
update fixme
Lennart Poettering [Thu, 28 Oct 2010 23:15:18 +0000 (01:15 +0200)]
unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
Kay Sievers [Fri, 29 Oct 2010 13:50:09 +0000 (15:50 +0200)]
getty@.service: switch to agetty as the default
Lennart Poettering [Thu, 28 Oct 2010 21:18:47 +0000 (23:18 +0200)]
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.
Lennart Poettering [Thu, 28 Oct 2010 20:20:01 +0000 (22:20 +0200)]
automount: show who's triggering an automount
Lennart Poettering [Thu, 28 Oct 2010 20:12:05 +0000 (22:12 +0200)]
units: run sysctl only if /etc/sysctl.conf exists
Lennart Poettering [Thu, 28 Oct 2010 20:11:45 +0000 (22:11 +0200)]
systemctl: always show what and where for mount units in status output
Lennart Poettering [Thu, 28 Oct 2010 20:11:26 +0000 (22:11 +0200)]
shutdown: reword a few messages a little
Lennart Poettering [Thu, 28 Oct 2010 02:05:09 +0000 (04:05 +0200)]
manager: show which jobs are actually installed after a transaction
Lennart Poettering [Thu, 28 Oct 2010 02:04:50 +0000 (04:04 +0200)]
timer: when deserializing timer state stay elapsed when we are elapsed
Lennart Poettering [Thu, 28 Oct 2010 01:38:52 +0000 (03:38 +0200)]
unit: replace recursive_stop by stop_retroactively to simplify things a little
Lennart Poettering [Thu, 28 Oct 2010 01:16:03 +0000 (03:16 +0200)]
service: unify tstamp serialization code
Lennart Poettering [Thu, 28 Oct 2010 01:15:44 +0000 (03:15 +0200)]
device: set recursive_stop=true by default