]> err.no Git - systemd/log
systemd
13 years agoMerge branch 'master' into debian
Tollef Fog Heen [Sun, 16 Jan 2011 10:00:53 +0000 (11:00 +0100)]
Merge branch 'master' into debian

13 years agoRemove dependencies on legacy sysv mount scripts as we use native mount
Michael Biebl [Mon, 27 Dec 2010 15:35:58 +0000 (16:35 +0100)]
Remove dependencies on legacy sysv mount scripts as we use native mount

13 years agoFix hwclock
Michael Biebl [Mon, 27 Dec 2010 15:10:42 +0000 (16:10 +0100)]
Fix hwclock

Since we mask hwclock and hwclockfirst, we need to run hwclock-save.service
on shutdown now.
To avoid running hwclock twice during boot, we remove
sysinit.target.wants/hwclock-load.service. hwclock is already triggered
by /lib/udev/rules.d/85-hwclock.rules. This needs further coordination
with udev.

13 years agoClose new upstream bug
Tollef Fog Heen [Sun, 16 Jan 2011 09:05:28 +0000 (10:05 +0100)]
Close new upstream bug

13 years agoFix single user mode
Michael Biebl [Mon, 27 Dec 2010 23:30:05 +0000 (00:30 +0100)]
Fix single user mode

13 years agoFix a small typo
Michael Biebl [Tue, 28 Dec 2010 20:11:50 +0000 (21:11 +0100)]
Fix a small typo

13 years agoUse syntax compatible with debhelper v8
Michael Biebl [Thu, 6 Jan 2011 04:26:45 +0000 (05:26 +0100)]
Use syntax compatible with debhelper v8

13 years agoUpdate package description
Michael Biebl [Mon, 27 Dec 2010 15:07:01 +0000 (16:07 +0100)]
Update package description

Update short package description based on the upstream homepage.
Lennart wants the description to no longer mention "session manager".

13 years agoUse the built-in cryptsetup support in systemd
Tollef Fog Heen [Sun, 16 Jan 2011 08:56:30 +0000 (09:56 +0100)]
Use the built-in cryptsetup support in systemd

13 years agoNew upstream version
Tollef Fog Heen [Sun, 16 Jan 2011 08:55:43 +0000 (09:55 +0100)]
New upstream version

13 years agoMerge branch 'master' into debian
Tollef Fog Heen [Sat, 15 Jan 2011 06:24:41 +0000 (07:24 +0100)]
Merge branch 'master' into debian

Conflicts:
configure.ac
src/gnome-ask-password-agent.vala

13 years agoMerge commit 'v16'
Tollef Fog Heen [Fri, 14 Jan 2011 21:04:37 +0000 (22:04 +0100)]
Merge commit 'v16'

13 years agoGet rid of junk
Tollef Fog Heen [Fri, 14 Jan 2011 21:04:31 +0000 (22:04 +0100)]
Get rid of junk

13 years agobuild-sys: prepare v16 v16
Lennart Poettering [Sat, 8 Jan 2011 01:34:55 +0000 (02:34 +0100)]
build-sys: prepare v16

13 years agodevice: don't warn if we cannot bump the socket buffer
Lennart Poettering [Sat, 8 Jan 2011 01:30:07 +0000 (02:30 +0100)]
device: don't warn if we cannot bump the socket buffer

13 years agoupdate TODO
Lennart Poettering [Fri, 7 Jan 2011 00:12:27 +0000 (01:12 +0100)]
update TODO

13 years agologger: when passing on PID info, fall back to our own if originating process is...
Lennart Poettering [Thu, 6 Jan 2011 23:18:51 +0000 (00:18 +0100)]
logger: when passing on PID info, fall back to our own if originating process is already gone

13 years agoservice: don't hit an assert if information in LSB headers is incorrectly formatted
Lennart Poettering [Thu, 6 Jan 2011 22:52:58 +0000 (23:52 +0100)]
service: don't hit an assert if information in LSB headers is incorrectly formatted

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

13 years agoexecute,util: fix two small memory leaks
Lennart Poettering [Thu, 6 Jan 2011 22:52:17 +0000 (23:52 +0100)]
execute,util: fix two small memory leaks

