chiark / gitweb /
elogind.git
12 years agoutil: introduce dirent_is_file()
Lennart Poettering [Mon, 23 May 2011 19:39:15 +0000 (21:39 +0200)]
util: introduce dirent_is_file()

12 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

12 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

12 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

12 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

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

12 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.

12 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.

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

12 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

12 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

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

12 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.

12 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

12 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

12 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

12 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

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

12 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

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

12 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.

12 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

12 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.

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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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.

12 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

12 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

12 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

12 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.

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

12 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.

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

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

12 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

12 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

12 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

12 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

12 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

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

12 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

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

12 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

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

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

12 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

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

12 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.

12 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

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

12 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

12 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

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

12 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.

12 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

12 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

12 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

12 years agouser-sessions: ignore EROFS when unlinking /etc/nologin if the file doesn't exist...
Lennart Poettering [Tue, 10 May 2011 16:55:39 +0000 (18:55 +0200)]
user-sessions: ignore EROFS when unlinking /etc/nologin if the file doesn't exist anyway

12 years agobuild-sys: create dbussystemservicedir
Michael Olbrich [Wed, 4 May 2011 09:01:54 +0000 (11:01 +0200)]
build-sys: create dbussystemservicedir

otherwise building fails if it doesn't exist:

( cd <DESTDIR>/usr/share/dbus-1/services && \
                rm -f org.freedesktop.systemd1.service && \
                ln -s ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
/bin/sh: line 0: cd: <DESTDIR>/usr/share/dbus-1/services: No such file or directory

12 years agoutil: include `stdarg.h`
Paul Menzel [Mon, 2 May 2011 12:13:08 +0000 (14:13 +0200)]
util: include `stdarg.h`

Otherwise using uClibc compilation (OpenEmbedded [1] with `minimal-uclibc` for `MACHINE = "beagleboard"`) fails with the following error message.

| make[1]: Entering directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/systemd-v26-r0/git'
|   CC     src/libsystemd_basic_la-util.lo
| src/util.c: In function 'acquire_terminal':
| src/util.c:2484:29: warning: cast increases required alignment of target type [-Wcast-align]
| src/util.c:2497:37: warning: cast increases required alignment of target type [-Wcast-align]
| src/util.c: In function 'rename_process':
| src/util.c:2905:17: warning: passing argument 1 of 'strncpy' discards qualifiers from pointer target type
| /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/string.h:87:14: note: expected 'char * restrict' but argument is of type 'const char *'
| src/util.c: In function 'cpu_set_malloc':
| src/util.c:3229:17: warning: implicit declaration of function 'CPU_ALLOC' [-Wimplicit-function-declaration]
| src/util.c:3229:25: warning: assignment makes pointer from integer without a cast
| src/util.c:3232:17: warning: implicit declaration of function 'CPU_ALLOC_SIZE' [-Wimplicit-function-declaration]
| src/util.c:3233:25: warning: implicit declaration of function 'CPU_ZERO_S' [-Wimplicit-function-declaration]
| src/util.c:3241:17: warning: implicit declaration of function 'CPU_FREE' [-Wimplicit-function-declaration]
|   CC     src/libsystemd_basic_la-label.lo
| In file included from src/label.c:27:0:
| src/util.h:358:41: error: expected declaration specifiers or '...' before 'va_list'
| make[1]: *** [src/libsystemd_basic_la-label.lo] Error 1
| make[1]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/systemd-v26-r0/git'
| make: *** [all] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package systemd-v26-r0: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/systemd-v26-r0/temp/log.do_compile.4020 for further information)
ERROR: Task 13 (/oe/openembedded/recipes/systemd/systemd_git.bb, do_compile) failed with exit code '1'
ERROR: '/oe/openembedded/recipes/systemd/systemd_git.bb' failed

[1] http://www.openembedded.org/

12 years agobuild-sys: Angstrom support
Koen Kooi [Fri, 6 May 2011 07:19:08 +0000 (09:19 +0200)]
build-sys: Angstrom support

