]> err.no Git - systemd/log
systemd
13 years agologind: properly preallocate configured auto VTs
Lennart Poettering [Tue, 28 Jun 2011 00:53:49 +0000 (02:53 +0200)]
logind: properly preallocate configured auto VTs

13 years agounit: when loading symlinked template units, properly add all names on the way to...
Lennart Poettering [Tue, 28 Jun 2011 00:53:15 +0000 (02:53 +0200)]
unit: when loading symlinked template units, properly add all names on the way to the unit

13 years agologind: kill a session as soon as its pipe fd gets EOF
Lennart Poettering [Mon, 27 Jun 2011 22:26:34 +0000 (00:26 +0200)]
logind: kill a session as soon as its pipe fd gets EOF

13 years agologind: autospawn gettys when necessary
Lennart Poettering [Mon, 27 Jun 2011 22:26:10 +0000 (00:26 +0200)]
logind: autospawn gettys when necessary

13 years agologind: when enumerating acl devices for seat0, don't set a tag
Lennart Poettering [Mon, 27 Jun 2011 21:27:57 +0000 (23:27 +0200)]
logind: when enumerating acl devices for seat0, don't set a tag

13 years agologind: fix ACL code allocation
Lennart Poettering [Mon, 27 Jun 2011 21:20:56 +0000 (23:20 +0200)]
logind: fix ACL code allocation

13 years agodbus: fix name allocation logic
Lennart Poettering [Mon, 27 Jun 2011 21:15:57 +0000 (23:15 +0200)]
dbus: fix name allocation logic

13 years agodbus: use bus_error_message() where applicable
Lennart Poettering [Mon, 27 Jun 2011 21:15:30 +0000 (23:15 +0200)]
dbus: use bus_error_message() where applicable

13 years agologind: fix bad memory access
Lennart Poettering [Mon, 27 Jun 2011 21:08:42 +0000 (23:08 +0200)]
logind: fix bad memory access

13 years agologind: properly detect whether we got the bus name
Lennart Poettering [Mon, 27 Jun 2011 21:07:28 +0000 (23:07 +0200)]
logind: properly detect whether we got the bus name

13 years agologind: check whether newly created session is active
Lennart Poettering [Mon, 27 Jun 2011 21:07:13 +0000 (23:07 +0200)]
logind: check whether newly created session is active

13 years agologind: when the leader of a session exited, don't fail
Lennart Poettering [Mon, 27 Jun 2011 21:06:49 +0000 (23:06 +0200)]
logind: when the leader of a session exited, don't fail

13 years agologind: save object data only when started fully
Lennart Poettering [Mon, 27 Jun 2011 21:06:34 +0000 (23:06 +0200)]
logind: save object data only when started fully

13 years agologind: automatically deduce seat from display
Lennart Poettering [Mon, 27 Jun 2011 20:44:12 +0000 (22:44 +0200)]
logind: automatically deduce seat from display

13 years agopam: make sure we pass a valid tty field to logind
Lennart Poettering [Mon, 27 Jun 2011 17:49:43 +0000 (19:49 +0200)]
pam: make sure we pass a valid tty field to logind

13 years agoupdate TODO
Lennart Poettering [Mon, 27 Jun 2011 17:40:51 +0000 (19:40 +0200)]
update TODO

13 years agologind: update TODO
Lennart Poettering [Mon, 27 Jun 2011 17:39:56 +0000 (19:39 +0200)]
logind: update TODO

13 years agoswap: ignore missing /proc/swaps
Michael Olbrich [Fri, 24 Jun 2011 11:43:19 +0000 (13:43 +0200)]
swap: ignore missing /proc/swaps

Otherwise systemd reports "Failed to fully start up daemon: No such file or
directory" when swap is disabled in the kernel.

