summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-09fstab-generator: respect noauto/nofail when adding sysroot mountWANG Chao
Currently we don't respect noauto/nofail root mount options (from rootflags kernel cmdline). We should map these two flags to the corresponding boolean variable noauto and nofail when calling add_mount().
2013-08-09udevd: respect the log-level set in /etc/udev/udev.confTom Gundersen
A regression introduced when we moved to systemd's logging is that the only way to adjust the log-level of the udev daemon is via the env var, kernel commandline or the commandline. This reintroduces support for specifying this in the configuration file.
2013-08-08dbus: use _cleanup_free_ instead of freeing ourselfRonny Chevalier
2013-08-07hwdb: updateKay Sievers
2013-08-07TODO: add hwdb timestamp checkKay Sievers
2013-08-07udev: hwdb - try reading modalias for usb before falling back to the ↵Kay Sievers
composed one
2013-08-07hwdb: add GIGABYTE U2442 mute key to the force-release listZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=67651
2013-08-06keymap: add HP EliteBook 2570p's wlan switch to hwdbChristoph Junghans
https://bugs.freedesktop.org/show_bug.cgi?id=66178
2013-08-06systemd: fix segv in snapshot creationZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=67848
2013-08-06journald: remove unused variableZbigniew Jędrzejewski-Szmek
2013-08-06TODO: add weird instance unit enable behaviorKay Sievers
2013-08-06journal: handle multiline syslog messagesHarald Hoyer
Since the journal can handle multiple lines just well natively, and rsyslog can be configured to handle them as well, there is no need to truncate messages from syslog() after the first newline. Reproducer: 1. Add following four lines to /etc/rsyslog.conf ---------- $EscapeControlCharactersOnReceive off $ActionFileDefaultTemplate RSYSLOG_SysklogdFileFormat $SpaceLFOnReceive on $DropTrailingLFOnReception off ---------- 3. Restart rsyslog # service rsyslog restart 4. Compile and run the following program ---------- #include <stdio.h> #include <syslog.h> int main() { syslog(LOG_INFO, "aaa%caaa", '\n'); return 0; } ---------- Actual results: Below message appears in /var/log/messages. ----------    Sep 7 19:19:39 localhost test2: aaa ---------- Expected results: Below message, which worked prior to systemd-journald appears in /var/log/messages. ----------    Sep 7 19:19:39 localhost test2: aaa aaa https://bugzilla.redhat.com/show_bug.cgi?id=855313
2013-08-04man: fix typo in documentation of systemd-machinedMichael Scherer
2013-08-04man: wording and grammar updatesJan Engelhardt
This includes regularly-submitted corrections to comma setting and orthographical mishaps that appeared in man/ in recent commits.
2013-08-04systemd-delta: Only print colors when on a ttyDaniel Schaal
This make systemd-delta follow the behaviour of systemctl and journalctl. https://bugs.freedesktop.org/show_bug.cgi?id=67656 [zj: unify color query methods between those three programs.]
2013-08-04gitignore: add test-journal-initZbigniew Jędrzejewski-Szmek
2013-08-03build-sys: link with librt if linking with libsd-daemon-intZbigniew Jędrzejewski-Szmek
In fba1ea0 'build: do not link everything with -lrt (and therefore -pthread)' librt was removed from the list of libraries. But libsd-daemon-internal also uses symbols from librt and librt must thus be added everywhere where libsd-daemon-interal is used, or otherwise linking might fail: /usr/bin/ld: ./.libs/libudev-core.a(sd-daemon.o): undefined reference to symbol 'mq_getattr@@GLIBC_2.3.4' /usr/bin/ld: note: 'mq_getattr@@GLIBC_2.3.4' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
2013-08-03zsh completion: add _kernel-installDaniel Wallace
2013-08-03pkg-config: export systemd{system,user}generatordir and catalogdirZbigniew Jędrzejewski-Szmek
We export the location of a bunch of directories this way, so it makes sense to add those three. Especially catalogdir is something that we want people to add things to. Note on the naming: the first two are tied closely to systemd itself, so I prefixed them with "systemd". The third one is rather more generic, so no prefix. https://bugs.freedesktop.org/show_bug.cgi?id=67635
2013-08-02journal: fix hashmap leak in mmap-cacheGeorge McCollister
hashmap_free() wasn't being called on m->contexts and m->fds resulting in a leak. To reproduce do: while(1) { sd_journal_open(&j, SD_JOURNAL_LOCAL_ONLY); sd_journal_close(j); } Memory usage will increase until OOM.
2013-08-02tests: add a program for repetitive opening and closing of the journalZbigniew Jędrzejewski-Szmek
Basically wraps an example provided by George McCollister. Should help with leaks in the future.
2013-08-02zsh_completion: add "gdb" verb to coredumpctlZbigniew Jędrzejewski-Szmek
2013-08-02coredumpctl: add more debug outputZbigniew Jędrzejewski-Szmek
It can be quite useful when somebody confuses _PID with COREDUMP_PID :).
2013-08-02zsh_completion: Speed up noncached perf of _journalctlWilliam Giokas
Splitting things unnecessarily at newlines causes tab completion to take an extremely long time. Also add a note saying that caching is not good for journalctl's completion.
2013-08-02zsh_completion: Split out zsh _systemd-tmpfilesWilliam Giokas
You can choose to have systemd-tmpfiles at configuration time, so only install the completion for this if configured to do so.
2013-08-02zsh_completion: Fix journalctl's --bootWilliam Giokas
Actually displays a list of boot ID's and offsets to the user
2013-08-02zsh_completion: Remove unused functionsWilliam Giokas
2013-08-02zsh_completion: Split out zsh _machinectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-analyzeWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-inhibitWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-nspawnWilliam Giokas
Also fix the random lack of completion
2013-08-02zsh_completion: Split out zsh _udevadmWilliam Giokas
2013-08-02zsh_completion: Split out zsh _timedatectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _coredumpctlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _localectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _journalctlWilliam Giokas
Re-ordered some of the options and added a few that were missing previously as well.
2013-08-02zsh_completion: Split out zsh _hostnamectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _loginctlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemctlWilliam Giokas
2013-08-02zsh_completion: fix zsh completion installationWilliam Giokas
Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: ./configure --with-zshcompletiondir=/path/to/some/where and by default going to `$datadir/zsh/site-functions`
2013-08-0180-net-name-slot.rules: only rename network interfaces on ACTION=="add"Harald Hoyer
Otherwise systemd-udevd will rename on "change" and "move" events, resulting in weird renames in combination with biosdevname systemd-udevd[355]: renamed network interface eth0 to em1 systemd-udevd[355]: renamed network interface eth1 to p3p2 systemd-udevd[357]: renamed network interface eth0 to p3p1 systemd-udevd[429]: renamed network interface p3p2 to ens3f1 systemd-udevd[428]: renamed network interface p3p1 to ens3f0 systemd-udevd[426]: renamed network interface em1 to enp63s0 or systemd-udevd[356]: renamed network interface eth0 to em1 systemd-udevd[356]: renamed network interface eth0 to p3p1 systemd-udevd[420]: renamed network interface p3p1 to ens3f0 systemd-udevd[418]: renamed network interface em1 to enp63s0 systemd-udevd[421]: renamed network interface eth1 to p3p1
2013-08-01Add /usr/share/keymaps to localectl supported locations.Michał Górny
This is the standard upstream location where kbd installs keymaps.
2013-07-30bash-completion: simplify udevadm completionDave Reisner
The AA is unnecessary and only adds needless complexity. Replace it with a case statement instead of repeatedly calling __contains_word to overglorify string equalities.
2013-07-30bash-completion: use a better definition of __contains_wordDave Reisner
- scope the iterator var - use the correct, quoted, non-expansion prone positional parameter notation - prevent expansion on RHS of comparison - remove unneeded explicit returns. This really should be defined only once...
2013-07-30test-unit-file: return error without dumping core on permission errorChristian Hesse
2013-07-30test-fileio: use random name for written fileZbigniew Jędrzejewski-Szmek
If two instances of test-fileio were run in parallel, they could fail when trying to write the same file. This predictable name in /tmp/ wasn't actually a security issue, because write_env_file would not follow symlinks, so this could be an issue only when running tests in parallel.
2013-07-30simplify bash completion for kernel-installHarald Hoyer
2013-07-29udev-rules: report rule parsing errors from get_keyDave Reisner
2013-07-30build-sys: support old glibc versions without clock_gettime()Kay Sievers
2013-07-30logind: make sure login sessions are terminated with SIGHUPLennart Poettering
bash ignores SIGTERM, and can only be terminated cleanly via SIGHUP. Hence make sure that we the scope unit for the session is created with SendSIGHUP enabled.