chiark / gitweb /
elogind.git
8 years agosd-login: c++ compatibility
Lennart Poettering [Mon, 5 Mar 2012 14:16:10 +0000 (15:16 +0100)]
sd-login: c++ compatibility

8 years agosystemd-analyze: call os.uname() once
Dave Reisner [Mon, 27 Feb 2012 13:14:58 +0000 (08:14 -0500)]
systemd-analyze: call os.uname() once

Uses a format string, which is dependent on python 2.6.

8 years agofix sparse warnings
Frederic Crozat [Wed, 29 Feb 2012 13:42:49 +0000 (14:42 +0100)]
fix sparse warnings

8 years agojournal: fix endianness errors
Frederic Crozat [Thu, 1 Mar 2012 17:00:01 +0000 (18:00 +0100)]
journal: fix endianness errors

8 years agoman: corrected machine-info(5) man page to be in line with source
Shawn Landden [Mon, 5 Mar 2012 08:29:40 +0000 (00:29 -0800)]
man: corrected machine-info(5) man page to be in line with source

change conflicting man/machine-info.xml documentation to match functionality in
src/hostname/hostnamed.c 114-119

8 years agoupdate TODO
Lennart Poettering [Mon, 5 Mar 2012 13:09:16 +0000 (14:09 +0100)]
update TODO

8 years agoman: fix systemd.special build failure
Kay Sievers [Wed, 29 Feb 2012 21:32:50 +0000 (22:32 +0100)]
man: fix systemd.special build failure

8 years agosystemctl: forward untrusted user reboot, poweroff requests to logind
Kay Sievers [Wed, 29 Feb 2012 21:22:15 +0000 (22:22 +0100)]
systemctl: forward untrusted user reboot, poweroff requests to logind

8 years agosystemd-journald: fix endianess bug
Dirk Eibach [Wed, 29 Feb 2012 11:45:46 +0000 (12:45 +0100)]
systemd-journald: fix endianess bug

8 years agosystemd-analyze: read /etc/os-release
Kay Sievers [Tue, 21 Feb 2012 20:04:05 +0000 (21:04 +0100)]
systemd-analyze: read /etc/os-release

8 years agoupdate TODO
Lennart Poettering [Mon, 20 Feb 2012 18:56:14 +0000 (19:56 +0100)]
update TODO

8 years agoupdate TODO
Lennart Poettering [Mon, 20 Feb 2012 14:54:28 +0000 (15:54 +0100)]
update TODO

8 years agoman: systemd.special no longer needs sed logic
Lennart Poettering [Wed, 15 Feb 2012 19:23:25 +0000 (20:23 +0100)]
man: systemd.special no longer needs sed logic

8 years agologin: document new sd_session_get_xxx() calls
Lennart Poettering [Wed, 15 Feb 2012 19:13:24 +0000 (20:13 +0100)]
login: document new sd_session_get_xxx() calls

8 years agounits: reword rescue/emergency mode message to fit in 80chars
Lennart Poettering [Wed, 15 Feb 2012 19:06:14 +0000 (20:06 +0100)]
units: reword rescue/emergency mode message to fit in 80chars

8 years agosystemctl: introduce systemctl reboot -ff
Lennart Poettering [Wed, 15 Feb 2012 19:05:49 +0000 (20:05 +0100)]
systemctl: introduce systemctl reboot -ff

8 years agomachine-id: initialize vom qemu/kvm -uuid parameter if available
Lennart Poettering [Wed, 15 Feb 2012 18:16:08 +0000 (19:16 +0100)]
machine-id: initialize vom qemu/kvm -uuid parameter if available

8 years agobuild-sys: prepare release of 43 v43
Lennart Poettering [Wed, 15 Feb 2012 04:00:27 +0000 (05:00 +0100)]
build-sys: prepare release of 43

8 years agonamespace: temporaily reset umask when creating private /tmp
Lennart Poettering [Wed, 15 Feb 2012 03:56:59 +0000 (04:56 +0100)]
namespace: temporaily reset umask when creating private /tmp

