]>
err.no Git - systemd/log
Kay Sievers [Tue, 21 Sep 2010 13:07:43 +0000 (15:07 +0200)]
tmpwatch: install the unit files
Lennart Poettering [Tue, 21 Sep 2010 02:25:48 +0000 (04:25 +0200)]
manager: calculate progress value while booting
Lennart Poettering [Tue, 21 Sep 2010 02:14:38 +0000 (04:14 +0200)]
manager: measure startup times
Lennart Poettering [Tue, 21 Sep 2010 01:51:31 +0000 (03:51 +0200)]
manager: count how many jobs we executed
Lennart Poettering [Tue, 21 Sep 2010 01:38:32 +0000 (03:38 +0200)]
units: add default tmpwatch units
Lennart Poettering [Tue, 21 Sep 2010 01:16:28 +0000 (03:16 +0200)]
vconsole: make sure we don't merge configuration settings from different sources
Lennart Poettering [Mon, 20 Sep 2010 23:51:23 +0000 (01:51 +0200)]
locale: make sure we don't merge configuration settings from different sources
Lennart Poettering [Mon, 20 Sep 2010 23:40:34 +0000 (01:40 +0200)]
locale: unset locale vars that are not set any longer
Lennart Poettering [Mon, 20 Sep 2010 23:37:42 +0000 (01:37 +0200)]
locale: never use LC_ALL. It's evil.
Tom Gundersen [Sat, 18 Sep 2010 22:45:00 +0000 (23:45 +0100)]
service: start Arch daemons
Arch does not use proper SysV runlevels. Instead /etc/rc.conf contains
an array of daemons to load in a multi-user runlevel, and some
dependencies between them.
This patch enables this behaviour in SystemD (only when compiled with
Arch support), which allows SystemD to be a drop in replacement on Arch
(modulo some minor bugs).
v2: simplified after suggestion from Lennart
Fabiano Fidencio [Mon, 20 Sep 2010 19:33:14 +0000 (16:33 -0300)]
socket: Support IPv6-less systems with runtime check.
This patch introduces socket_ipv6_is_supported() call that checks for
IPv6 availability. Code then check for it before using specific calls.
In order to be less intrusive, this patch avoids IPv6 entries being
parsed at all, this way we don't get such entries in the system and
all other code paths are automatically ignored. However an extra check
is done at socket_address_listen() to make sure of that.
As the number of Netlink messages is not know upfront anymore,
loopback-setup.c was refactored to dynamically calculate the sequence
number and count.
Lennart's suggestions were fixed and squashed with the original patch,
that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
Gustavo Sverzut Barbieri [Mon, 20 Sep 2010 22:49:13 +0000 (00:49 +0200)]
gentoo: locale-setup support
Use locale variables from /etc/profile.env as Gentoo's openrc
runscript does (tool that is used by /etc/init.d/* services).
Gustavo Sverzut Barbieri [Mon, 20 Sep 2010 22:07:09 +0000 (19:07 -0300)]
gentoo: vconsole-setup support.
This patch is a bit bigger than expected since Gentoo being
non-standard in some places.
1. it is installing binaries at /usr/bin instead of /bin.
2. it is using CamelCase names for consolefonts.
3. /etc/rc.conf:unicode=(yes|no) just forbids loadkeys and setfont
"-u" options, but do not disable the actual kernel default_utf8
from vt module.
Luis Felipe Strano Moraes [Fri, 17 Sep 2010 02:30:01 +0000 (23:30 -0300)]
ask-password. Initializing socket_fd inside ask_agent.
Garbage value could have been used if there was an error creating the
password file.
Michal Schmidt [Mon, 20 Sep 2010 18:45:08 +0000 (20:45 +0200)]
systemctl: make condrestart equivalent to try-restart
"condrestart" should be equivalent to "try-restart", i.e. it should be
translated into "TryRestartUnit". See
http://fedoraproject.org/wiki/Packaging:SysVInitScript#condrestart_and_try-restart
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=635780
Tom Gundersen [Sat, 18 Sep 2010 22:43:53 +0000 (23:43 +0100)]
locale: set LANG on Arch
This variable is defined in /etc/rc.conf
Tom Gundersen [Sat, 18 Sep 2010 22:45:39 +0000 (23:45 +0100)]
vconsole: set keyboard mapping and font settings on Arch
These variables are defined in /etc/rc.conf
Gustavo Sverzut Barbieri [Mon, 20 Sep 2010 13:04:10 +0000 (10:04 -0300)]
random-seed: create parents of RANDOM_SEED if they do not exist.
it may happen that parent directories of RANDOM_SEED do not exist, in
that case we must create it otherwise save will not work.
Lennart Poettering [Mon, 20 Sep 2010 19:47:32 +0000 (21:47 +0200)]
update fixme
Lennart Poettering [Fri, 17 Sep 2010 23:38:46 +0000 (01:38 +0200)]
update fixme
Lennart Poettering [Fri, 17 Sep 2010 23:20:13 +0000 (01:20 +0200)]
vconsole: drop vconsole config file var prefix
Lennart Poettering [Fri, 17 Sep 2010 23:19:46 +0000 (01:19 +0200)]
vconsole: more completely cover fedora legacy vconsole configuration
Lennart Poettering [Fri, 17 Sep 2010 00:32:48 +0000 (02:32 +0200)]
ask-password: popup notification when we ask for a password
Lennart Poettering [Fri, 17 Sep 2010 00:13:12 +0000 (02:13 +0200)]
ask-password: extend help text a little
Lennart Poettering [Fri, 17 Sep 2010 00:10:08 +0000 (02:10 +0200)]
ask-password: optionally ask questions on tty
Lennart Poettering [Thu, 16 Sep 2010 23:26:29 +0000 (01:26 +0200)]
ask-password: add minimal framework to allow services query SSL/harddisk passphrases from the user
Lennart Poettering [Wed, 15 Sep 2010 23:58:16 +0000 (01:58 +0200)]
vconsole: fall back to fedora specific configuration
Lennart Poettering [Wed, 15 Sep 2010 23:57:59 +0000 (01:57 +0200)]
util: fix handling of quotes in parse_env_file()
Lennart Poettering [Wed, 15 Sep 2010 23:57:42 +0000 (01:57 +0200)]
locale: initialize locale from /etc/locale by default
Lennart Poettering [Wed, 15 Sep 2010 22:36:41 +0000 (00:36 +0200)]
vconsole: add new utility to initialize the virtual console
Lennart Poettering [Wed, 15 Sep 2010 12:48:59 +0000 (14:48 +0200)]
util: use waitid() instead of waitpid() everywhere to avoid confusion due to SIGSTOP
Lennart Poettering [Wed, 15 Sep 2010 12:37:16 +0000 (14:37 +0200)]
util: introduce waitpid_loop()
Lennart Poettering [Wed, 15 Sep 2010 01:12:04 +0000 (03:12 +0200)]
systemctl: use sizeof() instead of strlen() on literal strings
Zbyszek Szmek [Tue, 14 Sep 2010 23:54:15 +0000 (01:54 +0200)]
systemctl: split job list writing to a seperate function
On Tue, Sep 14, 2010 at 10:23:28PM +0200, Lennart Poettering wrote:
> On Tue, 07.09.10 17:02, Zbigniew Jędrzejewski-Szmek (zbyszek@in.waw.pl) wrote:
>
> Urks, now I commited the wrong one... Can you prep an updated patch against
> current git?
Once more sorry about that.
Fix below.
Zbyszek
Lennart Poettering [Tue, 14 Sep 2010 23:44:26 +0000 (01:44 +0200)]
man: document that first param to ExecStart= cannot be variable substitution
https://bugzilla.redhat.com/show_bug.cgi?id=630156
Lennart Poettering [Tue, 14 Sep 2010 23:38:07 +0000 (01:38 +0200)]
mount-setup: fix selinux label after mounting
rhbz 629268
Zbigniew Jędrzejewski-Szmek [Tue, 7 Sep 2010 08:30:52 +0000 (10:30 +0200)]
systemctl: limit some column widths to widest actually used
old
UNIT LOAD ACTIVE SUB JOB
dev-hugepages.automount loaded active running Huge Page
dev-mqueue.automount loaded active waiting POSIX Mes
proc-sys...misc.automount loaded active waiting Arbitrary
sys-kern...ebug.automount loaded active running Debug Fil
new
UNIT LOAD ACTIVE SUB JOB
dev-hugepages.automount loaded active running Huge Pages File System Automount Poi
dev-mqueue.automount loaded active waiting POSIX Message Queue File System Auto
systemd-shutdownd.socket loaded active listening systemd Delayed Shutdown Socket
Zbigniew Jędrzejewski-Szmek [Tue, 7 Sep 2010 08:30:51 +0000 (10:30 +0200)]
systemctl: split job list writing to a seperate function
Zbigniew Jędrzejewski-Szmek [Tue, 7 Sep 2010 08:30:50 +0000 (10:30 +0200)]
systemctl: use on_tty() helper everywhere
Lennart Poettering [Tue, 14 Sep 2010 19:52:33 +0000 (21:52 +0200)]
man: include reference to the interface stability promise
Lennart Poettering [Tue, 14 Sep 2010 11:56:08 +0000 (13:56 +0200)]
util: SIGSTKFLT is unknown on Linux for SPARC
Lennart Poettering [Tue, 14 Sep 2010 00:29:58 +0000 (02:29 +0200)]
build-sys: bump version
Lennart Poettering [Tue, 14 Sep 2010 00:22:55 +0000 (02:22 +0200)]
systemctl: use isolate when called as telinit for a runlevel
Lennart Poettering [Tue, 14 Sep 2010 00:16:14 +0000 (02:16 +0200)]
manager: log job mode when running job
Lennart Poettering [Tue, 14 Sep 2010 00:02:06 +0000 (02:02 +0200)]
prefdm: make sure we start prefdm only after the getty is killed
Lennart Poettering [Mon, 13 Sep 2010 23:56:14 +0000 (01:56 +0200)]
initctl: properly use isolate when activating runlevels
Lennart Poettering [Mon, 13 Sep 2010 23:51:30 +0000 (01:51 +0200)]
target: add implicit target/unit ordering deps only if both sides have been fully loaded
Lennart Poettering [Mon, 13 Sep 2010 23:31:41 +0000 (01:31 +0200)]
socket: fix output of TCP congestion options
Lennart Poettering [Mon, 13 Sep 2010 23:07:06 +0000 (01:07 +0200)]
units: make sure the file system is writable before we write utmp data
Lennart Poettering [Mon, 13 Sep 2010 22:23:15 +0000 (00:23 +0200)]
service: fix check for non-LSB files
Lennart Poettering [Mon, 13 Sep 2010 22:22:47 +0000 (00:22 +0200)]
units: add generic description for http-daemon.target
Lennart Poettering [Mon, 13 Sep 2010 21:54:21 +0000 (23:54 +0200)]
service: add generic LSB provides handling for facilities
Lennart Poettering [Mon, 13 Sep 2010 21:53:59 +0000 (23:53 +0200)]
service: translate 'httpd' LSB Provides into '$httpd' on Fedora
Lennart Poettering [Mon, 13 Sep 2010 18:51:40 +0000 (20:51 +0200)]
man: s/triggerin/triggerun/ for rpm upgrades
https://bugzilla.redhat.com/show_bug.cgi?id=626966
Rainer Gerhards [Wed, 8 Sep 2010 10:17:15 +0000 (12:17 +0200)]
minor nit: printf attribute was removed by -DSD_EXPORT_SYMBOLS
Michal Schmidt [Mon, 13 Sep 2010 12:44:44 +0000 (14:44 +0200)]
fedora: don't quit plymouth too early
Do not quit plymouth until the dependencies for getty@tty1.service are
ready, in order to minimize the time a black screen is displayed.
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