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
Lennart Poettering [Sat, 16 Apr 2011 00:43:02 +0000 (02:43 +0200)]
hostnamed: add reference to SMBIOS specs
Lennart Poettering [Sat, 16 Apr 2011 00:42:23 +0000 (02:42 +0200)]
man: runlevel 5 is usually more comprehensive, so use it instead of 3 to detect whether a sysv service is enabled
Lennart Poettering [Sat, 16 Apr 2011 00:41:47 +0000 (02:41 +0200)]
polkit: follow the usual syntax for polkit actions
Lennart Poettering [Sat, 16 Apr 2011 00:02:54 +0000 (02:02 +0200)]
hostnamed: introduce systemd-hostnamed
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
Lennart Poettering [Fri, 15 Apr 2011 23:58:52 +0000 (01:58 +0200)]
units: wording fix
Lennart Poettering [Fri, 15 Apr 2011 23:58:43 +0000 (01:58 +0200)]
units: order quotacheck after remount-rootfs
Lennart Poettering [Fri, 15 Apr 2011 23:57:23 +0000 (01:57 +0200)]
hostname: split out hostname validation into util.c
Lennart Poettering [Fri, 15 Apr 2011 23:56:16 +0000 (01:56 +0200)]
cryptsetup: simplifications
Lennart Poettering [Fri, 15 Apr 2011 23:54:49 +0000 (01:54 +0200)]
dbus: split out object management code into dbus-common, and simplify it
Lennart Poettering [Fri, 15 Apr 2011 23:50:40 +0000 (01:50 +0200)]
strv: properly override settings in env_append()
Lennart Poettering [Fri, 15 Apr 2011 23:50:10 +0000 (01:50 +0200)]
strv: detect non-assignments in env blocks properly in env_append()
Lennart Poettering [Fri, 15 Apr 2011 23:49:20 +0000 (01:49 +0200)]
strv: handle empty lists in strv_copy() properly
Lennart Poettering [Fri, 15 Apr 2011 23:48:02 +0000 (01:48 +0200)]
util: truncate newline inside of read_one_line_file() already
Lennart Poettering [Fri, 15 Apr 2011 23:45:45 +0000 (01:45 +0200)]
util: modernize get_parent_of_pid() a bit
Lennart Poettering [Thu, 14 Apr 2011 00:36:02 +0000 (02:36 +0200)]
crypto: let the cryptsetup binary handles its own configurable timeouts
Lennart Poettering [Thu, 14 Apr 2011 00:32:42 +0000 (02:32 +0200)]
logger,initctl: use global exit timeout
Lennart Poettering [Thu, 14 Apr 2011 00:30:43 +0000 (02:30 +0200)]
ask-password: use default timeout
Lennart Poettering [Thu, 14 Apr 2011 00:23:51 +0000 (02:23 +0200)]
manager: drop all pending jobs when isolating
Lennart Poettering [Thu, 14 Apr 2011 01:55:03 +0000 (03:55 +0200)]
manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger around when isolating
Lennart Poettering [Thu, 14 Apr 2011 00:57:13 +0000 (02:57 +0200)]
units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit
Lennart Poettering [Wed, 13 Apr 2011 20:22:10 +0000 (22:22 +0200)]
cryptsetup: add trailing \n
Lennart Poettering [Wed, 13 Apr 2011 20:21:17 +0000 (22:21 +0200)]
manager: downgrade a few log messages
Lennart Poettering [Wed, 13 Apr 2011 21:36:23 +0000 (23:36 +0200)]
units: require syslog.socket from the logger because we simply fail if we don't have it
Lennart Poettering [Wed, 13 Apr 2011 21:31:37 +0000 (23:31 +0200)]
logger: adjust socket description to match service
Lennart Poettering [Wed, 13 Apr 2011 21:30:33 +0000 (23:30 +0200)]
units: set stdout of kmsg syslogd to /dev/null
Lennart Poettering [Wed, 13 Apr 2011 21:29:51 +0000 (23:29 +0200)]
units: add --no-block when starting normal service after shell exited
Kay Sievers [Thu, 14 Apr 2011 18:16:41 +0000 (20:16 +0200)]
update TODO
Lennart Poettering [Wed, 13 Apr 2011 19:43:36 +0000 (21:43 +0200)]
ask-password: use kill(PID, 0) before querying a password
Lennart Poettering [Wed, 13 Apr 2011 19:42:46 +0000 (21:42 +0200)]
ask-password: support passwords without timeouts
Lennart Poettering [Wed, 13 Apr 2011 19:26:30 +0000 (21:26 +0200)]
ask-password: always send final NUL char
Lennart Poettering [Wed, 13 Apr 2011 19:24:17 +0000 (21:24 +0200)]
ask-password: properly accept empty passwords from agent
Lennart Poettering [Wed, 13 Apr 2011 02:35:34 +0000 (04:35 +0200)]
unit: skip default cgroup setup if we have no hierarchy to work on
Lennart Poettering [Wed, 13 Apr 2011 02:35:07 +0000 (04:35 +0200)]
units: isolate emergency.target instead of emergency.service when we fail to mount all file systems