summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-05-19exec: expose tty reset options in dbus introspection dataLennart Poettering
2011-05-19socket: expose IP_TRANSPARENTLennart Poettering
2011-05-18exec: hangup/reset/deallocate VTs in gettysLennart Poettering
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.
2011-05-17socket: use 666 socket mode by default since neither fifos, nor sockets, nor ↵Lennart Poettering
mqueues need to be executable
2011-05-17socket: add POSIX mqueue supportLennart Poettering
2011-05-17hostnamed: check that nss-myhostname is installedLennart Poettering
2011-05-16sysctl: apply /etc/sysctl.conf lastLudwig Nussel
apply /etc/sysctl.conf last to actually allow the admin to override package provided defaults.
2011-05-16systemd-analyze: print hostname, kernelversion and arch at the top of the plotKoen Kooi
2011-05-16pam: downgrade a few log msgsLennart Poettering
2011-05-12hostnamed: SetPrettyHostname() should check PK action ↵Lennart Poettering
org.freedesktop.hostname1.set-static-hostname
2011-05-10user-sessions: ignore EROFS when unlinking /etc/nologin if the file doesn't ↵Lennart Poettering
exist anyway
2011-05-10util: include `stdarg.h`Paul Menzel
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/
2011-05-09build-sys: Angstrom supportKoen Kooi
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'.
2011-05-05unit: make ignoring in snapshots a per unit property, instead of a per unit ↵Lennart Poettering
type property
2011-05-03vconsole: use open_terminal() instead of open()Lennart Poettering
2011-05-01sysctl: correct /usr/local/lib pathKay Sievers
2011-04-30binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=Kay Sievers
2011-04-30binfmt, modules-load, sysctl, tmpfiles: read /usr/local/lib and where ↵Kay Sievers
appropriate /lib directories
2011-04-30util: don't AND cx with cxLennart Poettering
2011-04-28util: conf_files_list() return list as parameterKay Sievers
2011-04-28dbus: make daemon reexecution synchronousLennart Poettering
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
2011-04-28label: don't print warning when we try ro relabel an non-existing fileLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=698674
2011-04-28service: properly notice when services with a main process that isn't a ↵Lennart Poettering
child of init die https://bugzilla.redhat.com/show_bug.cgi?id=699114
2011-04-28lookup: drop empty directories from search pathsLennart Poettering
2011-04-28path: simplify recheck logicLennart Poettering
2011-04-28unit: fix assert when trying to load unit instances for uninstanciable typesLennart Poettering
http://lists.freedesktop.org/archives/systemd-devel/2011-April/001910.html
2011-04-27systemctl: whitelist /etc instead of blacklisting /lib to figure out if ↵Lennart Poettering
[Install] is needed
2011-04-27def: lower default timeout to 90sLennart Poettering
Almost everybody found 3min too long, so lower it again
2011-04-27manager: fix serialization counterLennart Poettering
2011-04-27dbus: don't hit assert when dumping propertiesLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=36472
2011-04-26cryptsetup: fix keyfile size option processingMilan Broz
/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
2011-04-26socket: improve warning message when we get POLLHUPLennart Poettering
2011-04-26strv: Fix gcc unitialized variable warningZbigniew Jędrzejewski-Szmek
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]
2011-04-26mount: failure to mount cgroup hierarchies should not be fatalLennart Poettering
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
2011-04-25tmpfiles.d: switch to stacked config dirs in /lib, /etc, /runKay Sievers
2011-04-25sysctl.d, binfmt.d, modules-load.d: switch to stacked config dirs in /lib, ↵Kay Sievers
/etc, /run
2011-04-23manager: mkdir /run/systemd/system when starting upTollef Fog Heen
2011-04-21missing: Fix broken syscall(__NR_fanotify_mark... on o32 mips.cee1
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.
2011-04-21Revert "cryptsetup: pass 0 as key size to crypt_activate_by_keyfile()"Lennart Poettering
This reverts commit 9402841ef197e485061ab328edcaa0e6d83051bd. This freezes boot-up when /dev/urandom is used as key source
2011-04-20mount: Allow creating mount units for /var/lib/nfs/rpc_pipefs and /proc/fs/nfsd.Wulf C. Krueger
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).
2011-04-20cryptsetup: pass 0 as key size to crypt_activate_by_keyfile()Lennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=36264
2011-04-20socket: support ListeSpecial= socketsLennart Poettering
2011-04-20vconsole: don't set console font/keymap if settings are emptyLennart Poettering
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=.
2011-04-20nspawn: don't fail when we receive SIGCHLDLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=36148
2011-04-20cgroup: don't accidentaly trim on reloadLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=678555
2011-04-20socket: log more information about invalid poll eventsLennart Poettering
2011-04-20MeeGo supportChris E Ferron
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.
2011-04-20mount,crypto: rework meaning of noauto/nofailLennart Poettering
2011-04-19manager: when running in test mode, do not write generated unit files to ↵Lennart Poettering
/run/systemd/generator
2011-04-19mount: properly parse timeouts options in the middle of the stringLennart Poettering