]>
err.no Git - systemd/log
Tom Gundersen [Mon, 13 Sep 2010 16:27:36 +0000 (18:27 +0200)]
util: add Arch welcome message
Arch has no release name, so juts prints 'Welcome to Arch Linux!'.
The color is the same as used by Arch's native rc.sysinit.
Sedat Dilek [Sun, 12 Sep 2010 21:17:05 +0000 (23:17 +0200)]
util: add Debian welcome message
Hi,
after talked with Michael on IRC, here is the patch to see a systemd
Welcome message on Debian systems.
FYI: I had to remove "quiet" from Kernel-command-line to see it.
"Stolen from Gentoo" :-) [1,2]?
Kind Regards,
- Sedat -
[1] http://lists.freedesktop.org/archives/systemd-devel/2010-September/000267.html
[2] http://cgit.freedesktop.org/systemd/commit/?id=
0d37b36b2890fdf8149d12460ebb00822e555977
From
76d860ca774cb8724de25c3ed3c455ebe5d548e3 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <sedat.dilek@gmail.com>
Date: Sun, 12 Sep 2010 23:02:22 +0200
Subject: [PATCH] util: add Debian welcome message
Include the "Debian" string as /etc/debian_version contains only the Distribution name like "squeeze".
Use Light Red color for Debian.
Based on a proposal patch of Michael Biebl <biebl@debian.org>
Lennart Poettering [Mon, 13 Sep 2010 10:06:49 +0000 (12:06 +0200)]
target: add default unit ordering deps from the unit not the target
Lennart Poettering [Mon, 13 Sep 2010 10:05:54 +0000 (12:05 +0200)]
man: some clarifications
Michal Schmidt [Sat, 11 Sep 2010 00:00:27 +0000 (02:00 +0200)]
manager: report correctly which job was deleted when breaking cycle
Lennart Poettering [Fri, 10 Sep 2010 23:31:58 +0000 (01:31 +0200)]
service: don't automatically add D-Bus service name as an alias to all dbus service, rely on manual symlinks to allow disabling of dbus services
Lennart Poettering [Fri, 10 Sep 2010 16:20:35 +0000 (18:20 +0200)]
units: pull in syslog.target for synchronization purposes by systemd-logger.service
Lennart Poettering [Fri, 10 Sep 2010 15:47:36 +0000 (17:47 +0200)]
units: start logger only after syslog is up
Lennart Poettering [Fri, 10 Sep 2010 15:17:57 +0000 (17:17 +0200)]
units: we should be able to reach syslog.target even if no logger is enabled at all
Lennart Poettering [Fri, 10 Sep 2010 15:11:29 +0000 (17:11 +0200)]
units: set working directory to /root for sulogin, since sulogin is crazy
Lennart Poettering [Fri, 10 Sep 2010 15:11:11 +0000 (17:11 +0200)]
logger: support SOCK_STREAM /dev/log sockets as necessary for syslog-ng
Lennart Poettering [Fri, 10 Sep 2010 14:53:53 +0000 (16:53 +0200)]
units: set HOME=/root when running shells
Kay Sievers [Fri, 10 Sep 2010 13:11:51 +0000 (15:11 +0200)]
update fixme
Kay Sievers [Fri, 10 Sep 2010 13:10:39 +0000 (15:10 +0200)]
update fixme
Gustavo Sverzut Barbieri [Wed, 8 Sep 2010 14:12:47 +0000 (11:12 -0300)]
util: add Gentoo welcome message.
Lennart Poettering [Wed, 8 Sep 2010 01:07:44 +0000 (03:07 +0200)]
log: support logging into SOCK_STREAM /dev/log sockets for comaptibility with syslog-ng
Michael Biebl [Tue, 7 Sep 2010 17:58:14 +0000 (19:58 +0200)]
units: On Debian Runlevel 2, 3, 4 and 5 are multi-user
Patch by Tollef Fog Heen <tfheen@err.no>
Extended to re-create the runlevel5.target symlink by Michael Biebl <biebl@debian.org>
Michael Biebl [Mon, 6 Sep 2010 03:44:00 +0000 (05:44 +0200)]
units: add umount unit files for Debian
Add unit files to call
/etc/init.d/umountnfs.sh stop (network file systems)
/etc/init.d/umountfs stop (local file systems)
/etc/init.d/umountroot stop ("/" file system)
in the right order and hook them up in the umount.target so they are run
on shutdown and reboot.
Lennart Poettering [Tue, 7 Sep 2010 23:55:17 +0000 (01:55 +0200)]
sd-daemon: optionally, avoid hiding the ELF symbols
Lennart Poettering [Tue, 7 Sep 2010 23:52:39 +0000 (01:52 +0200)]
main: when we encounter 'emergency' on the kernel cmdline start the emergency shell
Lennart Poettering [Mon, 6 Sep 2010 13:01:31 +0000 (15:01 +0200)]
units: make sure we always fully write the utmp data
Michael Biebl [Fri, 3 Sep 2010 14:30:48 +0000 (16:30 +0200)]
man: Fix small typo: s/seperate/separate/
Michael Biebl [Fri, 3 Sep 2010 14:23:05 +0000 (16:23 +0200)]
units: Provide separate fsck.target for Debian
On Debian sysinit is not a single script but a separate runlevel.
Split of fsck.target into separate unit file as otherwise we get an
unbreakable cycle on shutdown/reboot.
Michael Biebl [Fri, 3 Sep 2010 13:16:35 +0000 (15:16 +0200)]
units: Add halt, killall, poweroff and reboot unit files for Debian
Lennart Poettering [Mon, 6 Sep 2010 01:11:24 +0000 (03:11 +0200)]
systemctl: make --version a little bit more verbose
Lennart Poettering [Mon, 6 Sep 2010 00:42:49 +0000 (02:42 +0200)]
systemctl: implement --version
https://bugs.freedesktop.org/show_bug.cgi?id=29912
Lennart Poettering [Mon, 6 Sep 2010 00:42:42 +0000 (02:42 +0200)]
dbus: downgrade activation failure messages
Lennart Poettering [Sun, 5 Sep 2010 23:04:59 +0000 (01:04 +0200)]
automount: make sure we don't crash if there's an automount unit without mount unit
Kay Sievers [Fri, 3 Sep 2010 10:26:30 +0000 (12:26 +0200)]
work around busted capability.h
It contains things like:
#ifndef _LINUX_TYPES_H
#define _LINUX_TYPES_H
#include <stdint.h>
typedef uint32_t __u32;
typedef __u32 __le32;
...
which result in:
/usr/include/asm-generic/int-ll64.h:30:42: error: conflicting types for ‘__u64’
/usr/include/sys/capability.h:39:18: note: previous declaration of ‘__u64’ was here
make[1]: *** [src/libsystemd_core_la-unit.lo] Error 1
make[1]: Leaving directory `/home/kay/work/src/systemd'
make: *** [all] Error 2
So, include linux/types.h to get around that.
Lennart Poettering [Fri, 3 Sep 2010 03:39:22 +0000 (05:39 +0200)]
build-sys: fix fedpkg git path
Lennart Poettering [Fri, 3 Sep 2010 02:51:02 +0000 (04:51 +0200)]
build-sys: prepare new release
Matthew Miller [Tue, 31 Aug 2010 16:25:22 +0000 (12:25 -0400)]
man: extend documentation on systemctl isolate
Lennart has convinced me that it's more helpful to participate than to sit
on the sidelines and complain. So, hello everyone.
I'm starting by giving up the battle to change the systemctl "isolate"
command to "switch-to". Can't win them all. :) I've got a suggested patch
to expand the documentation a bit, hopefully making it more clear to new
systemd users.
Is there an easy way to list all units where AllowIsolate is enabled? That
should be included alongside this, I think.
Lennart Poettering [Fri, 3 Sep 2010 02:08:16 +0000 (04:08 +0200)]
service: calculate sysv startup priority only in start runlevels
Lennart Poettering [Fri, 3 Sep 2010 01:58:11 +0000 (03:58 +0200)]
update fixme
Lennart Poettering [Fri, 3 Sep 2010 01:56:05 +0000 (03:56 +0200)]
service: make sure we properly figure out whether a sysv service is enabled before creating $foo wants links
Lennart Poettering [Fri, 3 Sep 2010 00:20:39 +0000 (02:20 +0200)]
units: don't add shutdown conflicts dep to umount.target
Lennart Poettering [Thu, 2 Sep 2010 23:45:35 +0000 (01:45 +0200)]
unit: don't retroactively start units if we failed to shutdown a unit
Lennart Poettering [Thu, 2 Sep 2010 23:45:14 +0000 (01:45 +0200)]
dbus: don't send cgroup agent messages directly to system bus to avoid dbus activation loop
Lennart Poettering [Thu, 2 Sep 2010 23:42:19 +0000 (01:42 +0200)]
target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization
Lennart Poettering [Thu, 2 Sep 2010 23:41:40 +0000 (01:41 +0200)]
service: properly handle if the main process is down and we wait for the cgroup to die, too
Lennart Poettering [Thu, 2 Sep 2010 21:26:04 +0000 (23:26 +0200)]
dbus: make sure to flush bus connection before disconnecting, so that no messages are lost
Lennart Poettering [Wed, 1 Sep 2010 01:35:04 +0000 (03:35 +0200)]
unit: unify some code
Lennart Poettering [Wed, 1 Sep 2010 01:30:59 +0000 (03:30 +0200)]
dbus: don't accept activation requests anymore if we are going down anyway
Lennart Poettering [Wed, 1 Sep 2010 00:11:52 +0000 (02:11 +0200)]
systemctl: make sure daemon-reexec and friends return a correct error code
Lennart Poettering [Wed, 1 Sep 2010 00:03:41 +0000 (02:03 +0200)]
systemctl: fix return value of systemctl start and friends
Lennart Poettering [Tue, 31 Aug 2010 23:33:12 +0000 (01:33 +0200)]
service: recheck PID status when a cgroup runs empty
Lennart Poettering [Tue, 31 Aug 2010 22:48:05 +0000 (00:48 +0200)]
service: wait for process exit only if we actually killed somebody
Lennart Poettering [Tue, 31 Aug 2010 22:32:32 +0000 (00:32 +0200)]
manager: reword some error messages regarding "logs"
https://bugzilla.redhat.com/show_bug.cgi?id=627785
Lennart Poettering [Tue, 31 Aug 2010 22:10:41 +0000 (00:10 +0200)]
util: leave locked terminal attributes untouched so that we don't interfere with plymouth
https://bugzilla.redhat.com/show_bug.cgi?id=628913
Michal Schmidt [Tue, 31 Aug 2010 21:52:51 +0000 (23:52 +0200)]
service: properly pass dbus error structure
Lennart Poettering [Tue, 31 Aug 2010 21:51:12 +0000 (23:51 +0200)]
manager: make sure we free the dbus error only if we actually use one
Lennart Poettering [Tue, 31 Aug 2010 21:24:47 +0000 (23:24 +0200)]
service: rework killing logic so that we always kill the main process, even if it left our service cgroup
Related to:
http://bugzilla.redhat.com/show_bug.cgi?id=626477
Lennart Poettering [Tue, 31 Aug 2010 19:05:54 +0000 (21:05 +0200)]
systemctl: rework exit codes for all utility programs to follow LSB or other standards
Lennart Poettering [Tue, 31 Aug 2010 14:56:08 +0000 (16:56 +0200)]
systemctl: avoid wrapping of headers/footers
This change makes sure that our output never exceeds 80ch on 80ch
terminals.
https://bugzilla.redhat.com/show_bug.cgi?id=626443
Lennart Poettering [Tue, 31 Aug 2010 14:53:58 +0000 (16:53 +0200)]
util: look at STDOUT, not STDIN, when determining tty columns
https://bugzilla.redhat.com/show_bug.cgi?id=626891
Lennart Poettering [Mon, 30 Aug 2010 23:33:39 +0000 (01:33 +0200)]
exec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interface
This replaces OOMAdjust= by OOMScoreAdjust= in the config files,
breaking compatibility with older unit files. However, this keeps compat
with older kernels which lack the new OOM rework.
Lennart Poettering [Mon, 30 Aug 2010 22:43:57 +0000 (00:43 +0200)]
units: fix a typo in arch's rc-local.service unit file
Matthew Miller [Mon, 30 Aug 2010 22:23:34 +0000 (00:23 +0200)]
manager: add missing second part of s/maintenance/failed/
Matthew Miller [Mon, 30 Aug 2010 22:17:56 +0000 (00:17 +0200)]
manager: rename 'maintenance' state to 'failed' to avoid user confusion
https://bugzilla.redhat.com/show_bug.cgi?id=614619
Lennart Poettering [Mon, 30 Aug 2010 21:51:52 +0000 (23:51 +0200)]
manager: don't try to minimize transaction when using isolate
We should not avoid stopping services when using isolate, since that
kinda defeats the point of it.
http://bugzilla.redhat.com/show_bug.cgi?id=627014
Lennart Poettering [Mon, 30 Aug 2010 21:31:27 +0000 (23:31 +0200)]
exec: make sure O_NONBLOCK is off for all sockets passed as STDIN/STDOUT/STDERR
Lennart Poettering [Mon, 30 Aug 2010 20:45:46 +0000 (22:45 +0200)]
unit: introduce AllowIsolate= switch
Lennart Poettering [Mon, 30 Aug 2010 19:31:40 +0000 (21:31 +0200)]
console: rework automatic getty on kernel console logic again
It is essential that the gettys are proper dependencies from
getty.target so that they aren't killed and immediately restarted on
runlevel changes. Hence rework the logic to implicitly add console
gettys to getty.target as dependencies.
This also adds an automatic hvc console for virtualizers.
https://bugzilla.redhat.com/show_bug.cgi?id=501720
Lennart Poettering [Mon, 30 Aug 2010 19:45:19 +0000 (21:45 +0200)]
update fixme
Lennart Poettering [Thu, 26 Aug 2010 22:07:04 +0000 (00:07 +0200)]
var-run: make sure /var/run/user is properly created and labelled
https://bugzilla.redhat.com/show_bug.cgi?id=627457
Lennart Poettering [Thu, 26 Aug 2010 00:36:04 +0000 (02:36 +0200)]
units: don't install runlevel links anymore, since thsoe are maintained in /lib now
Lennart Poettering [Thu, 26 Aug 2010 00:28:37 +0000 (02:28 +0200)]
service: properly handle Fedora's broken MTA meta-service name
Lennart Poettering [Thu, 26 Aug 2010 02:10:17 +0000 (04:10 +0200)]
service: reword warnings a little
Lennart Poettering [Thu, 26 Aug 2010 02:08:28 +0000 (04:08 +0200)]
service: if we cannot add an alias to a sysv service, ignore this and go on
Lennart Poettering [Thu, 26 Aug 2010 02:08:01 +0000 (04:08 +0200)]
device: allow aliases on devices
Lennart Poettering [Thu, 26 Aug 2010 01:23:03 +0000 (03:23 +0200)]
build-sys: show audit/selinux in summary
Matthew Miller [Wed, 25 Aug 2010 20:12:50 +0000 (16:12 -0400)]
systemctl: very very trivial typo patch :)
Lennart Poettering [Wed, 25 Aug 2010 19:28:50 +0000 (21:28 +0200)]
build-sys: prepare release v8
Lennart Poettering [Wed, 25 Aug 2010 19:24:21 +0000 (21:24 +0200)]
mount: imply noauto for mount points configured with native mount files
Lennart Poettering [Wed, 25 Aug 2010 18:39:45 +0000 (20:39 +0200)]
update fixme
Lennart Poettering [Wed, 25 Aug 2010 18:37:04 +0000 (20:37 +0200)]
mount: rework automatic mounting to follow the 'nofail' option in fstab
Lennart Poettering [Wed, 25 Aug 2010 17:49:52 +0000 (19:49 +0200)]
update fixme
Lennart Poettering [Wed, 25 Aug 2010 17:49:23 +0000 (19:49 +0200)]
dbus: simplify some dbus error messages a bit
Lennart Poettering [Wed, 25 Aug 2010 17:37:36 +0000 (19:37 +0200)]
sd-daemon: drop SCM_CREDENTIALS passing since it is redundant, the kernel fills this in anyway
Kay Sievers [Wed, 25 Aug 2010 13:06:21 +0000 (15:06 +0200)]
systemd-remount-api-vfs.service: fix typo
Lennart Poettering [Wed, 25 Aug 2010 03:02:48 +0000 (05:02 +0200)]
units: fix auto-serial unit
Lennart Poettering [Wed, 25 Aug 2010 02:58:16 +0000 (04:58 +0200)]
cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup
This requires the /sys/fs/cgroup to exist. Current git kernels have
this, released kernels need a backport of a single patch.
Lennart Poettering [Wed, 25 Aug 2010 01:31:59 +0000 (03:31 +0200)]
utmp: document that the order of preference for runlevel numbers might be something to change in other distributions
Lennart Poettering [Wed, 25 Aug 2010 01:15:32 +0000 (03:15 +0200)]
units: make sure prefdm is automatically respawned
Lennart Poettering [Wed, 25 Aug 2010 01:15:12 +0000 (03:15 +0200)]
units: invoke sulogin instead of /bin/sh
Lennart Poettering [Wed, 25 Aug 2010 01:14:53 +0000 (03:14 +0200)]
utmp: write out runlevels 5 and 3 preferrably if multiples make sense, and S instead of 1
Lennart Poettering [Wed, 25 Aug 2010 01:14:04 +0000 (03:14 +0200)]
systemctl: rename a few status lines
Lennart Poettering [Wed, 25 Aug 2010 01:13:44 +0000 (03:13 +0200)]
systemctl: show timestamps for state changes
Lennart Poettering [Wed, 25 Aug 2010 01:13:09 +0000 (03:13 +0200)]
systemctl: add --sysv-compat
Lennart Poettering [Wed, 25 Aug 2010 01:12:19 +0000 (03:12 +0200)]
log: SCM_CREDENTIALS will be added by the kernel anyway, so there's no need to write them manually
Lennart Poettering [Wed, 25 Aug 2010 01:11:26 +0000 (03:11 +0200)]
mount: add global configuration options for handling of auto mounts
Lennart Poettering [Wed, 25 Aug 2010 01:10:13 +0000 (03:10 +0200)]
man: minor updates
Lennart Poettering [Wed, 25 Aug 2010 01:09:57 +0000 (03:09 +0200)]
serial: use seperate getty template for serial ttys
Lennart Poettering [Sat, 21 Aug 2010 01:57:47 +0000 (03:57 +0200)]
syslog: add minimal syslog/kmsg bridge syslogd
Lennart Poettering [Fri, 20 Aug 2010 23:51:55 +0000 (01:51 +0200)]
mount: don't create depdency for device node of root fs, since it is always there
Lennart Poettering [Fri, 20 Aug 2010 23:51:16 +0000 (01:51 +0200)]
log: pass SCM_CREDENTIALS when logging to syslog
Lennart Poettering [Fri, 20 Aug 2010 02:04:05 +0000 (04:04 +0200)]
device: handle properly if two devices want to have the same name
https://bugzilla.redhat.com/show_bug.cgi?id=624539
Lennart Poettering [Fri, 20 Aug 2010 01:27:23 +0000 (03:27 +0200)]
units: add service file that remounts the root file system
Lennart Poettering [Fri, 20 Aug 2010 01:26:37 +0000 (03:26 +0200)]
exit-status: add missing files src/exit-status.h src/exit-status.c
Lennart Poettering [Fri, 20 Aug 2010 01:26:15 +0000 (03:26 +0200)]
remount: add tool that applies /etc/fstab mount options to all api mounts