]> err.no Git - systemd/log
systemd
13 years agoAdd debian-fixup service that symlinks mtab to /proc/mounts and migrates /var/run...
Tollef Fog Heen [Wed, 21 Sep 2011 06:52:38 +0000 (08:52 +0200)]
Add debian-fixup service that symlinks mtab to /proc/mounts and migrates /var/run and /var/lock to symlinks to /run

13 years agoHack up source so it resembles what a distcheck gives us
Tollef Fog Heen [Tue, 20 Sep 2011 14:02:50 +0000 (16:02 +0200)]
Hack up source so it resembles what a distcheck gives us

13 years agoMerge branch 'master' into debian
Tollef Fog Heen [Wed, 14 Sep 2011 07:40:32 +0000 (09:40 +0200)]
Merge branch 'master' into debian

Conflicts:
src/selinux-setup.c

13 years agoProperly attribute Michael's changes to him
Tollef Fog Heen [Wed, 14 Sep 2011 06:39:40 +0000 (08:39 +0200)]
Properly attribute Michael's changes to him

13 years agoAdd Build-Depends on gperf.
Michael Biebl [Wed, 3 Aug 2011 14:56:17 +0000 (16:56 +0200)]
Add Build-Depends on gperf.

13 years agoUse printf instead of echo
Michael Biebl [Wed, 3 Aug 2011 18:03:01 +0000 (20:03 +0200)]
Use printf instead of echo

echo "\n" is not posix shell compliant.

13 years agoAdd more safety checks
Michael Biebl [Wed, 3 Aug 2011 15:26:15 +0000 (17:26 +0200)]
Add more safety checks

In case /etc/default/rcS is missing or UTC not set.

13 years agoRemove /cgroup cleanup code from postinst.
Michael Biebl [Wed, 3 Aug 2011 14:28:07 +0000 (16:28 +0200)]
Remove /cgroup cleanup code from postinst.

13 years agoRun the local time migration on new install, too
Michael Biebl [Wed, 3 Aug 2011 13:38:02 +0000 (15:38 +0200)]
Run the local time migration on new install, too

13 years agoFix the format of the /etc/adjtime file
Michael Biebl [Wed, 3 Aug 2011 13:15:21 +0000 (15:15 +0200)]
Fix the format of the /etc/adjtime file

13 years agoFix echo call in last commit
Michael Biebl [Wed, 3 Aug 2011 13:11:07 +0000 (15:11 +0200)]
Fix echo call in last commit

13 years agoRe-add --with autoreconf which got accidentally deleted by last commit
Michael Biebl [Wed, 3 Aug 2011 11:53:31 +0000 (13:53 +0200)]
Re-add --with autoreconf which got accidentally deleted by last commit

13 years agoMigrate hwclock configuration.
Michael Biebl [Wed, 3 Aug 2011 13:07:27 +0000 (15:07 +0200)]
Migrate hwclock configuration.

Do a one-time migration of the hwclock configuration. If UTC is set to "no" in
/etc/default/rcS, create /etc/adjtime and add the "LOCAL" setting.

13 years agoAdd Build-Depends on intltool.
Michael Biebl [Wed, 3 Aug 2011 13:00:46 +0000 (15:00 +0200)]
Add Build-Depends on intltool.

13 years agoOverride dh_autoreconf
Michael Biebl [Wed, 3 Aug 2011 12:43:45 +0000 (14:43 +0200)]
Override dh_autoreconf

As autoreconf doesn't like intltool, override dh_autoreconf and call
intltoolize and autoreconf ourselves.

13 years agoSplit libsystemd-login and libsystemd-daemon into separate binary packages.
Michael Biebl [Wed, 3 Aug 2011 11:23:33 +0000 (13:23 +0200)]
Split libsystemd-login and libsystemd-daemon into separate binary packages.

13 years agoAdd Build-Depends on libacl1-dev. Required for building systemd-logind with ACL support.
Michael Biebl [Wed, 3 Aug 2011 11:09:50 +0000 (13:09 +0200)]
Add Build-Depends on libacl1-dev. Required for building systemd-logind with ACL support.

