William Swanson [Sat, 21 May 2011 00:44:24 +0000 (17:44 -0700)]
man: update the list of unit search locations
Lennart Poettering [Wed, 25 May 2011 16:02:28 +0000 (18:02 +0200)]
readahead: explain that it is safe to ignore EACCES
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.
Kay Sievers [Tue, 24 May 2011 22:38:36 +0000 (00:38 +0200)]
update TODO
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.
Kay Sievers [Tue, 24 May 2011 01:20:19 +0000 (03:20 +0200)]
update TODO
Kay Sievers [Mon, 23 May 2011 23:30:51 +0000 (01:30 +0200)]
update TODO
Lennart Poettering [Sat, 21 May 2011 22:29:46 +0000 (00:29 +0200)]
socket: expose mq params in introspection data
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
Kay Sievers [Fri, 20 May 2011 16:41:44 +0000 (18:41 +0200)]
socket: always use SO_{RCV,SND}BUFFORCE to allow larger values
Lennart Poettering [Fri, 20 May 2011 12:37:14 +0000 (14:37 +0200)]
util: use new VT ESC sequence to clear scrollback buffer
Kay Sievers [Fri, 20 May 2011 12:30:42 +0000 (14:30 +0200)]
sd-daemon: move _sd_hidden_ from .h to .c file
Kay Sievers [Fri, 20 May 2011 11:37:04 +0000 (13:37 +0200)]
missing: add IP_TRANSPARENT
Lennart Poettering [Fri, 20 May 2011 00:02:19 +0000 (02:02 +0200)]
build-sys: prepare new release 27
Lennart Poettering [Thu, 19 May 2011 23:57:20 +0000 (01:57 +0200)]
update TODO
Lennart Poettering [Thu, 19 May 2011 16:10:34 +0000 (18:10 +0200)]
util: use open_terminal() in chvt() too
Lennart Poettering [Thu, 19 May 2011 16:10:19 +0000 (18:10 +0200)]
socket: expose SO_BROADCAST
Lennart Poettering [Thu, 19 May 2011 12:06:02 +0000 (14:06 +0200)]
git: add .mailmap
Lennart Poettering [Thu, 19 May 2011 11:22:53 +0000 (13:22 +0200)]
exec: expose tty reset options in dbus introspection data
Lennart Poettering [Thu, 19 May 2011 11:22:31 +0000 (13:22 +0200)]
socket: expose IP_TRANSPARENT
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.
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
Lennart Poettering [Tue, 17 May 2011 17:37:03 +0000 (19:37 +0200)]
socket: add POSIX mqueue support
Lennart Poettering [Tue, 17 May 2011 17:35:56 +0000 (19:35 +0200)]
README: document relation to nss-myhostname
Lennart Poettering [Mon, 9 May 2011 13:26:08 +0000 (15:26 +0200)]
hostnamed: check that nss-myhostname is installed
Lennart Poettering [Tue, 17 May 2011 15:17:26 +0000 (17:17 +0200)]
update TODO
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.
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
Lennart Poettering [Mon, 16 May 2011 21:31:06 +0000 (23:31 +0200)]
pam: downgrade a few log msgs
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
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
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
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/
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'.
Miklos Vajna [Sun, 8 May 2011 11:32:38 +0000 (13:32 +0200)]
units: Enable plymouth for Frugalware
Kay Sievers [Mon, 9 May 2011 10:24:12 +0000 (12:24 +0200)]
update TODO
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
Lennart Poettering [Tue, 3 May 2011 15:58:28 +0000 (17:58 +0200)]
vconsole: use open_terminal() instead of open()
Lennart Poettering [Tue, 3 May 2011 00:29:57 +0000 (02:29 +0200)]
update TODO
Lennart Poettering [Mon, 2 May 2011 21:49:54 +0000 (23:49 +0200)]
update TODO
Lennart Poettering [Mon, 2 May 2011 15:43:18 +0000 (17:43 +0200)]
units: enable automount units only if the kernel supports them
Kay Sievers [Sun, 1 May 2011 12:49:33 +0000 (14:49 +0200)]
sysctl: correct /usr/local/lib path
Kay Sievers [Sat, 30 Apr 2011 21:08:15 +0000 (23:08 +0200)]
binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=
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
Lennart Poettering [Sat, 30 Apr 2011 02:29:28 +0000 (04:29 +0200)]
build-sys: prepare release 26
Lennart Poettering [Sat, 30 Apr 2011 02:23:36 +0000 (04:23 +0200)]
plymouth: introduce plymouth.enable=0 kernel command line switch
Lennart Poettering [Sat, 30 Apr 2011 02:06:13 +0000 (04:06 +0200)]
util: don't AND cx with cx
Tollef Fog Heen [Fri, 29 Apr 2011 12:47:31 +0000 (14:47 +0200)]
man: typo in sd_daemon reference
Kay Sievers [Thu, 28 Apr 2011 21:51:24 +0000 (23:51 +0200)]
util: conf_files_list() return list as parameter
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
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
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
Lennart Poettering [Thu, 28 Apr 2011 02:55:05 +0000 (04:55 +0200)]
lookup: drop empty directories from search paths
Lennart Poettering [Thu, 28 Apr 2011 01:22:05 +0000 (03:22 +0200)]
path: simplify recheck logic
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
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
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
Kay Sievers [Wed, 27 Apr 2011 21:26:07 +0000 (23:26 +0200)]
update TODO
Lennart Poettering [Wed, 27 Apr 2011 13:53:45 +0000 (15:53 +0200)]
manager: fix serialization counter
Lennart Poettering [Tue, 26 Apr 2011 17:59:35 +0000 (19:59 +0200)]
update TODO
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
Miklos Vajna [Tue, 26 Apr 2011 21:31:09 +0000 (23:31 +0200)]
build-sys: Add --disable-binfmt configure switch
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
Lennart Poettering [Tue, 26 Apr 2011 19:39:14 +0000 (21:39 +0200)]
socket: improve warning message when we get POLLHUP
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]
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
Kay Sievers [Mon, 25 Apr 2011 20:00:12 +0000 (22:00 +0200)]
configure.ac: move AC_USE_SYSTEM_EXTENSIONS up to fix warning
Kay Sievers [Mon, 25 Apr 2011 19:50:42 +0000 (21:50 +0200)]
configure: add AC_SYS_LARGEFILE
Kay Sievers [Mon, 25 Apr 2011 19:38:21 +0000 (21:38 +0200)]
tmpfiles.d: switch to stacked config dirs in /lib, /etc, /run
Kay Sievers [Mon, 25 Apr 2011 18:41:47 +0000 (20:41 +0200)]
sysctl.d, binfmt.d, modules-load.d: switch to stacked config dirs in /lib, /etc, /run
Tollef Fog Heen [Sat, 23 Apr 2011 20:06:18 +0000 (22:06 +0200)]
manager: mkdir /run/systemd/system when starting up
A. Costa [Sat, 23 Apr 2011 19:55:24 +0000 (21:55 +0200)]
man: Spelling fixes
cee1 [Wed, 20 Apr 2011 09:59:18 +0000 (17:59 +0800)]
missing: Fix broken syscall(__NR_fanotify_mark... on o32 mips.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%
23618562
MIPS o32 ABI enforces that 64bit arguments should be 64bit-aligned, and
the third argument of syscall(__NR_fanotify_mark, ...) is 64bit and not
64bit-aligned on o32 mips platform, thus extra padding is inserted
before it. The syscall function doesn't know the prototype of
fanotify_mark, so the padding will be passed into kernel as valid
argument.
Lennart Poettering [Thu, 21 Apr 2011 01:56:20 +0000 (03:56 +0200)]
update TODO
Lennart Poettering [Thu, 21 Apr 2011 01:18:39 +0000 (03:18 +0200)]
build-sys: bump release
Lennart Poettering [Thu, 21 Apr 2011 01:15:12 +0000 (03:15 +0200)]
Revert "cryptsetup: pass 0 as key size to crypt_activate_by_keyfile()"
This reverts commit
9402841ef197e485061ab328edcaa0e6d83051bd.
This freezes boot-up when /dev/urandom is used as key source
Lennart Poettering [Wed, 20 Apr 2011 23:18:23 +0000 (01:18 +0200)]
man: minor fixes
Wulf C. Krueger [Wed, 20 Apr 2011 20:19:42 +0000 (22:19 +0200)]
mount: Allow creating mount units for /var/lib/nfs/rpc_pipefs and /proc/fs/nfsd.
Mounting /var/lib/nfs/rpc_pipefs and /proc/fs/nfsd is required by rpcbind
and the NFS server respectively. To depend on them being mounted, systemd
needs to be allowed to create mount units for both in order to avoid having
to implement hacks (mounting in ExecStartPre or using shell scripts).
Lennart Poettering [Wed, 20 Apr 2011 17:22:45 +0000 (19:22 +0200)]
cryptsetup: pass 0 as key size to crypt_activate_by_keyfile()
https://bugs.freedesktop.org/show_bug.cgi?id=36264
Lennart Poettering [Wed, 20 Apr 2011 03:02:23 +0000 (05:02 +0200)]
socket: support ListeSpecial= sockets
Lennart Poettering [Wed, 20 Apr 2011 02:30:08 +0000 (04:30 +0200)]
vconsole: don't set console font/keymap if settings are empty
https://bugs.freedesktop.org/show_bug.cgi?id=36052
If KEYMAP= is set to the empty string in /etc/vconsole leave the kernel
keymap loaded.
Similar for FONT=.
Lennart Poettering [Wed, 20 Apr 2011 02:12:15 +0000 (04:12 +0200)]
nspawn: don't fail when we receive SIGCHLD
https://bugs.freedesktop.org/show_bug.cgi?id=36148
Lennart Poettering [Wed, 20 Apr 2011 01:53:12 +0000 (03:53 +0200)]
cgroup: don't accidentaly trim on reload
https://bugzilla.redhat.com/show_bug.cgi?id=678555
Lennart Poettering [Wed, 20 Apr 2011 01:34:58 +0000 (03:34 +0200)]
units: set capability bounding set for syslog services
Lennart Poettering [Tue, 19 Apr 2011 23:48:45 +0000 (01:48 +0200)]
socket: log more information about invalid poll events
Chris E Ferron [Tue, 19 Apr 2011 19:37:51 +0000 (12:37 -0700)]
MeeGo support
This commit consists of the initial work to include MeeGo as a ported
distribution for systemd.
The majority of the changes are small configuration additions to auto
tools, so that MeeGo is identified as a valid distribution option.
Some small deviations will be noticed between the configuration of MeeGo
and other distributions. As MeeGo is a distribution striving for
compliancy to support its near embedded attributes and target users,
there is less user configuration options available by default. Most
services will be enabled by systemd as part of the distribution
requirements, and as such most links and service files will be pre-setup
for the MeeGo distribution. As much of this is going to be done within
the MeeGo distribution packaging this is still noteworthy to mention, as
it explains why in systemd you will observe configuration differences
where the MeeGo distribution removes all links in the pkgsysconfdir for
instance. MeeGo will be user configurable if there is desire, but most
services will be enabled by the distribution as designated by the MeeGo
compliancy standards.
Other changes are in source to add such areas as meego-release defined
in utils, and hostname in hostname-setup, defining vconsole-setup,
localizations and rescue additions as needed.
As this is all ground work, MeeGo will continue to strive for complete
compatibility.
Lennart Poettering [Tue, 19 Apr 2011 22:51:23 +0000 (00:51 +0200)]
man: fix specification of default timeouts
Lennart Poettering [Tue, 19 Apr 2011 22:45:22 +0000 (00:45 +0200)]
mount,crypto: rework meaning of noauto/nofail
Lennart Poettering [Tue, 19 Apr 2011 22:44:37 +0000 (00:44 +0200)]
fsck: don't fsck against basic.target in order to properly allow automount /home
Lennart Poettering [Tue, 19 Apr 2011 20:17:54 +0000 (22:17 +0200)]
manager: when running in test mode, do not write generated unit files to /run/systemd/generator
Lennart Poettering [Tue, 19 Apr 2011 20:09:34 +0000 (22:09 +0200)]
mount: properly parse timeouts options in the middle of the string
Lennart Poettering [Tue, 19 Apr 2011 04:07:29 +0000 (06:07 +0200)]
hostnamed: drop all caps but CAP_SYS_ADMIN
Lennart Poettering [Tue, 19 Apr 2011 04:07:06 +0000 (06:07 +0200)]
hostnamed: improve error logging
Lennart Poettering [Tue, 19 Apr 2011 04:06:41 +0000 (06:06 +0200)]
execute: when we run as PID 1 the kernel doesn't give us CAP_SETPCAP by default. Get that temporarily when dropping capabilities for good
Lennart Poettering [Sat, 16 Apr 2011 02:39:50 +0000 (04:39 +0200)]
mount: make device timeout configurable
Lennart Poettering [Sat, 16 Apr 2011 02:36:06 +0000 (04:36 +0200)]
cryptsetup: do not order crypto DM devices against the cryptsetup service
Lennart Poettering [Sat, 16 Apr 2011 01:42:37 +0000 (03:42 +0200)]
socket: reuse existing FIFOs
Lennart Poettering [Sat, 16 Apr 2011 01:42:18 +0000 (03:42 +0200)]
socket: guarantee order in which sockets are passed to be the one of the configuration file
Lennart Poettering [Sat, 16 Apr 2011 01:29:54 +0000 (03:29 +0200)]
systemctl: always consider unit files with no [Install] section but stored in /lib enabled
Lennart Poettering [Sat, 16 Apr 2011 01:07:38 +0000 (03:07 +0200)]
job: also print status messages when we successfully started a unit