summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* udev: cdrom_id, accelerometer - enable debug output for --debugKay Sievers2012-07-262-4/+4
|
* log.h: new log_oom() -> int -ENOMEM, use itShawn Landden2012-07-2640-310/+183
| | | | | | also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
* unit-name: style fix in unit_name_is_template()Michal Schmidt2012-07-261-1/+2
| | | | to make it look like the newly added unit_name_is_instance()
* systemd: enable/disable instances of templateMichal Sekletar2012-07-263-10/+81
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=752774
* unit: add missing deps in unit_dependency_tableMichal Schmidt2012-07-261-6/+8
| | | | also reorder the table according to the enum order.
* unit: make the table of inverse deps symmetricMichal Schmidt2012-07-261-1/+2
|
* dbus-unit: expose PartOf/ConsistsOf propertiesMichal Schmidt2012-07-261-0/+2
|
* systemd: added new dependency PartOfMichal Sekletar2012-07-264-1/+17
| | | | | | | | | | | | This should address TODO item "new dependency type to "group" services in a target". Semantic of new dependency is as follows. Once configured it creates dependency which will cause that all dependent units get stopped if unit they all depend on is stopped or restarted. Usual use case would be configuring PartOf=some.target in template unit file and WantedBy=some.target in [Install] section and enabling desired number of instances. In this case starting one instance won't pull in target but stopping or starting target(in case of WantedBy is properly configured) will cause stop/start of all instances.
* use "Out of memory." consistantly (or with "\n")Shawn Landden2012-07-2536-111/+111
| | | | | | | | glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
* modules-load: fix kernel cmdline parsingMichal Schmidt2012-07-251-2/+2
|
* main: set PR_SET_CHILD_REAPER for MANAGER_USERAuke Kok2012-07-252-0/+13
| | | | | Become the reaper for all children part of the user session. Tested with several forking services.
* conf-files: continue searching if one dir failsMichal Schmidt2012-07-241-6/+6
| | | | | | | | | | A problem with systemd-tmpfiles has been observed where the service failed just because one of the configuration directories could not be read due to SELinux policy. Complain about the failure, but try to go on. https://bugzilla.redhat.com/show_bug.cgi?id=839736
* uaccess: add ID_SECURITY_TOKEN device class for USB authentication keysKay Sievers2012-07-241-0/+3
|
* systemctl: use color specification understood by dotZbigniew Jędrzejewski-Szmek2012-07-231-1/+1
| | | | | | | grey66 is aproximately equal to dark grey. Not understanding dark grey is really a bug in dot, but trivial to work around. Closes https://bugs.freedesktop.org/show_bug.cgi?id=45706
* journalctl: fix ellipsization with PAGER=catZbigniew Jedrzejewski-Szmek2012-07-233-13/+14
| | | | | | | | | | There are other reasons for not opening the pager then the --no-pager or --follow options (described below). If the pager is not used, messages must be ellipsized. On Fri, Jul 20, 2012 at 05:42:44AM +0000, Shawn Landen wrote: > "Pager to use when --no-pager is not given; overrides $PAGER. > Setting this to an empty string or the value cat is equivalent to passing --no-pager."
* keymap: Broaden ThinkPad X2.. tablet match to also apply to X230Terence Honles2012-07-231-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=52371
* sd-daemon: remove unnecessary memset callsJim Meyering2012-07-233-4/+0
| | | | | | | There is no point in clearing the bits of a "struct stat" when the very next statement just calls stat or fstat to fill in that same memory. [zj: two more places]
* logind: fix operation precedence mix-upZbigniew Jędrzejewski-Szmek2012-07-221-1/+1
| | | | | | Since + has higher precedence than ?:, and u+b is unlikely to be exactly zero, the timestamp would usually be set to IDLE_THRESHOLD_USEC. Fix it by returning either 'last activity', or 'last activity+IDLE_THRESHOLD_USEC'.
* test: correct enum misassignmentZbigniew Jędrzejewski-Szmek2012-07-221-1/+1
| | | | | | | | | CC src/test/test_job_type-test-job-type.o ../src/test/test-job-type.c:40:25: warning: implicit conversion from enumeration type 'enum UnitType' to different enumeration type 'ServiceType' (aka 'enum ServiceType') [-Wconversion] .type = UNIT_SERVICE ^~~~~~~~~~~~
* collect, keymap, systemctl: use _noreturn_Zbigniew Jędrzejewski-Szmek2012-07-223-3/+5
|
* tmpfiles: also look in /lib/tmpfiles.d on split /usr systemsLennart Poettering2012-07-201-0/+3
| | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=38686 I don't think the usecase case in that bug makes much sense, but all the other tools do honour /lib in the search path so we probably should do that here, too.
* udev: path_id - export path for platform block devicesKay Sievers2012-07-201-0/+1
| | | | | | | | | | | | | | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> > > E.g. I have a platform with two sdhci controllers with different purposes. > First slot is an external slot while second one is internal with a > non-removable card. > > When there is a card in the external slot at boot, the non-removable card is > named 'mmcblk1'; without the external card it is 'mmcblk0'. Vice versa for the > external card. https://bugs.freedesktop.org/show_bug.cgi?id=52309
* journalctl: fix assertion failure in ellipsize_mem()Eelco Dolstra2012-07-201-1/+1
| | | | | | | | | | | | When showing the journal through "journalctl --no-pager", if the prefix of the log message (i.e. the date and syslog identifier) is less than 3 characters shorter than the width of the terminal, you get: Assertion 'new_length >= 3' failed at src/shared/util.c:3859, function ellipsize_mem(). Aborting. because there is not enough space for the "...". This patch add the necessary check.
* units: apply default resource limits to socket/mount/swap processes tooLennart Poettering2012-07-206-15/+25
|
* core: drop KillMode parameter from KillUnit() bus callLennart Poettering2012-07-2011-81/+61
| | | | | | It made no sense, and since we are documenting the bus calls now and want to include them in our stability promise we really should get it cleaned up sooner, not later.
* unit: split off KillContext from ExecContext containing only kill definitionsLennart Poettering2012-07-2021-92/+265
|
* journald: upgrade signal reception message to INFOLennart Poettering2012-07-191-1/+2
|
* udev: firmware - do not cancel requests in the initrdKay Sievers2012-07-191-1/+7
|
* use #pragma once instead of foo*foo #define guardsShawn Landden2012-07-1995-379/+95
| | | | | | | | | | | | | | | | | #pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported in other compilers. I've been using and maintaining (rebasing) this patch for a while now, as it annoyed me to see #ifndef fooblahfoo, etc all over the place, almost arrogant about the annoyance of having to define all these names to perform a commen but neccicary functionality, when a completely superior alternative exists. I havn't sent it till now, cause its kindof a style change, and it is bad voodoo to mess with style that has been established by more established editors. So feel free to lambast me as a crazy bafoon. v2 - preserve externally used headers
* journal: allow watching symlinked journal dirsLennart Poettering2012-07-191-2/+2
|
* journal: when watching directories actually watch the directories asked forLennart Poettering2012-07-192-4/+20
|
* journal: rotate busy files away when we try to write to themLennart Poettering2012-07-191-2/+4
|
* journal: follow symlinks when enumerating journalsLennart Poettering2012-07-191-1/+1
|
* manager: use a private notify sockets in containers to avoid problems with ↵Lennart Poettering2012-07-191-1/+1
| | | | shared abstract socket namespaces
* killall: avoid gcc warning about wait name clashLennart Poettering2012-07-191-2/+2
|
* nspawn: generate proper error messages in the childLennart Poettering2012-07-191-21/+39
|
* journald: don't choke on journal files with no cutoff dateLennart Poettering2012-07-191-0/+4
|
* nspawn: introduce new --link-journal= switch to link container journals into ↵Lennart Poettering2012-07-191-11/+196
| | | | host
* journal: remove all of /run/log/journal when serializing, since the machine ↵Lennart Poettering2012-07-181-5/+2
| | | | ID might deviate
* journal: don't complain if the syslog forwarder socket doesn't existLennart Poettering2012-07-181-1/+2
|
* journal: when we suggest a rotation, explain whyLennart Poettering2012-07-181-3/+19
|
* journal: estimate data hash table size a bit larger by defaultLennart Poettering2012-07-181-3/+3
|
* journald: fix another bad memory accessLennart Poettering2012-07-181-0/+4
| | | | | If we rotate due to header out of date we need the new journal file object, too.
* journald: fix bad memory accessLennart Poettering2012-07-181-0/+4
| | | | | After vacuuming we need to retrieve the journal file object again, since it might have changed.
* keymap: Add Dell Latitude force-release quirkRex Tsai2012-07-181-1/+1
| | | | Signed-off-by: Martin Pitt <martinpitt@gnome.org>
* service: don't print a warning if we are in autorestart state, and can't ↵Lennart Poettering2012-07-181-4/+5
| | | | start a unit just yet
* service: make start jobs wait, not fail, when an automatic restart is queuedLennart Poettering2012-07-181-4/+10
| | | | | | When an automatic restart is already queued, then make subsequent start jobs wait until the restart can be handled (i.e. after the holdhoff time), instead of simply fail.
* unit: don't serialize job state, only unit state across switch-rootLennart Poettering2012-07-185-21/+29
|
* switch-root: don't wait for processesLennart Poettering2012-07-174-8/+11
| | | | | When we transition from the initrd to the main system, don't reap processes, so that they can be handled normally after deserialization.
* journalctl: do not ellipsize when using pagerZbigniew Jędrzejewski-Szmek2012-07-173-4/+9
| | | | | | | If a pager is used, ellipsization is redundant — the pager does that better by hiding the part that cannot be shown. Pager's advantage is that the user can press → to view the hidden part of a message, and then ← to return.