13 years agoBump Build-Depends on libudev to (>= 172).
Michael Biebl [Wed, 3 Aug 2011 11:06:38 +0000 (13:06 +0200)]
Bump Build-Depends on libudev to (>= 172).

13 years agoBuild for libnotify 0.7.
Michael Biebl [Wed, 3 Aug 2011 11:06:01 +0000 (13:06 +0200)]
Build for libnotify 0.7.

13 years agoWrap build dependencies for easier readability.
Michael Biebl [Wed, 3 Aug 2011 11:04:35 +0000 (13:04 +0200)]
Wrap build dependencies for easier readability.

13 years agoNew upstream release; close bugs
Tollef Fog Heen [Wed, 14 Sep 2011 06:25:32 +0000 (08:25 +0200)]
New upstream release; close bugs

13 years agoMerge commit 'v35'
Tollef Fog Heen [Mon, 5 Sep 2011 06:06:45 +0000 (08:06 +0200)]
Merge commit 'v35'

13 years agobuild-sys: bump release v35
Lennart Poettering [Thu, 1 Sep 2011 00:10:25 +0000 (02:10 +0200)]
build-sys: bump release

13 years agolabel: fix database check
Lennart Poettering [Wed, 31 Aug 2011 23:16:55 +0000 (01:16 +0200)]
label: fix database check

13 years agopo: Initial Polish translation
Piotr Drąg [Mon, 22 Aug 2011 13:45:38 +0000 (15:45 +0200)]
po: Initial Polish translation

https://bugs.freedesktop.org/show_bug.cgi?id=39553

13 years agolocale: support $LANGUAGE too
Lennart Poettering [Wed, 31 Aug 2011 12:09:14 +0000 (14:09 +0200)]
locale: support $LANGUAGE too

$LANGUAGE is a GNU extension that is probably worth supporting, since it
allows specifiying an order of languages.

https://bugs.freedesktop.org/show_bug.cgi?id=40510

13 years agogetty: simplify things a bit
Lennart Poettering [Wed, 31 Aug 2011 02:22:41 +0000 (04:22 +0200)]
getty: simplify things a bit

https://bugs.freedesktop.org/show_bug.cgi?id=39818

13 years agogetty: automatically add getty on hvsi0 virtualizer console
Lennart Poettering [Wed, 31 Aug 2011 02:15:42 +0000 (04:15 +0200)]
getty: automatically add getty on hvsi0 virtualizer console

https://bugs.freedesktop.org/show_bug.cgi?id=39818

13 years agodropin: don't fail if random files are stored in .wants directories
Lennart Poettering [Wed, 31 Aug 2011 01:55:38 +0000 (03:55 +0200)]
dropin: don't fail if random files are stored in .wants directories

https://bugs.freedesktop.org/show_bug.cgi?id=39957

13 years agosystemctl: if we managed to reexec the init system via the bus don't retry via signal
Lennart Poettering [Wed, 31 Aug 2011 01:31:27 +0000 (03:31 +0200)]
systemctl: if we managed to reexec the init system via the bus don't retry via signal

If we managed to reeexec the init system via the bus this allows us to
provide synchronous behaviour to callers. This is all lost if we then
repeat the reexecution via SIGTERM.

https://bugzilla.redhat.com/show_bug.cgi?id=698198

13 years agologind: use syspath instead of sysname to identify fb devices since udlfb got fixed now
Lennart Poettering [Wed, 31 Aug 2011 01:16:01 +0000 (03:16 +0200)]
logind: use syspath instead of sysname to identify fb devices since udlfb got fixed now

13 years agoman: document /etc/timezone
Lennart Poettering [Wed, 31 Aug 2011 01:09:22 +0000 (03:09 +0200)]
man: document /etc/timezone

13 years agomount: fix parsing of prio value
Lennart Poettering [Tue, 30 Aug 2011 23:46:38 +0000 (01:46 +0200)]
mount: fix parsing of prio value

https://bugzilla.redhat.com/show_bug.cgi?id=722803

13 years agoman: don't recommend After=syslog.target anymore since we don't support non-socket...
Lennart Poettering [Tue, 30 Aug 2011 23:35:43 +0000 (01:35 +0200)]
man: don't recommend After=syslog.target anymore since we don't support non-socket-activatable syslogs anymore where that was ncessary

