summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-07-26logs-show: fix OOM pathLennart Poettering
2012-07-26build-sys: use correct cppPeeters Simon
this solves issues where $(CPP) has differend include paths than 'cpp'
2012-07-26update READMELennart Poettering
2012-07-26login: lose policy a bit: allow user suspend unauthenticated when multiple ↵Lennart Poettering
sessions exist
2012-07-26log: out-of-line __log_oom()Michal Schmidt
The callers' code gets smaller.
2012-07-26log: log_oom() must be a macroMichal Schmidt
2012-07-26udev: cdrom_id, accelerometer - enable debug output for --debugKay Sievers
2012-07-26log.h: new log_oom() -> int -ENOMEM, use itShawn Landden
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
2012-07-26update TODOKay Sievers
2012-07-26unit-name: style fix in unit_name_is_template()Michal Schmidt
to make it look like the newly added unit_name_is_instance()
2012-07-26systemd: enable/disable instances of templateMichal Sekletar
https://bugzilla.redhat.com/show_bug.cgi?id=752774
2012-07-26unit: add missing deps in unit_dependency_tableMichal Schmidt
also reorder the table according to the enum order.
2012-07-26unit: make the table of inverse deps symmetricMichal Schmidt
2012-07-26dbus-unit: expose PartOf/ConsistsOf propertiesMichal Schmidt
2012-07-26man: rewrite the description of PartOfMichal Schmidt
2012-07-26systemd: added new dependency PartOfMichal Sekletar
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.
2012-07-26build-sys: create ntp-units.d dropin directories on installMichal Schmidt
2012-07-25build-sys: really make gtk-doc optional & some portability fixesMantas Mikulėnas
The failing check caused autogen.sh to die mysteriously due to `set -e` and the unquoted `test -z $VAR`. Also, some syntax fixes to make it work with /bin/sh, which most other autogen.sh's use. [zj: implemented simplification suggested by Peters Simon and fixed the case where gtkdocize was available but is not anymore.]
2012-07-25update TODOLennart Poettering
2012-07-25update TODOKay Sievers
2012-07-25make-man-index.py: compatibility with Python 3Mantas Mikulėnas
Despite its name, ElementTree.tostring() returns already-encoded bytes() instead of a string in Python 3; sys.stdout doesn't like that.
2012-07-25use "Out of memory." consistantly (or with "\n")Shawn Landden
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
2012-07-25units: add the modules-load cmdline parameters to the unit conditionsMichal Schmidt
For 'modules-load=' and 'rd.modules-load=' to be effective, systemd-modules-load.service must be started. It is currently conditional on the existence of config files. Add the presence of the cmdline parameters to the triggering conditions.
2012-07-25modules-load: fix kernel cmdline parsingMichal Schmidt
2012-07-25main: set PR_SET_CHILD_REAPER for MANAGER_USERAuke Kok
Become the reaper for all children part of the user session. Tested with several forking services.
2012-07-24conf-files: continue searching if one dir failsMichal Schmidt
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
2012-07-24uaccess: add ID_SECURITY_TOKEN device class for USB authentication keysKay Sievers
2012-07-24rules: avoid mounting raid devices too earlyMichal Schmidt
/dev/md0 appears as soon as the first component of the raid array is added by incremental assembly rules. This is too early for systemd to attempt to mount the device. The device should be considered plugged after the raid array becomes active. https://bugzilla.redhat.com/show_bug.cgi?id=767561
2012-07-23systemctl: use color specification understood by dotZbigniew Jędrzejewski-Szmek
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
2012-07-23journalctl: fix ellipsization with PAGER=catZbigniew Jedrzejewski-Szmek
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."
2012-07-23keymap: Broaden ThinkPad X2.. tablet match to also apply to X230Terence Honles
https://bugs.freedesktop.org/show_bug.cgi?id=52371
2012-07-23build-sys: man - add missing dependencyKay Sievers
2012-07-23sd-daemon: remove unnecessary memset callsJim Meyering
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]
2012-07-22logind: fix operation precedence mix-upZbigniew Jędrzejewski-Szmek
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'.
2012-07-22test: correct enum misassignmentZbigniew Jędrzejewski-Szmek
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 ^~~~~~~~~~~~
2012-07-22collect, keymap, systemctl: use _noreturn_Zbigniew Jędrzejewski-Szmek
2012-07-22man: typoShawn Landden
2012-07-22build-sys: distribute a few more man pagesZbigniew Jędrzejewski-Szmek
2012-07-22build-sys: hide error message from grepZbigniew Jędrzejewski-Szmek
2012-07-21build-sys: fail early in autogen.shZbyszek Jędrzejewski-Szmek
When intltoolize is not installed, autogen.sh runs without error, but configure.ac is borked. ./configure: line 12001: syntax error near unexpected token `0.40.0' ./configure: line 12001: `IT_PROG_INTLTOOL(0.40.0)'
2012-07-21build-sys: fix (again) index generation in subdirZbigniew Jędrzejewski-Szmek
make-man-index.py doesn't care about .html files, only .xml files, so the source list was wrong. Also, $(XML_FILES) are specified without prefix, so compilation in sepearate build-dir was broken: GEN man/index.html Traceback (most recent call last): File "../make-man-index.py", line 24, in <module> t = parse(p) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1183, in parse tree.parse(source, parser) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'man/systemd.xml'
2012-07-20update TODOLennart Poettering
2012-07-20tmpfiles: also look in /lib/tmpfiles.d on split /usr systemsLennart Poettering
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.
2012-07-20udev: path_id - export path for platform block devicesKay Sievers
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
2012-07-20build-sys: bump revision of libudev toosystemd/v187Lennart Poettering
2012-07-20build-sys: prepare 187Lennart Poettering
2012-07-20journalctl: fix assertion failure in ellipsize_mem()Eelco Dolstra
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.
2012-07-20units: apply default resource limits to socket/mount/swap processes tooLennart Poettering
2012-07-20core: drop KillMode parameter from KillUnit() bus callLennart Poettering
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.
2012-07-20unit: split off KillContext from ExecContext containing only kill definitionsLennart Poettering