13 years agounits: Use /etc/rc.d/rc.local as the path to rc.local in Fedora.
Bill Nottingham [Tue, 21 Jun 2011 19:35:44 +0000 (15:35 -0400)]
units: Use /etc/rc.d/rc.local as the path to rc.local in Fedora.

/etc/rc.local is a symlink.

13 years agosystemctl: add support for --root for systemctl enable/disable/is-enabled
Frederic Crozat [Fri, 24 Jun 2011 13:02:57 +0000 (15:02 +0200)]
systemctl: add support for --root for systemctl enable/disable/is-enabled

Add --root=<root> for enable/disable/is-enabled systemctl commands. To
be used for easily enable / disable systemd services for a chroot,
without running systemctl inside chroot.

13 years agodbus: send our finished signal when we are finished booting
Lennart Poettering [Mon, 27 Jun 2011 11:47:03 +0000 (13:47 +0200)]
dbus: send our finished signal when we are finished booting

13 years agologind: add more necessary caps to the service
Lennart Poettering [Fri, 24 Jun 2011 21:52:02 +0000 (23:52 +0200)]
logind: add more necessary caps to the service

13 years agopam: fix up tty if it is actually a display
Lennart Poettering [Fri, 24 Jun 2011 21:51:49 +0000 (23:51 +0200)]
pam: fix up tty if it is actually a display

13 years agologind: save/restore session type
Lennart Poettering [Fri, 24 Jun 2011 21:50:39 +0000 (23:50 +0200)]
logind: save/restore session type

13 years agologind: use pipe fd to detect when a session is dead
Lennart Poettering [Fri, 24 Jun 2011 21:25:28 +0000 (23:25 +0200)]
logind: use pipe fd to detect when a session is dead

13 years agologind: fix set of capabilities
Lennart Poettering [Fri, 24 Jun 2011 20:55:51 +0000 (22:55 +0200)]
logind: fix set of capabilities

13 years agologind: properly handle if two session with identical loginuids are attempted to...
Lennart Poettering [Fri, 24 Jun 2011 20:55:39 +0000 (22:55 +0200)]
logind: properly handle if two session with identical loginuids are attempted to be created

13 years agologind: when generating session ids with a counter, retry if session is already allocated
Lennart Poettering [Fri, 24 Jun 2011 18:46:22 +0000 (20:46 +0200)]
logind: when generating session ids with a counter, retry if session is already allocated

13 years agologind: remove a session when its cgroup is gone
Lennart Poettering [Fri, 24 Jun 2011 18:41:56 +0000 (20:41 +0200)]
logind: remove a session when its cgroup is gone

13 years agologind: fix generation of bus arrays
Lennart Poettering [Fri, 24 Jun 2011 18:41:22 +0000 (20:41 +0200)]
logind: fix generation of bus arrays

13 years agologind: make sure we hand out write fd, and keep read fd for session end detection
Lennart Poettering [Fri, 24 Jun 2011 18:40:00 +0000 (20:40 +0200)]
logind: make sure we hand out write fd, and keep read fd for session end detection

13 years agologind: various clean-ups
Lennart Poettering [Fri, 24 Jun 2011 17:42:45 +0000 (19:42 +0200)]
logind: various clean-ups

13 years agologind: hook up PAM module with logind
Lennart Poettering [Fri, 24 Jun 2011 16:50:50 +0000 (18:50 +0200)]
logind: hook up PAM module with logind

13 years agologind: make idle hint logic work
Lennart Poettering [Tue, 21 Jun 2011 20:29:25 +0000 (22:29 +0200)]
logind: make idle hint logic work

13 years agologind: send out PropertyChanged signals where appropriate
Lennart Poettering [Tue, 21 Jun 2011 19:46:13 +0000 (21:46 +0200)]
logind: send out PropertyChanged signals where appropriate

13 years agologind: send dbus signals when sessions/users/seats come and go
Lennart Poettering [Tue, 21 Jun 2011 18:43:34 +0000 (20:43 +0200)]
logind: send dbus signals when sessions/users/seats come and go