8 years agologin: introduce sd_session_get_display()
Lennart Poettering [Wed, 15 Feb 2012 03:56:10 +0000 (04:56 +0100)]
login: introduce sd_session_get_display()

8 years agoupdate TODO
Lennart Poettering [Wed, 15 Feb 2012 01:39:52 +0000 (02:39 +0100)]
update TODO

8 years agotimedate: don't fail if NTP is not installed
Lennart Poettering [Tue, 14 Feb 2012 23:05:31 +0000 (00:05 +0100)]
timedate: don't fail if NTP is not installed

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

8 years agologin: add new sd_session_get_type() and sd_session_get_class API calls
Lennart Poettering [Tue, 14 Feb 2012 20:54:00 +0000 (21:54 +0100)]
login: add new sd_session_get_type() and sd_session_get_class API calls

8 years agologin: track login class (i.e. one of "user", "greeter", "lock-screen") for each...
Lennart Poettering [Tue, 14 Feb 2012 20:33:51 +0000 (21:33 +0100)]
login: track login class (i.e. one of "user", "greeter", "lock-screen") for each session

This introduces the new PAM environment variable XDG_SESSION_CLASS. If
not set, defaults to "user".

This is useful for apps that want to distuingish real user logins from
"fake" ones which just exist to show a gdm login screen or a lock
screen.

8 years agoupdate TODO
Kay Sievers [Tue, 14 Feb 2012 18:24:39 +0000 (19:24 +0100)]
update TODO

8 years agoman: define more precisely the format of /etc/os-release
Lennart Poettering [Tue, 14 Feb 2012 16:25:55 +0000 (17:25 +0100)]
man: define more precisely the format of /etc/os-release

8 years agoman: document CPE field in os-release file
Lennart Poettering [Tue, 14 Feb 2012 16:01:49 +0000 (17:01 +0100)]
man: document CPE field in os-release file

8 years agopath-lookup: search for unit files in /lib/systemd/system only on split /usr systems
Lennart Poettering [Mon, 13 Feb 2012 23:24:49 +0000 (00:24 +0100)]
path-lookup: search for unit files in /lib/systemd/system only on split /usr systems

8 years agodbus: update bus addresses to "unixexec:" protocol specifier
Lennart Poettering [Mon, 13 Feb 2012 22:48:47 +0000 (23:48 +0100)]
dbus: update bus addresses to "unixexec:" protocol specifier

The new protocol specified that we are settling on is "unixexec:" rather
than just "exec:", hence let's update our code accordingly.

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

8 years agosd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, work...
Lennart Poettering [Sat, 11 Feb 2012 02:45:23 +0000 (03:45 +0100)]
sd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, work on objects of the calling process

8 years agoman: we don't support systems without /etc/os-release anymore
Lennart Poettering [Mon, 13 Feb 2012 20:42:30 +0000 (21:42 +0100)]
man: we don't support systems without /etc/os-release anymore

8 years agoman: it's probably a good idea to wrap the ANSI color in quotes, in order to allow...
Lennart Poettering [Mon, 13 Feb 2012 17:37:33 +0000 (18:37 +0100)]
man: it's probably a good idea to wrap the ANSI color in quotes, in order to allow proper shell parsing of the semicolon

8 years agoFix broken Git repository URLs
Michael Biebl [Mon, 13 Feb 2012 16:46:46 +0000 (17:46 +0100)]
Fix broken Git repository URLs

8 years agoTODO
Lennart Poettering [Mon, 13 Feb 2012 15:36:33 +0000 (16:36 +0100)]
TODO

8 years agoconfigure.ac: fix whitespace
Kay Sievers [Mon, 13 Feb 2012 00:53:55 +0000 (01:53 +0100)]
configure.ac: fix whitespace

8 years agoalways use /etc/os-release and ignore all distro-specific files
Kay Sievers [Mon, 13 Feb 2012 00:46:44 +0000 (01:46 +0100)]
always use /etc/os-release and ignore all distro-specific files

