summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-08tmpfiles: rework file attribute codeLennart Poettering
- Stick to one type for the flags field: unsigned. This appears to be what the kernel uses, and there's no point in using something else. - compress the flags array by avoiding sparse entries - extend some error messages to not use abbreviated words - avoid TTOCTTOU issues by invoking fstat() after open() when applying file flags - add explanation why we need to check the file type with fstat(). - don't needlessly abbreviate "attribute" as "attrib", in particually as "chattr" abbreviates it as "attr" rather than "attrib".
2015-04-08util: merge change_attr_fd() and chattr_fd()Lennart Poettering
2015-04-08fstab-generator: don't continue on OOMLennart Poettering
2015-04-08timesyncd: print an INFO log message when we successfully reached a time serverLennart Poettering
2015-04-08man: avoid confusion regarding "time synchronization state"Lennart Poettering
Also, update example in the timedatectl man page to match the actual timedatectl output.
2015-04-08systemctl: Use logind for --firmware-setup if possibleJan Janssen
2015-04-08IndentationZbigniew Jędrzejewski-Szmek
2015-04-08man: remove 'fs' from 'rootfsflags'Zbigniew Jędrzejewski-Szmek
rootfsflags does not appear anywhere else.
2015-04-08core/automount: beef up error messageZbigniew Jędrzejewski-Szmek
This should not happen... but when it does more information is nice.
2015-04-08shell-completion: systemctl switch-root verbZbigniew Jędrzejewski-Szmek
The completion is rudimentary (all files). I think this is OK since this is used so rarely. But not having it proposed at all is annoying.
2015-04-08update TODOLennart Poettering
2015-04-08resolved: maintain order when writing resolv.conf entriesLennart Poettering
http://lists.freedesktop.org/archives/systemd-devel/2015-March/029850.html
2015-04-08util: add minimal OrderedSet typeLennart Poettering
OrderedSet implements a Set-like structure, but maintains insertion ordered. It is hence to Set what OrderedHashmap is for Hashmap. Internally, this is only a wrapper around OrderedHashmap for now, but this could one day be improved and be added to hashmap.c natively.
2015-04-08TODO: yeah, now it makes senseLennart Poettering
2015-04-08missing.h: Define IFA_F_NOPREFIXROUTEAlexander Sverdlin
Fixes second systemd compilation problem against Linux 3.12 uapi headers. IFA_F_NOPREFIXROUTE is a usual #define appeared in Linux 3.14, so AC_CHECK_DECLS is not necessary.
2015-04-08sd-rtnl: properly size attribute array if IFA_FLAGS was missingLennart Poettering
2015-04-08po: update French translationSylvain Plantefève
Add strings introduced by 5bdf22430e367799dfa66c724144b624c5479518
2015-04-08remove duplicated includesRonny Chevalier
2015-04-08timedatectl: trim --help output to 80 charsRonny Chevalier
2015-04-08zsh-completion: update hostnamectlRonny Chevalier
2015-04-08zsh-completion: add missing -M completion for journalctlRonny Chevalier
2015-04-08zsh-completion: update loginctlRonny Chevalier
2015-04-08test-socket-util: add test for in_addr_to_stringRonny Chevalier
2015-04-07configure: sign-compare is part of extraThomas Hindoe Paaboel Andersen
Remove sign-compare as we already get it from extra
2015-04-07device: remove unused null checkThomas Hindoe Paaboel Andersen
We dereference the variable right before the null check. We never reach this point with a null value anyway so let's just remove it.
2015-04-07logind: drop "interactive" parameter from SetRebootToFirmwareSetup() bus callLennart Poettering
Newer dbus versions have an "allow interactive authentication" bit in the message header, hence it is not necessary to take a boolean for this explicitly.
2015-04-07update TODOLennart Poettering
2015-04-07missing.h: define IFA_FLAGS if it is missingLennart Poettering
2015-04-07test-util: don't mix declarations and codeThomas Hindoe Paaboel Andersen
2015-04-07update TODOLennart Poettering
2015-04-07socket: minor modernizationsLennart Poettering
2015-04-07logind,systemctl: add reboot to EFI firmware supportJan Janssen
2015-04-07update TODOLennart Poettering
2015-04-07man: fix typos in machinectlRichard Maw
The s/now/not/ unfortunately inverted the meaning.
2015-04-07man: Resolve how to refer to derived names for machinectl containersRichard Maw
"the name it is" is clumsy english, and since the most recently referred to thing was a name anyway we can just leave the "it is". This matches later uses in the same document.
2015-04-07update TODOLennart Poettering
2015-04-07timedatectl: avoid specifically referring to NTPLennart Poettering
systemd-timesyncd not only does NTP, but also manages clock monotonicity using a flags file. In future, it might learn PTP support. Hence don't expose its enablement state as "NTP" but use the more generic term "network time synchronization". After all, for similar reasons systemd-timesyncd is not called systemd-ntpd.
2015-04-07man: update timedatectl(1)'s examplesLennart Poettering
The output didn't match what we output these days. Also, "set-ntp" cannot be used to control chronyd anymore.
2015-04-07man: document in timedatectl(1) that the NTP state shown reflects whether ↵Lennart Poettering
timesyncd is enabled
2015-04-07path-util: fix more path_is_mount e792e890f falloutLennart Poettering
2015-04-07update TODOLennart Poettering
2015-04-07man: document default timeouts and start limit parametersLennart Poettering
2015-04-07polkit: rename bus_verify_polkit() to bus_test_polkit() and make it strictly ↵Lennart Poettering
non-interactive Interactive authorization should only happen asynchronously, hence disallow it in synchronous bus_verify_polkit(), and rename it to bus_test_polkit(). This way even if the bus message header asks for interactive authorization, we'll ask for non-interactive authorization which is actually the desired behaviour if CanSuspend, CanHibernate and friends, which call this function.
2015-04-07util: rework cunescape(), improve error handlingLennart Poettering
Change cunescape() to return a normal error code, so that we can distuingish OOM errors from parse errors. This also adds a flags parameter to control whether "relaxed" or normal parsing shall be done. If set no parse failures are generated, and the only reason why cunescape() can fail is OOM.
2015-04-07core: fix mount setup to work with non-existing mount pointsDavid Herrmann
We must not fail on ENOENT. We properly create the mount-point in mount-setup, so there's really no reason to skip the mount. Make sure we just skip the mount on unexpected failures or if it's already mounted.
2015-04-07device: fix sysattr newline cutterDavid Herrmann
Right now, we always drop the last character of all values we write to sysfs. Fix this!
2015-04-07udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETERHans de Goede
input_id already (tries to) tag accelerometers as such, but this only works for absolute accelerometers. Recent kernels mark accelerometers through an input prop. Trust that prop and always tag devices with it with ID_INPUT_ACCELEROMETER. Note that detection by the prop bit works the same as the existing detection and will ensure that no other tags get set on the device.
2015-04-07udev: input_id: tag pointing sticks as ID_INPUT_POINTINGSTICKPeter Hutterer
Also referred to as trackpoint, trackstick. These are marked by recent kernels through an input prop. Forward that prop as udev property so userspace can easily determine whether there is a pointing stick present. These devices were previously marked as ID_INPUT_MOUSE, for backwards compatibility we keep that in place, the new property is an addition.
2015-04-07core: mount-setup: handle non-existing mountpoints gracefullyDaniel Mack
Commit e792e890f ("path-util: don't eat up ENOENT in path_is_mount_point()") changed path_is_mount_point() so it doesn't hide -ENOENT from its caller. This causes all boots to fail early in case any of the mount points does not exist (for instance, when kdbus isn't loaded, /sys/fs/kdbus is missing). Fix this by returning 0 from mount_one() if path_is_mount_point() returned -ENOENT.
2015-04-06build-sys: fix typoZbigniew Jędrzejewski-Szmek