13 years agologind: implement ListXXX bus methods
Lennart Poettering [Tue, 21 Jun 2011 18:14:24 +0000 (20:14 +0200)]
logind: implement ListXXX bus methods

13 years agologind: implement more dbus functionality
Lennart Poettering [Tue, 21 Jun 2011 17:20:05 +0000 (19:20 +0200)]
logind: implement more dbus functionality

13 years agologind: implement idle hint logic
Lennart Poettering [Fri, 17 Jun 2011 13:59:18 +0000 (15:59 +0200)]
logind: implement idle hint logic

13 years agodbus: add dbus introspection extraction
Lennart Poettering [Thu, 16 Jun 2011 22:15:02 +0000 (00:15 +0200)]
dbus: add dbus introspection extraction

13 years agotimedated: rename a few things for clarification
Lennart Poettering [Thu, 16 Jun 2011 20:15:43 +0000 (22:15 +0200)]
timedated: rename a few things for clarification

13 years agotimedated: sync clock down to RTC where necessary
Lennart Poettering [Thu, 16 Jun 2011 19:52:11 +0000 (21:52 +0200)]
timedated: sync clock down to RTC where necessary

13 years agoupdate TODO
Lennart Poettering [Wed, 15 Jun 2011 13:39:10 +0000 (15:39 +0200)]
update TODO

13 years agomechanisms: add mechanisms to change system locale and clock
Lennart Poettering [Wed, 15 Jun 2011 13:37:39 +0000 (15:37 +0200)]
mechanisms: add mechanisms to change system locale and clock

13 years agoutil: make a couple of files we write atomic
Lennart Poettering [Wed, 15 Jun 2011 13:35:23 +0000 (15:35 +0200)]
util: make a couple of files we write atomic

13 years agoservice: check whether sysv scripts where changed
Lennart Poettering [Wed, 15 Jun 2011 13:34:19 +0000 (15:34 +0200)]
service: check whether sysv scripts where changed

13 years agodbus: introduce UnsetAndSetEnvironment()
Lennart Poettering [Wed, 15 Jun 2011 13:31:54 +0000 (15:31 +0200)]
dbus: introduce UnsetAndSetEnvironment()

13 years agoutil: return errno in close_nointr()
Lennart Poettering [Wed, 15 Jun 2011 08:16:09 +0000 (10:16 +0200)]
util: return errno in close_nointr()

13 years agologind: implement D-Bus properties
Lennart Poettering [Thu, 26 May 2011 00:21:16 +0000 (02:21 +0200)]
logind: implement D-Bus properties

13 years agodbus: add api for append gid/uid properties
Lennart Poettering [Thu, 26 May 2011 00:16:49 +0000 (02:16 +0200)]
dbus: add api for append gid/uid properties

13 years agoudev: simplify udev rules a bit
Lennart Poettering [Thu, 26 May 2011 00:16:17 +0000 (02:16 +0200)]
udev: simplify udev rules a bit

13 years agologind: unlink state files when stopping
Lennart Poettering [Tue, 24 May 2011 22:58:55 +0000 (00:58 +0200)]
logind: unlink state files when stopping

13 years agologind: implement GC
Lennart Poettering [Tue, 24 May 2011 22:55:58 +0000 (00:55 +0200)]
logind: implement GC

13 years agoutil: add fopen_temporary()
Lennart Poettering [Tue, 24 May 2011 22:54:32 +0000 (00:54 +0200)]
util: add fopen_temporary()

13 years agologind: implement ACL management
Lennart Poettering [Tue, 24 May 2011 02:20:35 +0000 (04:20 +0200)]
logind: implement ACL management

13 years agologind: split up logind.h
Lennart Poettering [Mon, 23 May 2011 22:19:22 +0000 (00:19 +0200)]
logind: split up logind.h