The text mode welcome message will only show the distro name stored
in /etc/os-release and no longer read any distro-specific files.  If
/etc/os-release does not exist, 'Linux' will be printed.

When the source tree is is ./configure'd, only /etc-os-release is read
to guess the distro to build for. If /etc/os-release does not exist,
--with-distro= needs to be specified.

8 years agobuild-sys: simplify ENABLE_MANPAGES
Kay Sievers [Mon, 13 Feb 2012 00:11:22 +0000 (01:11 +0100)]
build-sys: simplify ENABLE_MANPAGES

8 years agobuild-sys: do not use split-/usr in distcheck
Kay Sievers [Mon, 13 Feb 2012 00:03:33 +0000 (01:03 +0100)]
build-sys: do not use split-/usr in distcheck

8 years agobuild-sys: publish man pages also on fdo v42
Lennart Poettering [Sat, 11 Feb 2012 00:59:49 +0000 (01:59 +0100)]
build-sys: publish man pages also on fdo

8 years agobuild-sys: prepare 42
Lennart Poettering [Sat, 11 Feb 2012 00:52:18 +0000 (01:52 +0100)]
build-sys: prepare 42

8 years agoTODO
Lennart Poettering [Sat, 11 Feb 2012 00:18:03 +0000 (01:18 +0100)]
TODO

8 years agol10n: Updated Polish translation
Piotr Drąg [Fri, 14 Oct 2011 14:27:33 +0000 (16:27 +0200)]
l10n: Updated Polish translation

8 years agobuild-sys: Support explicitly specifying --enable-split-usr.
Michał Górny [Fri, 10 Feb 2012 11:10:41 +0000 (12:10 +0100)]
build-sys: Support explicitly specifying --enable-split-usr.

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

8 years agoutil: fix handling of empty files in read_one_line_file()
Lennart Poettering [Fri, 10 Feb 2012 23:27:12 +0000 (00:27 +0100)]
util: fix handling of empty files in read_one_line_file()

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

8 years agologind: introduce CanReboot/CanPowerOff bus calls
Lennart Poettering [Fri, 10 Feb 2012 23:13:10 +0000 (00:13 +0100)]
logind: introduce CanReboot/CanPowerOff bus calls

8 years agobuild-sys: minor typo fix
Lennart Poettering [Fri, 10 Feb 2012 20:45:15 +0000 (21:45 +0100)]
build-sys: minor typo fix

8 years agoman: make building of man pages optional
Lennart Poettering [Fri, 10 Feb 2012 20:44:14 +0000 (21:44 +0100)]
man: make building of man pages optional

8 years agojournal: add CAP_SETUID and CAP_SETGID to capabilities for journald, so that we can...
Lennart Poettering [Fri, 10 Feb 2012 14:45:26 +0000 (15:45 +0100)]
journal: add CAP_SETUID and CAP_SETGID to capabilities for journald, so that we can fake SCM_CREDENTIALS

8 years agocgroup: fix inverted condition
Michal Schmidt [Fri, 10 Feb 2012 01:53:10 +0000 (02:53 +0100)]
cgroup: fix inverted condition

A bug was introduced in acb14d3 "cgroup: when getting cgroup empty
notifications, always search up the tree".

When the given cgroup is found the hashmap, we should be happy and
return it, not go looking up the tree for another one.

Fixes the hanging NetworkManager on shutdown for me.

8 years agologind: make seat device management accessible to normal users/via polkit
Lennart Poettering [Fri, 10 Feb 2012 01:35:48 +0000 (02:35 +0100)]
logind: make seat device management accessible to normal users/via polkit

8 years agologind: Allow PowerOff/Reboot in default context
Benjamin Franzke [Thu, 9 Feb 2012 23:56:44 +0000 (00:56 +0100)]
logind: Allow PowerOff/Reboot in default context

8 years agomain: fix reexecution of systemd, use right path to binary
Lennart Poettering [Thu, 9 Feb 2012 22:25:57 +0000 (23:25 +0100)]
main: fix reexecution of systemd, use right path to binary

