summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-03-09pkconfig: export full search path as .pc variableLennart Poettering
2011-03-09selinux: bump up error level when in non-enforcing modeLennart Poettering
2011-03-09dbus: fix dbus assert due to uninitialized errorAndrey Borzenkov
Add missing dbus_error_init() in UNKNOWN_OBJECT case. Fixes assertion systemd[1]: Caught <ABRT>, dumped core as pid 6256. systemd[1]: Freezing execution. Core was generated by `/bin/systemd systemd.unit=graphical.target'. Program terminated with signal 6, Aborted. #0 0x00007f8966ec81db in raise () from /lib64/libpthread.so.0 (gdb) bt #0 0x00007f8966ec81db in raise () from /lib64/libpthread.so.0 #1 0x000000000040823b in crash (sig=6) at src/main.c:120 #2 <signal handler called> #3 0x00007f896613c075 in raise () from /lib64/libc.so.6 #4 0x00007f896613d806 in abort () from /lib64/libc.so.6 #5 0x00007f89672ac8a5 in _dbus_abort () at dbus-sysdeps.c:94 #6 0x00007f89672a37b5 in _dbus_warn_check_failed ( format=0x7f89672b35d8 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289 #7 0x0000000000441500 in bus_unit_message_handler (connection=0x21b6090, message=0x21b6760, data=0x1f3e870) at src/dbus-unit.c:572 #8 0x00007f8967299f11 in _dbus_object_tree_dispatch_and_unlock ( tree=0x219d660, message=0x21b6760) at dbus-object-tree.c:858 #9 0x00007f896728bca2 in dbus_connection_dispatch (connection=0x21b6090) at dbus-connection.c:4688 #10 0x000000000043befa in bus_dispatch (m=0x1f3e870) at src/dbus.c:547 #11 0x000000000041056d in manager_loop (m=0x1f3e870) at src/manager.c:2344 #12 0x0000000000409515 in main (argc=<value optimized out>, argv=<value optimized out>) at src/main.c:1229
2011-03-09dbus: properly generate UnknownInterface, UnknownProperty and ↵Lennart Poettering
PropertyReadOnly errors
2011-03-09drop unnecessary suffix NULs as gcc adds them anywayLennart Poettering
2011-03-09mount: use /dev/.run as an early boot alias for /var/runLennart Poettering
During early boot, mount a tmpfs to /dev/.run and then bind mount it to /var/run as soon as /var is available. This makes it possible for programs involved in early boot to put runtime data in /dev/.run which later on will show up in /var/run like any other. This can be used to solve the early-boot D-Bus problem: D-Bus may start up with its socket bound to /dev/.run/dbus/system_bus_socket and after /var it will also be available under the traditional name /var/run/dbus/system_bus_socket. This also is intended to be used as a better place for systemd, mount, mdadm, blkid, plymouth, bootchart and dracut runtime data, which is currently stored in various places in /dev/.xxx.
2011-03-08build-sys: add Mandriva distribution supportsystemd/v20Andrey Borzenkov
This merges several separate patches that I carry as part of Mandriva systemd RPM. They touch those parts that are very unlikely to be changed in near future and do not impose any functionality change for systemd core. I also think it is useful for troubleshooting to have real distribution name in system logs, espicially when someone reports problem upstream. The patch looks bigger than sum of replaced patches because - previous patches were applied on top of distro=fedora, now I need to add all those bits for distro=mandriva as well - part of patch was done as spec file magic, but it seems more logical to ship all these bits together
2011-03-08service: use uppercase SYSV prefix to make it easier to recognizeLennart Poettering
2011-03-08service: prefix description with LSB only if script has LSB header, use ↵Lennart Poettering
'SysV:' otherwise
2011-03-08unit: don't accidently create ordering links to targets when default deps ↵Lennart Poettering
are off for either target and unit
2011-03-08mount: support less cumbersome x-systemd-xxx mount optionsLennart Poettering
2011-03-08unit: distuingish mandatory from triggering conditionsLennart Poettering
2011-03-08dbus: return DBUS_ERROR_UNKNOWN_OBJECT when an object is unknownLennart Poettering
2011-03-08systemctl: when forwarding is-enabled to chkconfig hardcode runlevel 3Lennart Poettering
2011-03-08job: introduce new job result code 'skipped' to use when pre conditions of ↵Lennart Poettering
job did not apply https://bugzilla.redhat.com/show_bug.cgi?id=682245 https://bugzilla.redhat.com/show_bug.cgi?id=635780
2011-03-08job: convert job type as early as we can, to simplify things a bitLennart Poettering
2011-03-07syslog: make sure the kmsg bridge is always pulled in and never terminated ↵Lennart Poettering
automatically Since we want to replace the bridge dynamically by the real syslog implementation such as rsyslog we need to make sure that the the bridge stays running right to the moment rsyslog is up so that we process messages enqueued by other processes started before rsyslog, so that those clients don't stay stuck.
2011-03-07add org.freedesktop.DBus.Properies.Set methodAndrey Borzenkov
The patch adds framework for processing Set requests on properties and as first consumers allows setting of LogTarget and LogLevel on interface org.freedesktop.systemd1.Manager of org.freedesktop.systemd1. The code should be generic enough to allow processing of any property on other objects and interfaces as well. No systemctl visible interface is added so far. The LogTarget and LogLevel are meant for debugging in the first place; user interface can be added if other usage emerge. Set on systemwide systemd is restricted to root; I am not sure how session level access is controlled.
2011-03-06service: drop redundant check in sysv_translate_facilityLennart Poettering
We check for _r with an assert in the function header anyway, no need to check it again.
2011-03-04machine-id: generate /etc/machine-id 0444 by defaultLennart Poettering
2011-03-04machine-id: typo fixLennart Poettering
2011-03-04main: introduce /etc/machine-idLennart Poettering
This is supposed to play the same roles /var/lib/dbus/machine-id, however fixes a couple of problems: - It is available during early boot since it is stored in /etc - Removes the ID from the D-Bus context and moves it into a system context, thus hopefully lowering hesitation by people to use it. - It is generated at installation time. If the file is empty at boot time it will be mounted over with a randomly generated ID, which is not saved to disk. This is useful to support state-less machines with no transient or writable /etc configuration.
2011-03-04systemctl: fix exit code when directing is-enabled to chkconfigLennart Poettering
2011-03-04main: minor optimizationLennart Poettering
2011-03-04dbus: add 'Tainted' property to Manager objectLennart Poettering
2011-03-04dbus: expose distribution name and features on manager object as propertiesLennart Poettering
2011-03-04main: add link to wiki page with longer explanation of the /usr madnessLennart Poettering
2011-03-04s/seperate/separate/Lennart Poettering
2011-03-04execute: load environment files at time of execution, not when we load the ↵Lennart Poettering
service configuration https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-04path: after installing inotify watches, recheck file again to fix raceLennart Poettering
2011-03-04path: don't use IN_ATTRIB on parent dirs when watching a file, since those ↵Lennart Poettering
cannot be removed without emptying the dir first anyway and we need IN_ATTRIB only to detect the link count dropping to 0
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-03-03readahead: disable collector automatically on read-only mediaLennart Poettering
2011-03-03sysctl: use scandir() instead of nftw() to guarantee systematic orderingLennart Poettering
2011-03-03dirent: support DT_UNKNOWN where necessary for compat with reiserfsLennart Poettering
2011-03-01systemctl: add condreload alias for compat with ALTLinuxLennart Poettering
2011-02-28ask-password: make a confused gcc shut upLennart Poettering
2011-02-28ratelimit: removed n_printedHarald Hoyer
Removed n_printed and renamed n_printed to num. This is not a logging rate limiter anymore.
2011-02-28Spelling CorrectionsHarald Hoyer
Just some lame spelling corrections with no functionality.
2011-02-28systemctl: always null-terminate the passwordZbigniew Jędrzejewski-Szmek
2011-02-28udev: don't ignore non-encrypted block devices with no superblockLennart Poettering
They might be encrypted disks with no LUKS header. https://bugzilla.redhat.com/show_bug.cgi?id=679842
2011-02-28udev: expose ttyUSB devices tooLennart Poettering
2011-02-28udev: mark hvc devices for exposure in systemdLennart Poettering
2011-02-25cryptsetup: add a terse helpLennart Poettering
2011-02-25agent: don't print warnings if a password was removed or timed outLennart Poettering
2011-02-25systemctl: shutdown agent explicitly so that it can reset the tty properlyLennart Poettering
2011-02-25service: never clean up a service that still has a process in itLennart Poettering
2011-02-25label: udev might be making changes in /dev while we iterate through itLennart Poettering
Also, there are most likely dead symlinks in there, so let's ignore ENOENT when we relabel. https://bugzilla.redhat.com/show_bug.cgi?id=680169
2011-02-24systemctl: properly handle job resultsLennart Poettering
2011-02-24job: also trigger on-failure dependencies when jobs faile due to ↵Lennart Poettering
dependencies, timeout