13 years agospecifier: at minimal test
Lennart Poettering [Thu, 6 Jan 2011 22:51:52 +0000 (23:51 +0100)]
specifier: at minimal test

13 years agogetty: unset locale before execution
Lennart Poettering [Thu, 6 Jan 2011 19:38:06 +0000 (20:38 +0100)]
getty: unset locale before execution

On the console indian characters cannot be displayed, hence it is
advisable to disable indian locales on the console, which most
distributions traditionally did from a shell fragment executed post
login. If getty gets started with locale settings passed it would itself
however be translated without the no-indian-on-console fixup applied.

Hence, for now don't pass any locale settings to getty/login, and thus
rely on the classic post-login script fragment to set and fix the
locale.

Eventually we probably want to drop this again since the system locale
should be read and set at one place, and not at multiple, and that one
place should be PID 1.

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

13 years agoexecute: drop empty assignments from env blocks on execution but keep them around...
Lennart Poettering [Thu, 6 Jan 2011 19:38:02 +0000 (20:38 +0100)]
execute: drop empty assignments from env blocks on execution but keep them around otherwise to make them visible

13 years agoumount: don't try to detach the dm device the root dir is on, to minimize warning...
Lennart Poettering [Thu, 6 Jan 2011 18:10:17 +0000 (19:10 +0100)]
umount: don't try to detach the dm device the root dir is on, to minimize warning messages

13 years agoupdate TODO
Lennart Poettering [Thu, 6 Jan 2011 17:54:10 +0000 (18:54 +0100)]
update TODO

13 years agolocale: fix variable names
Lennart Poettering [Thu, 6 Jan 2011 00:39:25 +0000 (01:39 +0100)]
locale: fix variable names

13 years agofragment: allow prefixing of the EnvironmentFile= path with - to ignore errors
Lennart Poettering [Thu, 6 Jan 2011 00:39:08 +0000 (01:39 +0100)]
fragment: allow prefixing of the EnvironmentFile= path with - to ignore errors

13 years agoupdate TODO
Lennart Poettering [Wed, 5 Jan 2011 15:17:55 +0000 (16:17 +0100)]
update TODO

13 years agoutil: don't pass invalid fd to fdopendir() on error to avoid corruption of errno
Lennart Poettering [Wed, 5 Jan 2011 15:17:26 +0000 (16:17 +0100)]
util: don't pass invalid fd to fdopendir() on error to avoid corruption of errno

13 years agotmpfiles: nicer message when two or more conflicting lines are configured for the...
Lennart Poettering [Wed, 5 Jan 2011 15:11:15 +0000 (16:11 +0100)]
tmpfiles: nicer message when two or more conflicting lines are configured for the same file

13 years agofragment: properly handle quotes in assignments in EnvironmentFile= files
Lennart Poettering [Wed, 5 Jan 2011 15:06:35 +0000 (16:06 +0100)]
fragment: properly handle quotes in assignments in EnvironmentFile= files

13 years agoupdate TODO
Lennart Poettering [Wed, 5 Jan 2011 14:42:20 +0000 (15:42 +0100)]
update TODO

13 years agoupdate TODO
Lennart Poettering [Wed, 5 Jan 2011 00:04:59 +0000 (01:04 +0100)]
update TODO

13 years agosysctl: don't warn if sysctls are gone
Lennart Poettering [Tue, 4 Jan 2011 23:05:53 +0000 (00:05 +0100)]
sysctl: don't warn if sysctls are gone

13 years agoreadahead: ignore if files are removed during collection or before replay
Lennart Poettering [Tue, 4 Jan 2011 22:42:58 +0000 (23:42 +0100)]
readahead: ignore if files are removed during collection or before replay

13 years agoserial: use TERM=vt100 instead of TERM=vt100-nav
Lennart Poettering [Tue, 4 Jan 2011 20:45:52 +0000 (21:45 +0100)]
serial: use TERM=vt100 instead of TERM=vt100-nav