8 years agokmod-setup: fix build with libkmod
Frederic Crozat [Thu, 9 Feb 2012 13:12:10 +0000 (14:12 +0100)]
kmod-setup: fix build with libkmod

8 years agoservice: imply NotifyAccess=main if WatchdogSec= is used
Lennart Poettering [Thu, 9 Feb 2012 20:11:25 +0000 (21:11 +0100)]
service: imply NotifyAccess=main if WatchdogSec= is used

8 years agoman: document restart options
Lennart Poettering [Thu, 9 Feb 2012 20:01:18 +0000 (21:01 +0100)]
man: document restart options

8 years agoservice: add StartLimitInterval/StartLimitBurst/StartLimitAction
Michael Olbrich [Thu, 9 Feb 2012 12:05:23 +0000 (13:05 +0100)]
service: add StartLimitInterval/StartLimitBurst/StartLimitAction

8 years agoman: Clarify man page with respect to automatic fstab dependencies
Bill Nottingham [Thu, 9 Feb 2012 19:04:38 +0000 (20:04 +0100)]
man: Clarify man page with respect to automatic fstab dependencies

Automatic mounts will be added if 'MountAuto=yes' is in system.conf,
regardless of whether comment=systemd.mount is set.

8 years agoinstall: fix incorrect 'Access denied' message with a non-existent unit
Michal Schmidt [Thu, 9 Feb 2012 09:36:56 +0000 (10:36 +0100)]
install: fix incorrect 'Access denied' message with a non-existent unit

With "systemctl is-enabled non-existent.service"
_UNIT_FILE_STATE_INVALID (-1) was wrongly interpreted as -errno.
Return -ENOENT in this case.

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

8 years agosystemctl: check for no more work after chkconfig
Michal Schmidt [Thu, 9 Feb 2012 09:05:15 +0000 (10:05 +0100)]
systemctl: check for no more work after chkconfig

Avoid a bogus message from 'systemctl enable ...' when all units given
are SysV services:
   Warning: unit files do not carry install information. No operation
   executed.

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

8 years agoservice: ignore SIGPIPE by default v41
Lennart Poettering [Thu, 9 Feb 2012 02:18:04 +0000 (03:18 +0100)]
service: ignore SIGPIPE by default

8 years agoupdate TODO
Lennart Poettering [Thu, 9 Feb 2012 01:13:36 +0000 (02:13 +0100)]
update TODO

8 years agojournal: limit caps we pass to journald
Lennart Poettering [Thu, 9 Feb 2012 01:06:13 +0000 (02:06 +0100)]
journal: limit caps we pass to journald

8 years agomodules-load: resolve aliases before insert modules
Dave Reisner [Thu, 9 Feb 2012 00:39:35 +0000 (19:39 -0500)]
modules-load: resolve aliases before insert modules

This keeps behavior in line calling /sbin/modprobe -- aliases will be
resolved to the relevant modules, and errors from inserting modules
which are already loaded are ignored.

8 years agobuild-sys: get rid of a few unnecessary AC_SUBST calls
Lennart Poettering [Thu, 9 Feb 2012 00:41:39 +0000 (01:41 +0100)]
build-sys: get rid of a few unnecessary AC_SUBST calls

8 years agokmod: make GCC shut up
Lennart Poettering [Thu, 9 Feb 2012 00:24:40 +0000 (01:24 +0100)]
kmod: make GCC shut up

8 years agoman: document x-systemd-device-timeout=
Lennart Poettering [Thu, 9 Feb 2012 00:20:09 +0000 (01:20 +0100)]
man: document x-systemd-device-timeout=

8 years agobuild-sys: prepare release 41
Lennart Poettering [Thu, 9 Feb 2012 00:06:07 +0000 (01:06 +0100)]
build-sys: prepare release 41

8 years agoman: fix XML
Lennart Poettering [Wed, 8 Feb 2012 23:52:26 +0000 (00:52 +0100)]
man: fix XML

Spotted by Sergey Ptashnick.

