summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-06-15pam-module: add debug= parameterMichal Schmidt
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.
2011-06-15systemctl: plug a leak upon create_symlink mismatchJim Meyering
2011-06-15systemctl: enable chkconfig support in systemctl for ALTLinuxAlexey Shabalin
2011-06-15execute: fix function prototypeLennart Poettering
2011-06-15dbus: fix name of capability propertyLennart 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-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-26sd-daemon: remove superfluous _sd_hidden_ from static functionKay Sievers
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-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-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-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-19util: use open_terminal() in chvt() tooLennart Poettering
2011-05-19socket: expose SO_BROADCASTLennart 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-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