TERM=vt100-nav was necessary for compat with some ppc hvc devices, a
long time ago. Unfortunately vt100-nav terminfo is not installed by
default on most distros, hence change the default to v100 which is
available universally and still should be a relatively safe and
conservative default.

Should it turn out that vt100 is not really the best choice we can
revert this change again and then ask distros to move vt100-nav into
their default install.

13 years agosystemctl: Don't use Debian's 'sensible-pager', use 'pager' instead
Lennart Poettering [Tue, 4 Jan 2011 13:51:48 +0000 (14:51 +0100)]
systemctl: Don't use Debian's 'sensible-pager', use 'pager' instead

13 years agofix help message for --with-tty-gid configure option
Michael Biebl [Tue, 4 Jan 2011 01:26:30 +0000 (02:26 +0100)]
fix help message for --with-tty-gid configure option

13 years agocryptsetup: call mkswap on dm device, not on source device
Lennart Poettering [Tue, 4 Jan 2011 01:12:07 +0000 (02:12 +0100)]
cryptsetup: call mkswap on dm device, not on source device

13 years agomount-setup: mount /dev/pts with mode=620,gid=5 by default and make GID overridable...
Lennart Poettering [Tue, 4 Jan 2011 00:58:38 +0000 (01:58 +0100)]
mount-setup: mount /dev/pts with mode=620,gid=5 by default and make GID overridable via configure switch

13 years agosystemctl: drop redundant getenv('LESS') check
Lennart Poettering [Tue, 4 Jan 2011 00:18:57 +0000 (01:18 +0100)]
systemctl: drop redundant getenv('LESS') check

13 years agosystemctl: spawn pager only for commands that generates long output
Lennart Poettering [Tue, 4 Jan 2011 00:04:20 +0000 (01:04 +0100)]
systemctl: spawn pager only for commands that generates long output

13 years agosystemctl: make the child the pager, leave systemctl as parent
Lennart Poettering [Mon, 3 Jan 2011 23:58:28 +0000 (00:58 +0100)]
systemctl: make the child the pager, leave systemctl as parent

It's nicer if the child process gets reinitialized cleanly instead of
the parent process.

13 years agosystemctl: try harder to find a suitable pager
Lennart Poettering [Mon, 3 Jan 2011 23:47:40 +0000 (00:47 +0100)]
systemctl: try harder to find a suitable pager

13 years agosystemctl: implement auto-pager a la git
Miklos Vajna [Sat, 1 Jan 2011 23:25:57 +0000 (00:25 +0100)]
systemctl: implement auto-pager a la git

13 years agoarch: remove welcome message
Tom Gundersen [Mon, 27 Dec 2010 22:52:02 +0000 (23:52 +0100)]
arch: remove welcome message

This is now done by os-release downstream.

13 years agoman: remaining spelling fixes
Miklos Vajna [Fri, 31 Dec 2010 00:50:51 +0000 (01:50 +0100)]
man: remaining spelling fixes

13 years agoshutdown: drop redundant sync() invocation
Lennart Poettering [Sat, 1 Jan 2011 18:54:12 +0000 (19:54 +0100)]
shutdown: drop redundant sync() invocation

13 years agoutil: invoke sync() implicitly on freeze()
Lennart Poettering [Sat, 1 Jan 2011 18:50:32 +0000 (19:50 +0100)]
util: invoke sync() implicitly on freeze()

Suggested by Tom Gundersen.

13 years agoupdate TODO
Kay Sievers [Tue, 28 Dec 2010 18:18:26 +0000 (19:18 +0100)]
update TODO

13 years agoupdate TODO
Kay Sievers [Tue, 28 Dec 2010 17:53:09 +0000 (18:53 +0100)]
update TODO

13 years agotmpfiles: ensure we do no follow symlinks when cleaning up dirs
Lennart Poettering [Tue, 28 Dec 2010 13:20:21 +0000 (14:20 +0100)]
tmpfiles: ensure we do no follow symlinks when cleaning up dirs

Patch suggested by Miloslav Trmac.