8 years agomodules-load: use libkmod rather than modprobe
Tom Gundersen [Wed, 8 Feb 2012 20:52:19 +0000 (21:52 +0100)]
modules-load: use libkmod rather than modprobe

8 years agokmod-setup: use libkmod rather than modprobe
Tom Gundersen [Wed, 8 Feb 2012 20:52:18 +0000 (21:52 +0100)]
kmod-setup: use libkmod rather than modprobe

8 years agoupdate TODO
Lennart Poettering [Wed, 8 Feb 2012 20:59:18 +0000 (21:59 +0100)]
update TODO

8 years agoratelimit: if interval/burst are set to 0, assume ratelimiting shall be disabled
Lennart Poettering [Wed, 8 Feb 2012 20:35:49 +0000 (21:35 +0100)]
ratelimit: if interval/burst are set to 0, assume ratelimiting shall be disabled

8 years agoman: document the WATCHDOG_USEC environment variable
Lennart Poettering [Wed, 8 Feb 2012 20:24:41 +0000 (21:24 +0100)]
man: document the WATCHDOG_USEC environment variable

8 years agoservice: set WATCHDOG_USEC environmen variable
Michael Olbrich [Wed, 8 Feb 2012 09:10:35 +0000 (10:10 +0100)]
service: set WATCHDOG_USEC environmen variable

8 years agoservice: introduce WatchdogSec and hook up the watchdog with the existing failure...
Michael Olbrich [Wed, 8 Feb 2012 09:10:34 +0000 (10:10 +0100)]
service: introduce WatchdogSec and hook up the watchdog with the existing failure logic

8 years agoman: document systemd.setenv=
Lennart Poettering [Wed, 8 Feb 2012 15:33:16 +0000 (16:33 +0100)]
man: document systemd.setenv=

8 years agosystemd: Add systemd.setenv for /proc/cmdline parsing.
William Douglas [Tue, 7 Feb 2012 20:31:20 +0000 (12:31 -0800)]
systemd: Add systemd.setenv for /proc/cmdline parsing.

Check for systemd.setenv when parsing /proc/cmdline.
ex: systemd.setenv=PATH=/opt/bin

8 years agomove /usr/bin/systemd to /usr/lib/systemd/systemd
Kay Sievers [Tue, 7 Feb 2012 23:08:10 +0000 (00:08 +0100)]
move /usr/bin/systemd to /usr/lib/systemd/systemd

8 years agologind: Terminate bus_login_session_user_properties
Benjamin Franzke [Tue, 7 Feb 2012 21:39:35 +0000 (22:39 +0100)]
logind: Terminate bus_login_session_user_properties

Fixes segfault in systemd-logind, triggered by:
systemd-loginctl show-session $XDG_SESSION_ID.

Bug introduced by d200735e13c52dcfe36c0e066f9f6c2fbfb85a9c,
so only systemd v39 is affected.

8 years agologind: fix introspection data
Lennart Poettering [Tue, 7 Feb 2012 19:12:21 +0000 (20:12 +0100)]
logind: fix introspection data

8 years agologind: introduce ActivateSessionOnSeat()
Lennart Poettering [Tue, 7 Feb 2012 19:12:13 +0000 (20:12 +0100)]
logind: introduce ActivateSessionOnSeat()

8 years agoratelimit: fix macro definition
Lennart Poettering [Tue, 7 Feb 2012 14:56:53 +0000 (15:56 +0100)]
ratelimit: fix macro definition

8 years agomain: use a shorter default $PATH if /usr is merged
Lennart Poettering [Tue, 7 Feb 2012 14:56:28 +0000 (15:56 +0100)]
main: use a shorter default $PATH if /usr is merged

8 years agoconfigure: it makes no sense to install systemd with stow
Lennart Poettering [Tue, 7 Feb 2012 13:43:33 +0000 (14:43 +0100)]
configure: it makes no sense to install systemd with stow

8 years agoupdate TODO
Lennart Poettering [Tue, 7 Feb 2012 13:39:04 +0000 (14:39 +0100)]
update TODO