13 years agologind: first version that compiles fine
Lennart Poettering [Mon, 23 May 2011 21:55:06 +0000 (23:55 +0200)]
logind: first version that compiles fine

13 years agoutil: move string enum mapping to the end
Lennart Poettering [Mon, 23 May 2011 21:54:22 +0000 (23:54 +0200)]
util: move string enum mapping to the end

13 years agoutil: add pipe_eof()
Lennart Poettering [Mon, 23 May 2011 21:54:00 +0000 (23:54 +0200)]
util: add pipe_eof()

13 years agoenglish: s/_per_/_by_/
Lennart Poettering [Mon, 23 May 2011 21:53:43 +0000 (23:53 +0200)]
english: s/_per_/_by_/

13 years agoutil: introduce dirent_is_file()
Lennart Poettering [Mon, 23 May 2011 19:39:15 +0000 (21:39 +0200)]
util: introduce dirent_is_file()

13 years agohostnamed: split dbus initialization into a separate function
Lennart Poettering [Mon, 23 May 2011 19:38:20 +0000 (21:38 +0200)]
hostnamed: split dbus initialization into a separate function

13 years agodbus: make bus_flags_to_events() and friends generally useful
Lennart Poettering [Mon, 23 May 2011 19:36:52 +0000 (21:36 +0200)]
dbus: make bus_flags_to_events() and friends generally useful

13 years agomanager: include full systemctl status command line in error message
Lennart Poettering [Mon, 20 Jun 2011 19:39:28 +0000 (21:39 +0200)]
manager: include full systemctl status command line in error message

13 years agosystemctl: Add SYSTEMD_PAGER for setting the pager to use in systemctl
Ville Skyttä [Sat, 18 Jun 2011 13:23:43 +0000 (16:23 +0300)]
systemctl: Add SYSTEMD_PAGER for setting the pager to use in systemctl

13 years agoman: Documentation spelling fixes
Ville Skyttä [Sat, 18 Jun 2011 13:40:20 +0000 (16:40 +0300)]
man: Documentation spelling fixes

13 years agobash: Add host, privileged, and no-pager bash option completions.
Ville Skyttä [Sat, 18 Jun 2011 10:56:12 +0000 (13:56 +0300)]
bash: Add host, privileged, and no-pager bash option completions.

13 years agosd-daemon: Add sd_is_special for special file descriptors
William Douglas [Thu, 16 Jun 2011 21:21:11 +0000 (14:21 -0700)]
sd-daemon: Add sd_is_special for special file descriptors

With the addition of ListenSpecial as a socket option we need the
the usual sd_is_ functions for special files.  This patch does
that.

13 years agoupdate TODO
Lennart Poettering [Mon, 20 Jun 2011 15:49:22 +0000 (17:49 +0200)]
update TODO

13 years agomain: Fix a typo emergency shall->emergency shell
Michal Vyskocil [Mon, 20 Jun 2011 08:59:05 +0000 (10:59 +0200)]
main: Fix a typo emergency shall->emergency shell

13 years agobuild-sys: prepare new release v29
Lennart Poettering [Thu, 16 Jun 2011 11:17:51 +0000 (13:17 +0200)]
build-sys: prepare new release

13 years agoupdate TODO
Lennart Poettering [Wed, 15 Jun 2011 20:49:54 +0000 (22:49 +0200)]
update TODO

13 years agopam-module: add debug= parameter
Michal Schmidt [Thu, 26 May 2011 23:29:34 +0000 (01:29 +0200)]
pam-module: add debug= parameter

It is customary that pam modules do not log debugging information by default.
Usually they offer a 'debug' option.

Add a boolean debug= option to pam_systemd.so.

This will solve bug
https://bugzilla.redhat.com/show_bug.cgi?id=705427

Commit 53d5582fa006b0eb528f5dc3f4ba978abd8ac5a3 was not sufficient to fix it,
because in Fedora rsyslog is configured to write even LOG_DEBUG messages to
/var/log/secure by default.