13 years agogetty-generator: ignore if symlinks already exist
Lennart Poettering [Tue, 30 Aug 2011 23:30:57 +0000 (01:30 +0200)]
getty-generator: ignore if symlinks already exist

13 years agolabel: minor fixes
Lennart Poettering [Tue, 30 Aug 2011 23:21:02 +0000 (01:21 +0200)]
label: minor fixes

13 years agolabel: introduce label_bind() and make use of it where necessary
Lennart Poettering [Tue, 30 Aug 2011 23:02:00 +0000 (01:02 +0200)]
label: introduce label_bind() and make use of it where necessary

https://bugzilla.redhat.com/show_bug.cgi?id=729997

13 years agoservice: change default stdout/stderr to syslog
Lennart Poettering [Tue, 30 Aug 2011 20:57:55 +0000 (22:57 +0200)]
service: change default stdout/stderr to syslog

13 years agostdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive
Lennart Poettering [Tue, 30 Aug 2011 20:42:49 +0000 (22:42 +0200)]
stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive

13 years agoselinux: explicitly relabel /run/initramfs/root-fsck and friends
Lennart Poettering [Tue, 30 Aug 2011 16:49:17 +0000 (18:49 +0200)]
selinux: explicitly relabel /run/initramfs/root-fsck and friends

13 years agospecifier: drop misplaced assert()
Lennart Poettering [Tue, 30 Aug 2011 14:49:17 +0000 (16:49 +0200)]
specifier: drop misplaced assert()

13 years agoselinux: don't relabel /run/initramfs
Lennart Poettering [Mon, 29 Aug 2011 22:16:00 +0000 (00:16 +0200)]
selinux: don't relabel /run/initramfs

/run/initramfs usually contains the initrd so that we can jump back into
it on shutdown. It's usually relatively large and static data, hence we
should avoid relabelling of it. On my netbook this saves 6s. (6.6s
needed for relabelling /dev and /run goes down to 600ms -- still way too
much, but much better).

13 years agoselinux: retest selinux after we loaded the policy
Lennart Poettering [Mon, 29 Aug 2011 21:36:10 +0000 (23:36 +0200)]
selinux: retest selinux after we loaded the policy

13 years agologind: downgrade session create/remove log messages to LOG_DEBUG for
Lennart Poettering [Mon, 29 Aug 2011 20:08:19 +0000 (22:08 +0200)]
logind: downgrade session create/remove log messages to LOG_DEBUG for
cronjobs and similar which have no tty/X11 server assigned

https://bugzilla.redhat.com/show_bug.cgi?id=727315

13 years agountis: allow both console and plymouth ask password agents in boot transaction to...
Lennart Poettering [Mon, 29 Aug 2011 19:48:51 +0000 (21:48 +0200)]
untis: allow both console and plymouth ask password agents in boot transaction to allow dynamically disabled plymouth

13 years agoplymouth: don't enable ask-password agent of plymouth is disabled
Lennart Poettering [Mon, 29 Aug 2011 17:45:22 +0000 (19:45 +0200)]
plymouth: don't enable ask-password agent of plymouth is disabled

13 years agoexecute: fix bus serialization for commands
Lennart Poettering [Mon, 29 Aug 2011 17:44:52 +0000 (19:44 +0200)]
execute: fix bus serialization for commands

13 years agoman: fix securebits docs
Lennart Poettering [Mon, 29 Aug 2011 11:44:12 +0000 (13:44 +0200)]
man: fix securebits docs

13 years agobuild-sys: bump version v34
Lennart Poettering [Thu, 25 Aug 2011 15:02:33 +0000 (17:02 +0200)]
build-sys: bump version

13 years agoacl: properly handle if devices are tagged as uaccess but do not have a device node
Lennart Poettering [Thu, 25 Aug 2011 14:50:49 +0000 (16:50 +0200)]
acl: properly handle if devices are tagged as uaccess but do not have a device node

13 years agobuild-sys: Add --disable-localed configure switch
Miklos Vajna [Wed, 24 Aug 2011 22:45:26 +0000 (00:45 +0200)]
build-sys: Add --disable-localed configure switch

13 years agoupdate README
Lennart Poettering [Wed, 24 Aug 2011 21:29:28 +0000 (23:29 +0200)]
update README