13 years agoservice: ifdef (more) distro-specific compat logic
Michael Biebl [Mon, 27 Dec 2010 17:41:54 +0000 (18:41 +0100)]
service: ifdef (more) distro-specific compat logic

This should make it easier to get rid of that compat code later and
avoids problems like stripping of rc. from /etc/init.d/rc.local on
Debian.

13 years agoAdjust for upstream path name changes
Tollef Fog Heen [Sun, 26 Dec 2010 19:31:49 +0000 (20:31 +0100)]
Adjust for upstream path name changes

13 years agoUse native mount, mask services done by systemd
Tollef Fog Heen [Sun, 26 Dec 2010 19:31:33 +0000 (20:31 +0100)]
Use native mount, mask services done by systemd

13 years agoDocument that /etc/network/run should be a symlink
Tollef Fog Heen [Sun, 26 Dec 2010 19:30:16 +0000 (20:30 +0100)]
Document that /etc/network/run should be a symlink

13 years agoRemove autogenerated man pages and vala C sources, so they are rebuilt.
Michael Biebl [Sun, 26 Dec 2010 12:33:11 +0000 (13:33 +0100)]
Remove autogenerated man pages and vala C sources, so they are rebuilt.

13 years agoDisable cryptsetup support
Michael Biebl [Sun, 26 Dec 2010 12:31:28 +0000 (13:31 +0100)]
Disable cryptsetup support

Explicitly disable cryptsetup support to not accidentally pick up a
libcryptsetup dependency in a tainted build environment, as the
library is currently installed in /usr/lib.

13 years agoDocument dropping of lock group for Debian
Tollef Fog Heen [Sun, 26 Dec 2010 12:23:43 +0000 (13:23 +0100)]
Document dropping of lock group for Debian

13 years agoRevert upstream commit which uses fsck -l (needs a newer version of util-linux).
Tollef Fog Heen [Sun, 26 Dec 2010 12:02:12 +0000 (13:02 +0100)]
Revert upstream commit which uses fsck -l (needs a newer version of util-linux).

13 years agoMerge branch 'master' into debian
Tollef Fog Heen [Sun, 26 Dec 2010 12:01:22 +0000 (13:01 +0100)]
Merge branch 'master' into debian

13 years agoMerge commit 'v15'
Tollef Fog Heen [Sun, 26 Dec 2010 12:01:09 +0000 (13:01 +0100)]
Merge commit 'v15'

13 years agoAdd dependency on new util-linux to make sure /sbin/agetty exists
Tollef Fog Heen [Sun, 26 Dec 2010 11:58:17 +0000 (12:58 +0100)]
Add dependency on new util-linux to make sure /sbin/agetty exists

13 years agoUpdate changelog for new upstream version
Tollef Fog Heen [Sun, 26 Dec 2010 11:56:56 +0000 (12:56 +0100)]
Update changelog for new upstream version

13 years agoRemove -s from getty invocation
Tollef Fog Heen [Sun, 26 Dec 2010 11:56:19 +0000 (12:56 +0100)]
Remove -s from getty invocation

getty from util-linux doesn't support -s yet, so drop that for now.

13 years agoTry to catch direct init script invocations and redirect to systemctl
Michael Biebl [Sun, 26 Dec 2010 11:53:08 +0000 (12:53 +0100)]
Try to catch direct init script invocations and redirect to systemctl

Install lsb-base hook which redirects calls to SysV init scripts to
systemctl: /etc/init.d/<foo> <action> → systemctl <action> <foo.service>

13 years agoInstall a (auto)mount unit to mount /lib/init/rw early during boot.
Tollef Fog Heen [Sun, 26 Dec 2010 11:43:15 +0000 (12:43 +0100)]
Install a (auto)mount unit to mount /lib/init/rw early during boot.

13 years agoupdate TODO
Lennart Poettering [Sat, 25 Dec 2010 18:06:48 +0000 (19:06 +0100)]
update TODO

13 years agopam: do not sort user sessions into their own cgroups in the 'cpu' hierarchy by default
Lennart Poettering [Fri, 24 Dec 2010 09:48:20 +0000 (10:48 +0100)]
pam: do not sort user sessions into their own cgroups in the 'cpu' hierarchy by default