13 years agoman: clarify os-release in regards to spaces a bit
Lennart Poettering [Wed, 15 Jun 2011 19:09:04 +0000 (21:09 +0200)]
man: clarify os-release in regards to spaces a bit

13 years agosystemctl: plug a leak upon create_symlink mismatch
Jim Meyering [Wed, 15 Jun 2011 18:13:54 +0000 (20:13 +0200)]
systemctl: plug a leak upon create_symlink mismatch

13 years agosystemctl: enable chkconfig support in systemctl for ALTLinux
Alexey Shabalin [Fri, 10 Jun 2011 17:30:15 +0000 (21:30 +0400)]
systemctl: enable chkconfig support in systemctl for ALTLinux

13 years agobuild-sys: local-fs, remote-fs and swap are active anyway when user sessions are...
Lennart Poettering [Wed, 15 Jun 2011 13:54:50 +0000 (15:54 +0200)]
build-sys: local-fs, remote-fs and swap are active anyway when user sessions are created, there is no point in having these units known in sessions

13 years agoexecute: fix function prototype
Lennart Poettering [Mon, 23 May 2011 19:37:45 +0000 (21:37 +0200)]
execute: fix function prototype

13 years agodbus: fix name of capability property
Lennart Poettering [Wed, 15 Jun 2011 08:16:49 +0000 (10:16 +0200)]
dbus: fix name of capability property

13 years agobuild-sys: fix build
Lennart Poettering [Tue, 14 Jun 2011 20:01:44 +0000 (22:01 +0200)]
build-sys: fix build

13 years agosystemctl: fix a FILE* leak
Michal Schmidt [Mon, 13 Jun 2011 12:19:53 +0000 (14:19 +0200)]
systemctl: fix a FILE* leak

In practice it does not really matter, but let's be nice and close the
file.

13 years agosystemctl: fix 'is-enabled' for native units under /lib
Michal Schmidt [Mon, 13 Jun 2011 12:19:47 +0000 (14:19 +0200)]
systemctl: fix 'is-enabled' for native units under /lib

The units always showed up as enabled.

The config file has to be parsed before we can check what's in
the [Install] section.

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

13 years agoremote-fs.target: do not order after network.target
Tom Gundersen [Sat, 11 Jun 2011 13:55:11 +0000 (15:55 +0200)]
remote-fs.target: do not order after network.target

remote-fs.target is ordered after the {auto,}mount units. In case of automount
we do not want to wait for the network to come up before proceeding. In case
of a regular mount unit, the unit will be ordered after network.target
so the behavior is unchanged.

This speeds up boot quite a bit for me when having some services needing
NetworkManager-wait-online.service, and having my home partition on nfs
under an automountpoint.

13 years agomount /run without MS_NOEXEC
Kay Sievers [Tue, 14 Jun 2011 12:15:40 +0000 (14:15 +0200)]
mount /run without MS_NOEXEC

13 years agoreadahead-common: fix total memory size detection
Michal Schmidt [Fri, 10 Jun 2011 12:37:21 +0000 (14:37 +0200)]
readahead-common: fix total memory size detection

sysinfo returns the total memory size in multiples of mem_unit bytes.
As long as the size in bytes fits into unsigned long, the kernel uses
mem_unit = 1, but this is not true on i386 with more than 4 GB RAM.

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

13 years agoenable chkconfig support in systemctl for openSUSE
Frederic Crozat [Wed, 8 Jun 2011 15:34:22 +0000 (17:34 +0200)]
enable chkconfig support in systemctl for openSUSE

13 years agoselinux: selinuxfs can be mounted on /sys/fs/selinux
Michal Schmidt [Mon, 6 Jun 2011 22:48:16 +0000 (00:48 +0200)]
selinux: selinuxfs can be mounted on /sys/fs/selinux

The kernel now provides the /sys/fs/selinux mountpoint and libselinux
prefers it if it's available.