13 years agoupdate TODO
Lennart Poettering [Wed, 24 Aug 2011 19:22:26 +0000 (21:22 +0200)]
update TODO

13 years agoupdate TODO
Lennart Poettering [Wed, 24 Aug 2011 19:14:28 +0000 (21:14 +0200)]
update TODO

13 years agotmpfiles: Move /tmp and /var/tmp to a separate tmpfiles.d file to ease overrides...
Josh Triplett [Sat, 6 Aug 2011 22:48:27 +0000 (15:48 -0700)]
tmpfiles: Move /tmp and /var/tmp to a separate tmpfiles.d file to ease overrides via /etc

Many people prefer to avoid clearing /tmp and /var/tmp, and
distributions often have explicit settings for how often to clear them
if at all.  Overriding those with systemd currently requires overriding
all of /usr/lib/tmpfiles.d/systemd.conf via
/etc/tmpfiles.d/systemd.conf, copying across all the other entries, and
updating that override when systemd.conf changes.

Move the /tmp and /var/tmp entries from systemd.conf to a separate
tmp.conf, making them easier to override without affecting the rest of
systemd.conf.

13 years agocryptsetup-generator: block boot when querying passphrase.
Frederic Crozat [Thu, 4 Aug 2011 14:46:33 +0000 (16:46 +0200)]
cryptsetup-generator: block boot when querying passphrase.

Ensure we wait for passphrase before starting tty1 or graphical display.
Needed when not using plymouth.

13 years agocryptsetup: accept "none" option
Frederic Crozat [Thu, 4 Aug 2011 14:04:43 +0000 (16:04 +0200)]
cryptsetup: accept "none" option

13 years agobuild-sys: Add --disable-timedated configure switch
Miklos Vajna [Tue, 2 Aug 2011 21:58:46 +0000 (23:58 +0200)]
build-sys: Add --disable-timedated configure switch

13 years agopath-lookup: monitor /etc/systemd/user for user manager
Frederic Crozat [Wed, 24 Aug 2011 11:39:06 +0000 (13:39 +0200)]
path-lookup: monitor /etc/systemd/user for user manager

13 years agodbus: 'directrion' is not a valid attribute
Tero Roponen [Wed, 24 Aug 2011 10:10:06 +0000 (13:10 +0300)]
dbus: 'directrion' is not a valid attribute

$ gdbus introspect --system --dest org.freedesktop.systemd1 --object-path /org/freedesktop/systemd1
Error parsing introspection XML: 115:64: attribute 'directrion' invalid for element 'arg'

13 years agoman: Sort the entries in systemd.special(7)
Josh Triplett [Sat, 6 Aug 2011 23:04:38 +0000 (16:04 -0700)]
man: Sort the entries in systemd.special(7)

This manpage presents the special targets in alphabetical order, but
time-sync.target appeared in the wrong place.

13 years agotmpfiles: Remove X11 lock files for displays :10 and higher too
Josh Triplett [Sat, 6 Aug 2011 22:56:39 +0000 (15:56 -0700)]
tmpfiles: Remove X11 lock files for displays :10 and higher too

13 years agoinitctl: check for kexec_loaded when reboot is requested through initctl
Frederic Crozat [Mon, 22 Aug 2011 12:58:50 +0000 (14:58 +0200)]
initctl: check for kexec_loaded when reboot is requested through initctl

13 years agoservice: all rcS.d scripts have been converted on Frugalware
Miklos Vajna [Tue, 23 Aug 2011 23:49:54 +0000 (01:49 +0200)]
service: all rcS.d scripts have been converted on Frugalware

13 years agostrv: fix counting in strv_env_delete()
Lennart Poettering [Tue, 23 Aug 2011 23:10:13 +0000 (01:10 +0200)]
strv: fix counting in strv_env_delete()

13 years agoudev: since bt devices cannot be renamed revert to %k
Lennart Poettering [Tue, 23 Aug 2011 23:09:21 +0000 (01:09 +0200)]
udev: since bt devices cannot be renamed revert to %k

13 years agoudev: use $name instead of %k
Lennart Poettering [Tue, 23 Aug 2011 16:06:58 +0000 (18:06 +0200)]
udev: use $name instead of %k

