summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-08-07journalctl: include corrupted files in outputLennart Poettering
If a journal file was rotated away because it was corrupted or dirty we should still show its contents via "journalctl".
2012-08-06mount-setup: change system mount propagation to shared by defaultLennart Poettering
In order to make containers work nicely out of the box it is highly desirable to have the mount propagation mode for the root fs is set as "shared" by default so that containers receive system mounts by default. (See mount --make-shared for more information). As it is unlikely that the kernel will change the default to "shared" for this, do this early at boot-up from PID 1. Setups which prefer the default of "private" should undo this change via invoking "mount --make-private /" or a similar command after boot. In the long run /etc/fstab should take the propagation mode as a mount option like any other, so that this may be used to change the default mode. However, if fstab is not around or doesn't list / we still should default to shared as propagation mode, hence this change now.
2012-08-06sysctl: apply configuration at onceMichal Sekletar
https://bugzilla.redhat.com/show_bug.cgi?id=767795 [ Simplified by iterating the config files in the backwards order - no need for hashmap_update(). Other minor cleanups. -- michich ]
2012-08-06main: fix typoLennart Poettering
2012-08-06continue work with error messages, log_oom()Shawn Landden
Adds messages for formally silent errors: new "Failed on cmdline argument %s: %s". Removes some specific error messages for -ENOMEM in mount-setup.c. A few specific ones have been left in other binaries.
2012-08-06shutdown: allow to specify broadcast message when cancelling shutdownMichal Sekletar
makes shutdown behaviour more compatible
2012-08-03cryptsetup: add keyfile-size= supportTom Gundersen
This is useful e.g. if the keyfile is a raw device, where only parts of it should be read. It is typically used whenever the keyfile-offset= option is specified. Tested-by: Erik Westrup <erik.westrup@gmail.com>
2012-08-03logs-show: fix off-by-one errorShawn Landen
Ellipsize lines that are one character too long.
2012-08-03test: allow deletion of temporary files from normal fsZbigniew Jędrzejewski-Szmek
Not everybody has /tmp on tmpfs, and this was breaking 'make check'.
2012-08-03keyboard-force-release: Fix previous commitMartin Pitt
Was missing a * for the globbing.
2012-08-03keyboard-force-release: Apply to all Fujitso AMILO modelsMartin Pitt
https://launchpad.net/bugs/1011323 reports more AMILO models which need this quirk; enough to assume that all of them need it, and applying it on working models does not really hurt.
2012-08-03udev: path_id - add comment about the unrteliable rebase logicKay Sievers
2012-08-01journal: add sd_journal_perror() to APILennart Poettering
2012-07-31journald: fixed memory leakArtur Zaprzala
2012-07-31libudev-queue.c: simplified open_queue_fileArvydas Sidorenko
There is no apparent justification for using util_strscpyl on the filename since it's a plain hardcoded path. Older versions used: util_strscpyl(filename, sizeof(filename), SOME_DIR, "/queue.bin", NULL); and when changed nobody bothered to simplify it.
2012-07-31automount: print mount point in debug messageZbigniew Jędrzejewski-Szmek
Old: systemd[1]: Got direct mount request for ffff88003bb10c00, triggered by 14476 (fuser) New: systemd[1]: Got direct mount request on /dev/mqueue, triggered by 2177 (ls)
2012-07-30udev: set log.c's log level from udev's kernel command line optionKay Sievers
2012-07-30udev: add missing newline when writing to /dev/kmsgKay Sievers
2012-07-29logind: add new loginctl lock-sessions commandLennart Poettering
2012-07-29logind: add LockSessions() call to lock all local sessions at onceLennart Poettering
2012-07-28selinux: avoid inclusion of null_log without selinuxDave Reisner
Avoids a compile time warning: warning: 'null_log' defined but not used [-Wunused-function]
2012-07-28systemctl: append .service to unit names lacking suffixLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=39386
2012-07-27journalctl: add --priority= switch for filtering by priorityLennart Poettering
2012-07-26cgtop: add --version optionZbigniew Jędrzejewski-Szmek
2012-07-26cgtop: use full terminal widthZbigniew Jędrzejewski-Szmek
2012-07-26Add a 'b' option to cgtop, equivalent to the same option in topDavid Strauss
[zj: use static]
2012-07-26Add an 'n' option to cgtop (equivalent to top)David Strauss
2012-07-26journald: log driver messages at LOG_INFOLennart Poettering
2012-07-26journalctl: hightlight log lines by priorityLennart Poettering
warn/notice = bright white < error = red
2012-07-26logs-show: fix OOM pathLennart 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-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-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-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-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-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-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]