This commit consists of the initial work to include Angstrom as a ported
distribution for systemd.

Angstrom tries to follow the debian way as much as possible, but deviates
where it doesn't make sense for 'embedded'.

12 years agounits: Enable plymouth for Frugalware
Miklos Vajna [Sun, 8 May 2011 11:32:38 +0000 (13:32 +0200)]
units: Enable plymouth for Frugalware

12 years agoupdate TODO
Kay Sievers [Mon, 9 May 2011 10:24:12 +0000 (12:24 +0200)]
update TODO

12 years agounit: make ignoring in snapshots a per unit property, instead of a per unit type...
Lennart Poettering [Thu, 5 May 2011 08:58:55 +0000 (10:58 +0200)]
unit: make ignoring in snapshots a per unit property, instead of a per unit type property

12 years agovconsole: use open_terminal() instead of open()
Lennart Poettering [Tue, 3 May 2011 15:58:28 +0000 (17:58 +0200)]
vconsole: use open_terminal() instead of open()

12 years agoupdate TODO
Lennart Poettering [Tue, 3 May 2011 00:29:57 +0000 (02:29 +0200)]
update TODO

12 years agoupdate TODO
Lennart Poettering [Mon, 2 May 2011 21:49:54 +0000 (23:49 +0200)]
update TODO

12 years agounits: enable automount units only if the kernel supports them
Lennart Poettering [Mon, 2 May 2011 15:43:18 +0000 (17:43 +0200)]
units: enable automount units only if the kernel supports them

12 years agosysctl: correct /usr/local/lib path
Kay Sievers [Sun, 1 May 2011 12:49:33 +0000 (14:49 +0200)]
sysctl: correct /usr/local/lib path

12 years agobinfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=
Kay Sievers [Sat, 30 Apr 2011 21:08:15 +0000 (23:08 +0200)]
binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=

12 years agobinfmt, modules-load, sysctl, tmpfiles: read /usr/local/lib and where appropriate...
Kay Sievers [Sat, 30 Apr 2011 18:31:33 +0000 (20:31 +0200)]
binfmt, modules-load, sysctl, tmpfiles: read /usr/local/lib and where appropriate /lib directories

12 years agobuild-sys: prepare release 26 v26
Lennart Poettering [Sat, 30 Apr 2011 02:29:28 +0000 (04:29 +0200)]
build-sys: prepare release 26

12 years agoplymouth: introduce plymouth.enable=0 kernel command line switch
Lennart Poettering [Sat, 30 Apr 2011 02:23:36 +0000 (04:23 +0200)]
plymouth: introduce plymouth.enable=0 kernel command line switch

12 years agoutil: don't AND cx with cx
Lennart Poettering [Sat, 30 Apr 2011 02:06:13 +0000 (04:06 +0200)]
util: don't AND cx with cx

12 years agoman: typo in sd_daemon reference
Tollef Fog Heen [Fri, 29 Apr 2011 12:47:31 +0000 (14:47 +0200)]
man: typo in sd_daemon reference

13 years agoutil: conf_files_list() return list as parameter
Kay Sievers [Thu, 28 Apr 2011 21:51:24 +0000 (23:51 +0200)]
util: conf_files_list() return list as parameter

13 years agodbus: make daemon reexecution synchronous
Lennart Poettering [Thu, 28 Apr 2011 20:07:01 +0000 (22:07 +0200)]
dbus: make daemon reexecution synchronous

We simply keep open copies of the dbus connections across the
reexecution and close them as last step of it. A client can thus simply
wait until its connection is dropped to know when the reexecution is
finished.

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

13 years agolabel: don't print warning when we try ro relabel an non-existing file
Lennart Poettering [Thu, 28 Apr 2011 03:06:48 +0000 (05:06 +0200)]
label: don't print warning when we try ro relabel an non-existing file

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