While this offers quite a few benefits for normally scheduled processes
this breaks RT scheduling for all user processes, since we do not assign
an RT share to the cgroups created via this mechanism. If the user
cgroups have no RT share assigned no member process can make use of RT
functionality. However, software like JACK and PA/rtkit assume that RT
is available in some way or another, either via RLIMIT_RTPRIO or via
some privileged service. Creating implicit cpu cgroups but not adding
RT shares to them hence breaks these applications.

There is no sane way to implicitly add RT shares to these groups, since
they are pulled from a global, limited pool and it would hence be very
hard to make this work without limiting the number of concurrent
sessions, or constantly rewriting the cpu share settings of already
logged in session cgroups.

Most likely this issue needs to be fixed in-kernel because we can enable
this feature by default again.

13 years agomount-setup: drop noexec flag from default mount options for /dev/shm
Lennart Poettering [Thu, 23 Dec 2010 21:33:24 +0000 (22:33 +0100)]
mount-setup: drop noexec flag from default mount options for /dev/shm

We shouldn't break PROT_EXEC which is a valid mmap() flag.

13 years agoutil: properly handle OOM when allocating Debian version string
Lennart Poettering [Tue, 21 Dec 2010 09:05:20 +0000 (14:35 +0530)]
util: properly handle OOM when allocating Debian version string

13 years agodebian: Prefix welcome string with "Debian "
Michael Biebl [Tue, 21 Dec 2010 02:07:36 +0000 (03:07 +0100)]
debian: Prefix welcome string with "Debian "

For stable releases /etc/debian_version only contains a version number,
so we add a prefix "Debian ".

13 years agoFix misspellings in os-release manpage and hwclock-load.service
Miklos Vajna [Sat, 18 Dec 2010 01:45:12 +0000 (02:45 +0100)]
Fix misspellings in os-release manpage and hwclock-load.service

13 years agoFrugalware: start gettys after local.service
Miklos Vajna [Thu, 16 Dec 2010 14:00:51 +0000 (15:00 +0100)]
Frugalware: start gettys after local.service

13 years agoservice: ifdef distro-specific compat logic
Kay Sievers [Thu, 16 Dec 2010 13:29:34 +0000 (14:29 +0100)]
service: ifdef distro-specific compat logic

13 years agoservice: drop rc. prefix on frugalware linux
Miklos Vajna [Tue, 7 Dec 2010 21:51:21 +0000 (22:51 +0100)]
service: drop rc. prefix on frugalware linux

13 years agoman: daemon - fix misspellings
Miklos Vajna [Thu, 16 Dec 2010 00:55:59 +0000 (01:55 +0100)]
man: daemon - fix misspellings

13 years agoupdate TODO
Kay Sievers [Wed, 15 Dec 2010 16:24:22 +0000 (17:24 +0100)]
update TODO

13 years agosystemd.pc: change 'session' to 'user'
Jesse Zhang [Fri, 10 Dec 2010 08:00:49 +0000 (16:00 +0800)]
systemd.pc: change 'session' to 'user'