systemd currently tests only for /selinux and this leads to an infinite
loop of policy reloads in the latest Rawhide.

Fix it by checking both possible mountpoints.
Also add the new path to ignore_paths[].

/selinux appears also in nspawn.c. I don't think it's necessary to
change it there at this point.

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

13 years agocryptsetup-generator: fix /etc/cryptsetup options
Michal Schmidt [Mon, 6 Jun 2011 20:59:19 +0000 (22:59 +0200)]
cryptsetup-generator: fix /etc/cryptsetup options

cryptsetup-generator parses the options in /etc/cryptsetup incorrectly.
It fails to find the 'swap' option in
  swap,foo
and instead it matches on
  swaplalala,foo

The condition for the comma separator is reversed.

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

13 years agosystemctl: fix double unref of a dbus message
Michal Schmidt [Sun, 5 Jun 2011 15:22:37 +0000 (17:22 +0200)]
systemctl: fix double unref of a dbus message

13 years agoexec: Fix number of unit types
Ozan Çağlayan [Fri, 27 May 2011 05:24:22 +0000 (08:24 +0300)]
exec: Fix number of unit types

There are four unit types mentioned in here, not three

13 years agobuild-sys: prepare v28 v28
Lennart Poettering [Thu, 26 May 2011 17:17:44 +0000 (19:17 +0200)]
build-sys: prepare v28

13 years agosd-daemon: remove superfluous _sd_hidden_ from static function
Kay Sievers [Thu, 26 May 2011 12:23:01 +0000 (14:23 +0200)]
sd-daemon: remove superfluous _sd_hidden_ from static function

13 years agodrop hwclock-save.service
Kay Sievers [Wed, 25 May 2011 16:21:36 +0000 (18:21 +0200)]
drop hwclock-save.service

We don't want to fiddle around changing the RTC, not on bootup, not
on shutdown.

If we don't run NTP, we have absolutely no clue what's the current
time to store in the RTC. If we run NTP, the kernel syncs the system
time every 11 minutes to the RTC.

Especially in multi-boot environents we must not call hwclock(8)
which tries to be smart with calculating/storing/applying drifts
and such.

Live-CDs must never touch the RTC, because we don't know if it is
running in UTC or locatime.

13 years agodbus-common: fix segfault when a DBus message has no interface
Michal Schmidt [Wed, 25 May 2011 14:17:17 +0000 (16:17 +0200)]
dbus-common: fix segfault when a DBus message has no interface

dbus_message_get_interface() may return NULL.

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

13 years agoman: update the list of unit search locations
William Swanson [Sat, 21 May 2011 00:44:24 +0000 (17:44 -0700)]
man: update the list of unit search locations

13 years agoreadahead: explain that it is safe to ignore EACCES
Lennart Poettering [Wed, 25 May 2011 16:02:28 +0000 (18:02 +0200)]
readahead: explain that it is safe to ignore EACCES

13 years agoreadahead-collect: ignore EACCES for fanotify
Harald Hoyer [Wed, 25 May 2011 11:09:08 +0000 (13:09 +0200)]
readahead-collect: ignore EACCES for fanotify

At the start of auditd, we are temporarily not able to read
from the fanotify fd. Ignoring it, seems to work.

13 years agoupdate TODO
Kay Sievers [Tue, 24 May 2011 22:38:36 +0000 (00:38 +0200)]
update TODO

13 years agortc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)
Kay Sievers [Tue, 24 May 2011 18:23:07 +0000 (20:23 +0200)]
rtc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)

We check for LOCAL in /etc/adjtime and if needed, ask the kernel to
apply the timezone delta to the system clock.

The very first call of settimeofday() without a time, but a timezone
warps the system clock, so that it properly runs in UTC.

13 years agoupdate TODO
Kay Sievers [Tue, 24 May 2011 01:20:19 +0000 (03:20 +0200)]
update TODO