8 years agomount: adjust dependencies for remote filesystems
Michal Schmidt [Tue, 7 Feb 2012 10:05:18 +0000 (11:05 +0100)]
mount: adjust dependencies for remote filesystems

Currently remote mounts automatically get:
 After=remote-fs-pre.target network.target

remote-fs-pre.target is already After=network.target. Just make sure
remote-fs-pre.target is pulled in by remote-fs.target if any remote
filesystems are configured.
For the mount units it is then sufficient to get:
 After=remote-fs-pre.target

Later NetworkManager will hook its NM-wait-online.service into
remote-fs-pre.target.wants in order to remove the need for the administrator
to enable the service manually when he has any remote filesystems.

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

8 years agoNEWS: update v40
Lennart Poettering [Tue, 7 Feb 2012 02:38:23 +0000 (03:38 +0100)]
NEWS: update

8 years agobuild-sys: bump release
Lennart Poettering [Tue, 7 Feb 2012 02:32:03 +0000 (03:32 +0100)]
build-sys: bump release

8 years agoautogen.sh: detect historic split-system-directories and add root options
Kay Sievers [Tue, 7 Feb 2012 02:23:05 +0000 (03:23 +0100)]
autogen.sh: detect historic split-system-directories and add root options

8 years agocgroup: when getting cgroup empty notifications, always search up the tree
Lennart Poettering [Fri, 3 Feb 2012 04:25:31 +0000 (05:25 +0100)]
cgroup: when getting cgroup empty notifications, always search up the tree

8 years agopath: convert failure field to enum
Lennart Poettering [Fri, 3 Feb 2012 04:04:48 +0000 (05:04 +0100)]
path: convert failure field to enum

8 years agoswap: replace failure boolean by result enum
Lennart Poettering [Fri, 3 Feb 2012 03:47:32 +0000 (04:47 +0100)]
swap: replace failure boolean by result enum

8 years agotimer: convert failure bool into enum
Lennart Poettering [Fri, 3 Feb 2012 03:03:21 +0000 (04:03 +0100)]
timer: convert failure bool into enum

8 years agoautomount: convert failure boolean to enum
Lennart Poettering [Fri, 3 Feb 2012 02:27:25 +0000 (03:27 +0100)]
automount: convert failure boolean to enum

8 years agomount: replace failure boolean by enum
Lennart Poettering [Fri, 3 Feb 2012 02:10:56 +0000 (03:10 +0100)]
mount: replace failure boolean by enum

8 years agosocket: replace failure boolean by enum
Lennart Poettering [Fri, 3 Feb 2012 01:31:54 +0000 (02:31 +0100)]
socket: replace failure boolean by enum

8 years agoservice: replace "failure" boolean by enum, and export it
Lennart Poettering [Fri, 3 Feb 2012 01:01:35 +0000 (02:01 +0100)]
service: replace "failure" boolean by enum, and export it

This should give admins more useful hints why a service failed.

8 years agoupdate TODO
Lennart Poettering [Thu, 2 Feb 2012 01:21:59 +0000 (02:21 +0100)]
update TODO

8 years agoutil: prevent daemon-reload from reaping service processes.
Chris Paulson-Ellis [Thu, 2 Feb 2012 17:32:05 +0000 (17:32 +0000)]
util: prevent daemon-reload from reaping service processes.

The reaping of generator processes run as part of a daemon-reload should not
call waitid(PID_ALL). The waitid() call in execute_directory() is intended only
to reap the executed processes, but if a service process exits at about the
same time as a daemon-reload, then that service process is reaped as well,
preventing it from being reaped in the proper place in
manager_dispatch_sigchld().

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

8 years agosd-daemon: support for building sd-daemon.c with Bionic (Android)
Alvaro Soliverez [Mon, 7 Nov 2011 18:10:25 +0000 (15:10 -0300)]
sd-daemon: support for building sd-daemon.c with Bionic (Android)

sd-daemon.h is a drop-in file, so we should make sure it doesn't break
builds for anybody.

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