]> err.no Git - systemd/log
systemd
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

13 years agoupdate TODO
Kay Sievers [Mon, 23 May 2011 23:30:51 +0000 (01:30 +0200)]
update TODO

13 years agosocket: expose mq params in introspection data
Lennart Poettering [Sat, 21 May 2011 22:29:46 +0000 (00:29 +0200)]
socket: expose mq params in introspection data

13 years agobus_property_append_long: use signed long and 'x' in the signature for DBUS_TYPE_INT64
Kay Sievers [Sat, 21 May 2011 21:18:38 +0000 (23:18 +0200)]
bus_property_append_long: use signed long and 'x' in the signature for DBUS_TYPE_INT64

13 years agosocket: always use SO_{RCV,SND}BUFFORCE to allow larger values
Kay Sievers [Fri, 20 May 2011 16:41:44 +0000 (18:41 +0200)]
socket: always use SO_{RCV,SND}BUFFORCE to allow larger values

13 years agoutil: use new VT ESC sequence to clear scrollback buffer
Lennart Poettering [Fri, 20 May 2011 12:37:14 +0000 (14:37 +0200)]
util: use new VT ESC sequence to clear scrollback buffer

13 years agosd-daemon: move _sd_hidden_ from .h to .c file
Kay Sievers [Fri, 20 May 2011 12:30:42 +0000 (14:30 +0200)]
sd-daemon: move _sd_hidden_ from .h to .c file

13 years agomissing: add IP_TRANSPARENT
Kay Sievers [Fri, 20 May 2011 11:37:04 +0000 (13:37 +0200)]
missing: add IP_TRANSPARENT

13 years agobuild-sys: prepare new release 27 v27
Lennart Poettering [Fri, 20 May 2011 00:02:19 +0000 (02:02 +0200)]
build-sys: prepare new release 27

13 years agoupdate TODO
Lennart Poettering [Thu, 19 May 2011 23:57:20 +0000 (01:57 +0200)]
update TODO

13 years agoutil: use open_terminal() in chvt() too
Lennart Poettering [Thu, 19 May 2011 16:10:34 +0000 (18:10 +0200)]
util: use open_terminal() in chvt() too

13 years agosocket: expose SO_BROADCAST
Lennart Poettering [Thu, 19 May 2011 16:10:19 +0000 (18:10 +0200)]
socket: expose SO_BROADCAST

13 years agogit: add .mailmap
Lennart Poettering [Thu, 19 May 2011 12:06:02 +0000 (14:06 +0200)]
git: add .mailmap

13 years agoexec: expose tty reset options in dbus introspection data
Lennart Poettering [Thu, 19 May 2011 11:22:53 +0000 (13:22 +0200)]
exec: expose tty reset options in dbus introspection data

13 years agosocket: expose IP_TRANSPARENT
Lennart Poettering [Thu, 19 May 2011 11:22:31 +0000 (13:22 +0200)]
socket: expose IP_TRANSPARENT

13 years agoexec: hangup/reset/deallocate VTs in gettys
Lennart Poettering [Tue, 17 May 2011 23:07:31 +0000 (01:07 +0200)]
exec: hangup/reset/deallocate VTs in gettys

Explicitly disconnect all clients from a VT when a getty starts/finishes
(requires TIOCVHANGUP, available in 2.6.29).

Explicitly deallocate getty VTs in order to flush scrollback buffer.

Explicitly reset terminals to a defined state before spawning getty.

13 years agosocket: use 666 socket mode by default since neither fifos, nor sockets, nor mqueues...
Lennart Poettering [Tue, 17 May 2011 17:37:23 +0000 (19:37 +0200)]
socket: use 666 socket mode by default since neither fifos, nor sockets, nor mqueues need to be executable

13 years agosocket: add POSIX mqueue support
Lennart Poettering [Tue, 17 May 2011 17:37:03 +0000 (19:37 +0200)]
socket: add POSIX mqueue support

13 years agoREADME: document relation to nss-myhostname
Lennart Poettering [Tue, 17 May 2011 17:35:56 +0000 (19:35 +0200)]
README: document relation to nss-myhostname

13 years agohostnamed: check that nss-myhostname is installed
Lennart Poettering [Mon, 9 May 2011 13:26:08 +0000 (15:26 +0200)]
hostnamed: check that nss-myhostname is installed

13 years agoupdate TODO
Lennart Poettering [Tue, 17 May 2011 15:17:26 +0000 (17:17 +0200)]
update TODO

13 years agosysctl: apply /etc/sysctl.conf last
Ludwig Nussel [Mon, 16 May 2011 09:11:52 +0000 (11:11 +0200)]
sysctl: apply /etc/sysctl.conf last

apply /etc/sysctl.conf last to actually allow the admin to override
package provided defaults.

13 years agosystemd-analyze: print hostname, kernelversion and arch at the top of the plot
Koen Kooi [Tue, 10 May 2011 18:39:32 +0000 (20:39 +0200)]
systemd-analyze: print hostname, kernelversion and arch at the top of the plot

13 years agopam: downgrade a few log msgs
Lennart Poettering [Mon, 16 May 2011 21:31:06 +0000 (23:31 +0200)]
pam: downgrade a few log msgs

13 years agohostnamed: SetPrettyHostname() should check PK action org.freedesktop.hostname1.set...
Lennart Poettering [Thu, 12 May 2011 14:14:44 +0000 (16:14 +0200)]
hostnamed: SetPrettyHostname() should check PK action org.freedesktop.hostname1.set-static-hostname