commit af2d49f ("drop support for MANAGER_SESSION, introduce
MANAGER_USER instead") forgot to update systemd.pc.

Signed-off-by: Jesse Zhang <zh.jesse@gmail.com>
13 years agosuse: add 'smtp' LSB facility
Kay Sievers [Thu, 9 Dec 2010 17:50:30 +0000 (18:50 +0100)]
suse: add 'smtp' LSB facility

13 years agoman: modules-load.d - fix misspellings
Miklos Vajna [Sun, 5 Dec 2010 09:14:06 +0000 (10:14 +0100)]
man: modules-load.d - fix misspellings

14 years agoupdate README
Kay Sievers [Wed, 1 Dec 2010 20:02:46 +0000 (21:02 +0100)]
update README

14 years agoupdate TODO
Kay Sievers [Wed, 1 Dec 2010 15:56:41 +0000 (16:56 +0100)]
update TODO

14 years agopath: fix watching the root directory
Michal Schmidt [Wed, 1 Dec 2010 14:39:52 +0000 (15:39 +0100)]
path: fix watching the root directory

If you have a path unit with:
  DirectoryNotEmpty=/foo
and "/foo" does not exist, creating it later escapes the attention of systemd.

When adding watches for parent directories, systemd never adds one for the root
directory. It attempts to add a watch for an empty string instead, which fails.

If the path is "/", we must not trim the slash.

14 years agosrc/quotacheck.c: Fix typo
Ozan Çağlayan [Wed, 1 Dec 2010 12:40:09 +0000 (14:40 +0200)]
src/quotacheck.c: Fix typo

Fix quota misspelling in quotacheck.c

Signed-off-by: Ozan Çağlayan <ozan@pardus.org.tr>
14 years agoman: systemctl - clarify condrestart, force-reload
Ran Benita [Tue, 30 Nov 2010 17:05:13 +0000 (19:05 +0200)]
man: systemctl - clarify condrestart, force-reload

14 years agobuild-sys: frugalware linux support
Miklos Vajna [Mon, 29 Nov 2010 13:42:10 +0000 (14:42 +0100)]
build-sys: frugalware linux support

14 years agoman: systemctl - spelling fixes
Ran Benita [Sun, 28 Nov 2010 13:00:49 +0000 (14:00 +0100)]
man: systemctl - spelling fixes

14 years agoEnsure LIBNOTIFY07 conditional is always set
Michael Biebl [Sat, 27 Nov 2010 12:29:14 +0000 (13:29 +0100)]
Ensure LIBNOTIFY07 conditional is always set

Also use PKG_CHECK_EXISTS to test if libnotify is recent enough

14 years agoupdate README
Kay Sievers [Fri, 26 Nov 2010 19:48:29 +0000 (20:48 +0100)]
update README

14 years agoCreate convenience library libsystemd_daemon.la for sd-daemon.c
Michael Biebl [Fri, 26 Nov 2010 19:25:00 +0000 (20:25 +0100)]
Create convenience library libsystemd_daemon.la for sd-daemon.c

Instead of compiling sd-daemon.c 10 times, create a noinst convenience
library libsystemd_daemon.la.

14 years agognome-ask-password-agent: also support libnotify < 0.7 for now
Kay Sievers [Fri, 26 Nov 2010 16:59:53 +0000 (17:59 +0100)]
gnome-ask-password-agent: also support libnotify < 0.7 for now

14 years agoupdate TODO
Kay Sievers [Fri, 26 Nov 2010 15:08:35 +0000 (16:08 +0100)]
update TODO

14 years agoudev: make sure we aleways read from netlink, if there is data
Kay Sievers [Fri, 26 Nov 2010 15:06:30 +0000 (16:06 +0100)]
udev: make sure we aleways read from netlink, if there is data

14 years agoudev: increase event buffer size, handle -ENOBUFS, handle filtered-out devices
Kay Sievers [Fri, 26 Nov 2010 03:51:30 +0000 (04:51 +0100)]
udev: increase event buffer size, handle -ENOBUFS, handle filtered-out devices

14 years agoupdate TODO
Lennart Poettering [Fri, 26 Nov 2010 00:54:50 +0000 (01:54 +0100)]
update TODO

14 years agoupdate TODO
Lennart Poettering [Fri, 26 Nov 2010 00:42:22 +0000 (01:42 +0100)]
update TODO

14 years agoupdate TODO
Kay Sievers [Thu, 25 Nov 2010 15:01:22 +0000 (16:01 +0100)]
update TODO

14 years agoupdate TODO
Kay Sievers [Thu, 25 Nov 2010 06:01:01 +0000 (07:01 +0100)]
update TODO

14 years agobuild-sys: prepare release 15 v15
Lennart Poettering [Thu, 25 Nov 2010 00:41:25 +0000 (01:41 +0100)]
build-sys: prepare release 15

14 years agodbus: use the right data slot allocator
Lennart Poettering [Thu, 25 Nov 2010 00:37:21 +0000 (01:37 +0100)]
dbus: use the right data slot allocator

Thanks to 'trapni' on IRC for tracking this down.