13 years agocgroup: optionally mount a specific cgroup controllers together, and add cpu+cpuacct...
Lennart Poettering [Mon, 22 Aug 2011 22:37:35 +0000 (00:37 +0200)]
cgroup: optionally mount a specific cgroup controllers together, and add cpu+cpuacct to the default

13 years agotimedate: make NTP controllable too
Lennart Poettering [Sun, 21 Aug 2011 23:08:10 +0000 (01:08 +0200)]
timedate: make NTP controllable too

13 years agocgroup: when trimming cgroup trees, honour sticky bit of tasks file
Lennart Poettering [Sun, 21 Aug 2011 19:00:41 +0000 (21:00 +0200)]
cgroup: when trimming cgroup trees, honour sticky bit of tasks file

13 years agoreadahead: make use of block_get_whole_disk() where applicable
Lennart Poettering [Sun, 21 Aug 2011 18:20:41 +0000 (20:20 +0200)]
readahead: make use of block_get_whole_disk() where applicable

13 years agocgroup: honour sticky bit when trimming cgroup trees
Lennart Poettering [Sun, 21 Aug 2011 18:05:51 +0000 (20:05 +0200)]
cgroup: honour sticky bit when trimming cgroup trees

13 years agoexec: allow passing arbitrary path names to blkio cgroup attributes
Lennart Poettering [Sat, 20 Aug 2011 22:28:30 +0000 (00:28 +0200)]
exec: allow passing arbitrary path names to blkio cgroup attributes

If a device node is specified, then adjust the bandwidth/weight of it,
otherwise find the backing block device of the file system the path
refers to and adjust its bandwidth/weight.

13 years agoexec: add high-level controls for blkio cgroup attributes
Lennart Poettering [Fri, 19 Aug 2011 23:38:10 +0000 (01:38 +0200)]
exec: add high-level controls for blkio cgroup attributes

13 years agocgroup: expose cgroup attributes as unit properties on the bus
Lennart Poettering [Fri, 19 Aug 2011 22:42:50 +0000 (00:42 +0200)]
cgroup: expose cgroup attributes as unit properties on the bus

13 years agoupdate TODO
Lennart Poettering [Sun, 21 Aug 2011 17:07:31 +0000 (19:07 +0200)]
update TODO

13 years agoexec: optionally apply cgroup attributes to the cgroups we create
Lennart Poettering [Fri, 19 Aug 2011 22:20:41 +0000 (00:20 +0200)]
exec: optionally apply cgroup attributes to the cgroups we create

13 years agoPATCH: add missing header include
Frederic Crozat [Thu, 18 Aug 2011 13:50:43 +0000 (15:50 +0200)]
PATCH: add missing header include

Hi,

MS_REC is not always defined in sys/mount.h. linux/fs.h should be
included, since it is always defined there.
--
Frederic Crozat <fcrozat@suse.com>
SUSE

>From 9f8a50decf45aaa4436b9fb3a0ab360f238b7d96 Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat@suse.com>
Date: Thu, 18 Aug 2011 15:42:29 +0200
Subject: [PATCH] nspawn: add missing include header for MS_REC.

13 years agoconvert int to boolean for dbus_bool_t
Kay Sievers [Wed, 17 Aug 2011 17:38:07 +0000 (19:38 +0200)]
convert int to boolean for dbus_bool_t

13 years agoREADME: we need Linux 2.6.39
Kay Sievers [Thu, 11 Aug 2011 12:26:39 +0000 (14:26 +0200)]
README: we need Linux 2.6.39

13 years agogperf: add missing.h that was present in the C version to the m4
Koen Kooi [Tue, 2 Aug 2011 05:20:15 +0000 (07:20 +0200)]
gperf: add missing.h that was present in the C version to the m4

This fixes:

src/load-fragment-gperf.c:413:51: error: 'RLIMIT_RTTIME' undeclared (first use in this function)

13 years agobuild-sys: make gperf configure check fatal
Michael Biebl [Wed, 3 Aug 2011 15:09:55 +0000 (17:09 +0200)]
build-sys: make gperf configure check fatal

and document the new build requirement.

