summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-14systemd-cryptsetup: makes “discard” a synonym for “allow-discards”Ondrej Balaz
systemd-cryptsetup recognizes option 'allow-discards' in /etc/crypttab to enable TRIM passthrough to underlying encrypted device. In Debian this option was changed to 'discard' to avoid hyphen in option name. (see: #648868 and `man crypttab`). [zj: update crypttab(5) too, making "discard" the default.]
2013-08-14zsh_completion: Move helper function to autoloadWilliam Giokas
_hosts_or_user_at_host was used by 6 different completions, and previously was in all 6 of those files. I moved it out to its own file, _sd_hosts_or_user_at_host. This will be autoloaded for use in other completion functions. It also allows external completions to use this function by simply calling _sd_hosts_or_user_at_host as in the systemd completions.
2013-08-14systemd.unit(5): clarify the Description= contentsMichael Stapelberg
2013-08-14fstab-generator: log_oom() if automount_name is nullWANG Chao
2013-08-14zsh_completion: Correctly display journal fieldsWilliam Giokas
Show equals and field values when used with _journal_none, don't show anything if we're not using _journal_none.
2013-08-14bootchart: remove +x permissions on .c fileZbigniew Jędrzejewski-Szmek
2013-08-14hostnamectl: show only specific hostname when requestedZbigniew Jędrzejewski-Szmek
Existing --pretty, --transient, --static options, used previously for 'set-hostname' verb, are reused for the 'status' verb. If one of them is given, only the specified hostname is printed. This way there's no need to employ awk to get the hostname in a script.
2013-08-14README: update list of used LICENSEsKay Sievers
2013-08-14test: add licence header and switch to LGPLKay Sievers
Checked with and got OK from Martin.
2013-08-14selinux-access: move GPL to LGPL licenceKay Sievers
On Wed, Aug 14, 2013 at 10:31 PM, Daniel J Walsh <dwalsh@redhat.com> wrote: > On 08/14/2013 04:17 PM, Kay Sievers wrote: > > > > this patch added GPL code to systemd, which otherwise is all LGPL. We need > > to make sure we can always split out any code to a separate shared library > > ... > > > > Mind if I switch your src/core/selinux-access.[ch] files to LGPL? > I have no problem with it. Should be LGPL anyways.
2013-08-13man: document the GPT partition types gpt-auto-generator looks forLennart Poettering
2013-08-13random-seed: a few modernizationsLennart Poettering
2013-08-13man; document gpt-auto-generatorLennart Poettering
2013-08-14man: document systemd-efi-boot-generatorLennart Poettering
2013-08-14man: add man page for systemd-backlight@.serviceLennart Poettering
2013-08-14backlight: instead of syspath use sysname for identifying backlight devicesLennart Poettering
This makes the description string of the backlight service a bit nicer.
2013-08-14backlight: add minimal tool to save/restore screen brightness across rebootsLennart Poettering
As many laptops don't save/restore screen brightness across reboots, let's do this in systemd with a minimal tool, that restores the brightness as early as possible, and saves it as late as possible. This will cover consoles and graphical logins, but graphical desktops should do their own per-user stuff probably. This only touches firmware brightness controls for now.
2013-08-13logind: restore logic to kill user processes when session endsLennart Poettering
2013-08-13gpt-auto-generator: fix swap unit generationLennart Poettering
2013-08-13update TODOLennart Poettering
2013-08-13build-sys: add two makefile symlinksLennart Poettering
2013-08-13gpt-auto-generator: Skip /home mounting if /home is not emptyLennart Poettering
2013-08-13gpt-auto-generator: add basic auto-discovery of GPT partitionsLennart Poettering
This adds a simple generator that is capable of automatically discovering certain GPT partitions by their type UUID and mount/enable them. This currently covers swap partitions and /home partitions, but is expected to grow more features soon. This currently doesn't handle LUKS encrypted /home. This enables all swap partitions of type 0657fd6da4ab43c484e50933c84b4f4f, if found. This mounts the first partition of type 933ac7e12eb44f13b8440e14e2aef915 as /home, if it is found.
2013-08-13missing: use btrfs.h instead of defining our own btrfs structuresLennart Poettering
2013-08-13TODO: updateKay Sievers
2013-08-12shell-completion: tell bash about --stateZbigniew Jędrzejewski-Szmek
2013-08-11logs-show: limit to 3 lines and use dots if not showing full messageZbigniew Jędrzejewski-Szmek
So far, we would show up to 128 bytes from a message, simply cutting of the rest. With multiline messages, it is quite common for a message to be longer than that, and this model doesn't really work anymore. A new limit is added: up to 3 lines will be shown, unless --full is used (c.f. first line below). The limit for bytes is extended to 300 bytes. An ellipsis will always be used, if some form of truncation occurs. If the tail of the message is cut off, either because of length or line limit, dots will be shown at the end of the last line. If this last line is short, the dots will be simply appended. If the last line is too long for that, it will be ellipsized with dots at the very end. Note that the limits are in bytes, not characters, and we suck at outputting unicode strings (c.f. last three lines below). Aug 11 10:46:21 fedora python[67]: test message line line... Aug 11 10:50:47 fedora python[76]: test message word word word word word word word word word word word wor... Aug 11 10:55:11 fedora python[83]: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx... Aug 11 11:03:21 fedora python[90]: ąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą... Aug 11 11:03:53 fedora python[97]: aąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą... Aug 11 11:25:45 fedora python[121]: aąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą�...
2013-08-11logs-show: fix indentation for 2nd and later lines, show lines in fullZbigniew Jędrzejewski-Szmek
Now --full will show long fields in full, like it already did with --all.
2013-08-11systemctl: show hint about --full when lines don't fitZbigniew Jędrzejewski-Szmek
2013-08-09systemctl: add missing newline to --help outputLennart Poettering
2013-08-09hwdb: map logitech R400 presenter keys from powerpoint hotkeys to sensible ↵Lennart Poettering
KEY_ definitions
2013-08-09update TODOLennart Poettering
2013-08-09fstab-generator: read rd.fstab=on/off switch correctlyWANG Chao
2013-08-09service: prohibit Restart= set when Type=oneshotMaciej Wereski
2013-08-09service: always unwatch PIDs before forgetting old onesLennart Poettering
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.]