summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-14build-sys: fix buildLennart Poettering
2011-06-14systemctl: fix a FILE* leakMichal Schmidt
In practice it does not really matter, but let's be nice and close the file.
2011-06-14systemctl: fix 'is-enabled' for native units under /libMichal Schmidt
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
2011-06-14remote-fs.target: do not order after network.targetTom Gundersen
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.
2011-06-14mount /run without MS_NOEXECKay Sievers
2011-06-10readahead-common: fix total memory size detectionMichal Schmidt
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
2011-06-09enable chkconfig support in systemctl for openSUSEFrederic Crozat
2011-06-07selinux: selinuxfs can be mounted on /sys/fs/selinuxMichal Schmidt
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
2011-06-06cryptsetup-generator: fix /etc/cryptsetup optionsMichal Schmidt
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
2011-06-05systemctl: fix double unref of a dbus messageMichal Schmidt
2011-05-27exec: Fix number of unit typesOzan Çağlayan
There are four unit types mentioned in here, not three
2011-05-26build-sys: prepare v28systemd/v28Lennart Poettering
2011-05-26sd-daemon: remove superfluous _sd_hidden_ from static functionKay Sievers
2011-05-25drop hwclock-save.serviceKay Sievers
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.
2011-05-25dbus-common: fix segfault when a DBus message has no interfaceMichal Schmidt
dbus_message_get_interface() may return NULL. https://bugzilla.redhat.com/show_bug.cgi?id=707483
2011-05-25man: update the list of unit search locationsWilliam Swanson
2011-05-25readahead: explain that it is safe to ignore EACCESLennart Poettering
2011-05-25readahead-collect: ignore EACCES for fanotifyHarald Hoyer
At the start of auditd, we are temporarily not able to read from the fanotify fd. Ignoring it, seems to work.
2011-05-25update TODOKay Sievers
2011-05-24rtc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)Kay Sievers
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.
2011-05-24update TODOKay Sievers
2011-05-24update TODOKay Sievers
2011-05-22socket: expose mq params in introspection dataLennart Poettering
2011-05-21bus_property_append_long: use signed long and 'x' in the signature for ↵Kay Sievers
DBUS_TYPE_INT64
2011-05-20socket: always use SO_{RCV,SND}BUFFORCE to allow larger valuesKay Sievers
2011-05-20util: use new VT ESC sequence to clear scrollback bufferLennart Poettering
2011-05-20sd-daemon: move _sd_hidden_ from .h to .c fileKay Sievers
2011-05-20missing: add IP_TRANSPARENTKay Sievers
2011-05-20build-sys: prepare new release 27systemd/v27Lennart Poettering
2011-05-20update TODOLennart Poettering
2011-05-19util: use open_terminal() in chvt() tooLennart Poettering
2011-05-19socket: expose SO_BROADCASTLennart Poettering
2011-05-19git: add .mailmapLennart Poettering
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-17README: document relation to nss-myhostnameLennart Poettering
2011-05-17hostnamed: check that nss-myhostname is installedLennart Poettering
2011-05-17update TODOLennart 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-10build-sys: create dbussystemservicedirMichael Olbrich
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
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-09units: Enable plymouth for FrugalwareMiklos Vajna