13 years agoupdate TODO
Kay Sievers [Wed, 3 Aug 2011 13:12:34 +0000 (15:12 +0200)]
update TODO

13 years agobump release v33
Lennart Poettering [Wed, 3 Aug 2011 02:19:53 +0000 (04:19 +0200)]
bump release

13 years agoexec: introduce PrivateNetwork= process option to turn off network access to specific...
Lennart Poettering [Tue, 2 Aug 2011 03:24:58 +0000 (05:24 +0200)]
exec: introduce PrivateNetwork= process option to turn off network access to specific services

13 years agoman: nspawn fixes
Lennart Poettering [Tue, 2 Aug 2011 02:55:10 +0000 (04:55 +0200)]
man: nspawn fixes

13 years agonspawn: add new --no-net switch to turn off networking in the container
Lennart Poettering [Tue, 2 Aug 2011 02:49:37 +0000 (04:49 +0200)]
nspawn: add new --no-net switch to turn off networking in the container

13 years agoupdate TODO
Lennart Poettering [Mon, 1 Aug 2011 23:41:36 +0000 (01:41 +0200)]
update TODO

13 years agobuild-sys: Add --disable-hostnamed configure switch
Miklos Vajna [Mon, 1 Aug 2011 23:09:13 +0000 (01:09 +0200)]
build-sys: Add --disable-hostnamed configure switch

13 years agoservice: parse insserv.conf and plugs its system facilities into systemd.
Frederic Crozat [Wed, 29 Jun 2011 11:59:34 +0000 (13:59 +0200)]
service: parse insserv.conf and plugs its system facilities into systemd.

13 years agoupdate TODO
Lennart Poettering [Mon, 1 Aug 2011 22:34:13 +0000 (00:34 +0200)]
update TODO

13 years agodbus: fix MaskUnitFiles bus call
Lennart Poettering [Mon, 1 Aug 2011 22:10:40 +0000 (00:10 +0200)]
dbus: fix MaskUnitFiles bus call

13 years agobash: Allow to restart already started service.
Frederic Crozat [Mon, 1 Aug 2011 16:43:01 +0000 (18:43 +0200)]
bash: Allow to restart already started service.

Allow to restart all services, not only inactive one.

https://bugzilla.novell.com/show_bug.cgi?id=704782

13 years agoman: loginctl has lock/unlock with a -session suffix
Miklos Vajna [Sun, 31 Jul 2011 11:57:30 +0000 (13:57 +0200)]
man: loginctl has lock/unlock with a -session suffix

Hi,

The systemd-loginctl manpage talks about lock/unlock while in fact it1s
lock-sesion/unlock-session. The attached patch fixes this issue.

Thanks.

13 years agoman: Fix command name in systemd-tmpfiles example.
Ville Skyttä [Sat, 30 Jul 2011 17:01:01 +0000 (20:01 +0300)]
man: Fix command name in systemd-tmpfiles example.

13 years agoinitctl: support 'telinit u/q'
Tom Gundersen [Sat, 30 Jul 2011 16:23:10 +0000 (18:23 +0200)]
initctl: support 'telinit u/q'

We send SIGTERM (resp., SIGHUP) when we receive request for changing to
runlevel 'u' (resp., 'q').

As initctl is already async, we just send the signals rather than first
attempting to connect to sytemd over dbus and then falling back to kill.

13 years agoupdate TODO
Lennart Poettering [Mon, 1 Aug 2011 21:16:20 +0000 (23:16 +0200)]
update TODO

13 years agogperf: fix load-fragment-gperf.gperf.m4 when HAVE_SYSV_COMPAT is not set
Lennart Poettering [Mon, 1 Aug 2011 21:15:02 +0000 (23:15 +0200)]
gperf: fix load-fragment-gperf.gperf.m4 when HAVE_SYSV_COMPAT is not set

13 years agomain: fix reexec
Lennart Poettering [Mon, 1 Aug 2011 20:42:19 +0000 (22:42 +0200)]
main: fix reexec

13 years agoumask: set umask of a number of sockets by default, even though we check creds on...
Lennart Poettering [Mon, 1 Aug 2011 20:42:07 +0000 (22:42 +0200)]
umask: set umask of a number of sockets by default, even though we check creds on connections