13 years agoservice: properly notice when services with a main process that isn't a child of...
Lennart Poettering [Thu, 28 Apr 2011 02:56:53 +0000 (04:56 +0200)]
service: properly notice when services with a main process that isn't a child of init die

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

13 years agolookup: drop empty directories from search paths
Lennart Poettering [Thu, 28 Apr 2011 02:55:05 +0000 (04:55 +0200)]
lookup: drop empty directories from search paths

13 years agopath: simplify recheck logic
Lennart Poettering [Thu, 28 Apr 2011 01:22:05 +0000 (03:22 +0200)]
path: simplify recheck logic

13 years agounit: fix assert when trying to load unit instances for uninstanciable types
Lennart Poettering [Wed, 27 Apr 2011 23:26:39 +0000 (01:26 +0200)]
unit: fix assert when trying to load unit instances for uninstanciable types

http://lists.freedesktop.org/archives/systemd-devel/2011-April/001910.html

13 years agosystemctl: whitelist /etc instead of blacklisting /lib to figure out if [Install...
Lennart Poettering [Wed, 27 Apr 2011 20:30:28 +0000 (22:30 +0200)]
systemctl: whitelist /etc instead of blacklisting /lib to figure out if [Install] is needed

13 years agodef: lower default timeout to 90s
Lennart Poettering [Wed, 27 Apr 2011 20:29:29 +0000 (22:29 +0200)]
def: lower default timeout to 90s

Almost everybody found 3min too long, so lower it again

13 years agoupdate TODO
Kay Sievers [Wed, 27 Apr 2011 21:26:07 +0000 (23:26 +0200)]
update TODO

13 years agomanager: fix serialization counter
Lennart Poettering [Wed, 27 Apr 2011 13:53:45 +0000 (15:53 +0200)]
manager: fix serialization counter

13 years agoupdate TODO
Lennart Poettering [Tue, 26 Apr 2011 17:59:35 +0000 (19:59 +0200)]
update TODO

13 years agodbus: don't hit assert when dumping properties
Lennart Poettering [Tue, 26 Apr 2011 22:28:06 +0000 (00:28 +0200)]
dbus: don't hit assert when dumping properties

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

13 years agobuild-sys: Add --disable-binfmt configure switch
Miklos Vajna [Tue, 26 Apr 2011 21:31:09 +0000 (23:31 +0200)]
build-sys: Add --disable-binfmt configure switch

13 years agocryptsetup: fix keyfile size option processing
Milan Broz [Mon, 25 Apr 2011 22:15:15 +0000 (00:15 +0200)]
cryptsetup: fix keyfile size option processing

/etc/crypttab uses "size" argument only for plain crypt mapping
(and input is limited to volume key size)

For LUKS it always read whole keyfile (no arguments except "luks"
should be in crypttab).

Because of bug in cryptsetup 1.2.0 (fixed in 1.3.0) library
did not enforced keyfile size argument, so this bug was
hidden for some time.

Patch also converts size in bits to bytes like excepted
by libcryptsetup api.

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

13 years agosocket: improve warning message when we get POLLHUP
Lennart Poettering [Tue, 26 Apr 2011 19:39:14 +0000 (21:39 +0200)]
socket: improve warning message when we get POLLHUP

13 years agostrv: Fix gcc unitialized variable warning
Zbigniew Jędrzejewski-Szmek [Tue, 26 Apr 2011 19:23:56 +0000 (21:23 +0200)]
strv: Fix gcc unitialized variable warning

Since strv_* functions handle null arguments, this warning is actually
valid.

src/strv.c: In function ‘strv_copy’:
src/strv.c:68:21: warning: ‘k’ may be used uninitialized in this function [-Wuninitialized]

13 years agomount: failure to mount cgroup hierarchies should not be fatal
Lennart Poettering [Tue, 26 Apr 2011 19:12:36 +0000 (21:12 +0200)]
mount: failure to mount cgroup hierarchies should not be fatal

If we cannot open /etc/cgroup, print an error message, but go on, to
support cgroup-less builds.

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