Jeff Huang [Fri, 12 Feb 2016 03:47:11 +0000 (11:47 +0800)]
Update zh_TW translation.
Zbigniew Jędrzejewski-Szmek [Fri, 12 Feb 2016 02:58:46 +0000 (21:58 -0500)]
Merge pull request #2590 from zonque/bus-endpoint-removal
Remove kdbus custom endpoint support
Zbigniew Jędrzejewski-Szmek [Fri, 12 Feb 2016 02:47:54 +0000 (21:47 -0500)]
Merge pull request #2592 from mbiebl/typo-fixes
Typo fixes
Michael Biebl [Thu, 11 Feb 2016 23:26:37 +0000 (00:26 +0100)]
Typo fixes
Michael Biebl [Thu, 11 Feb 2016 23:19:51 +0000 (00:19 +0100)]
Merge pull request #2591 from jwilk/spelling
man: fix typos
Jakub Wilk [Thu, 11 Feb 2016 23:01:16 +0000 (00:01 +0100)]
man: fix typos
Daniel Mack [Thu, 11 Feb 2016 21:12:04 +0000 (22:12 +0100)]
Remove kdbus custom endpoint support
This feature will not be used anytime soon, so remove a bit of cruft.
The BusPolicy= config directive will stay around as compat noop.
Lennart Poettering [Thu, 11 Feb 2016 19:38:03 +0000 (20:38 +0100)]
Merge pull request #2587 from haraldh/tpmv3
sd-boot: put hashed kernel command line in a PCR of the TPM
Zbigniew Jędrzejewski-Szmek [Thu, 11 Feb 2016 18:17:42 +0000 (13:17 -0500)]
Merge pull request #2588 from phomes/core-enum-fix
core: use correct enum
Thomas Hindoe Paaboel Andersen [Thu, 11 Feb 2016 18:02:54 +0000 (19:02 +0100)]
Harald Hoyer [Wed, 3 Feb 2016 16:39:24 +0000 (17:39 +0100)]
sd-boot: put hashed kernel command line in a PCR of the TPM
The UEFI BIOS already hashes the contents of the loaded image, so the
initrd and the command line of the binary are recorded.
Because manually added LoadOptions are not taken into account, these
should be recorded also.
This patch logs and extends a TPM PCR register with the LoadOptions.
This feature can be enabled with configure --enable-tpm
The PCR register index can be specified with
configure --with-tpm-pcrindex=<NUM>
Lennart Poettering [Thu, 11 Feb 2016 16:28:00 +0000 (17:28 +0100)]
configure: bump version number
Lennart Poettering [Thu, 11 Feb 2016 15:25:54 +0000 (16:25 +0100)]
delta: minor coding style fixes
no change in behaviour
Lennart Poettering [Thu, 11 Feb 2016 15:25:22 +0000 (16:25 +0100)]
man: document that resolved cares about /etc/hosts
Lennart Poettering [Thu, 11 Feb 2016 12:55:59 +0000 (13:55 +0100)]
Merge pull request #2581 from evverx/dev-mqueue-cond
units: don't try to mount the mqueue fs if we lack the privileges for it
Martin Pitt [Thu, 11 Feb 2016 12:29:53 +0000 (13:29 +0100)]
Merge pull request #2576 from poettering/random-fixes
Random fixes
Lennart Poettering [Thu, 11 Feb 2016 12:16:39 +0000 (13:16 +0100)]
build-sys: bump so version
Lennart Poettering [Thu, 11 Feb 2016 12:11:02 +0000 (13:11 +0100)]
build-sys: run "make hwdb-update"
Lennart Poettering [Thu, 11 Feb 2016 12:02:35 +0000 (13:02 +0100)]
fill in contributors list in NEWS
Lennart Poettering [Wed, 10 Feb 2016 22:39:31 +0000 (23:39 +0100)]
core: don't choke if a unit another unit triggers vanishes during reload
Fixes: #1981
Daniel Mack [Thu, 11 Feb 2016 09:22:25 +0000 (10:22 +0100)]
Merge pull request #2579 from evverx/TEST-1981
tests: add test for https://github.com/systemd/systemd/issues/1981
Daniel Mack [Thu, 11 Feb 2016 09:22:05 +0000 (10:22 +0100)]
Merge pull request #2578 from keszybz/man-pages
man: follow up fixes for #2575
Evgeny Vereshchagin [Thu, 11 Feb 2016 02:45:11 +0000 (02:45 +0000)]
units: don't try to mount the mqueue fs if we lack the privileges for it
See https://github.com/systemd/systemd/pull/2576#discussion-diff-
52592680
Zbigniew Jędrzejewski-Szmek [Thu, 11 Feb 2016 00:49:40 +0000 (19:49 -0500)]
man: follow up fixes for #2575
Zbigniew Jędrzejewski-Szmek [Thu, 11 Feb 2016 00:49:14 +0000 (19:49 -0500)]
Merge pull request #2575 from poettering/manfixes
A variety of man page fixes
Lennart Poettering [Wed, 10 Feb 2016 21:02:33 +0000 (22:02 +0100)]
man: correct explanation of "systemctl is-enabled" output
The "is-enabled" command doesn't care whether the symlinks are declared in the
[Install] section of a unit file or not, when returning "enabled". Any alias,
.wants/ or .requires/ symlinks suffice.
Fixes: #975
Lennart Poettering [Wed, 10 Feb 2016 20:52:40 +0000 (21:52 +0100)]
man: document that ExecStartPost= is only run if ExecStart= succeeded
Fixes: #846
Lennart Poettering [Wed, 10 Feb 2016 20:47:07 +0000 (21:47 +0100)]
man: document that "systemctl enable" supports abbreviated unit file names
Fixes: #1502
Lennart Poettering [Wed, 10 Feb 2016 20:43:34 +0000 (21:43 +0100)]
man: document that nss-myhostname handles *.localhost and *.localdomain too
(And similar for resolved)
Fixes: #1630
Lennart Poettering [Wed, 10 Feb 2016 20:39:36 +0000 (21:39 +0100)]
man: document that [Install] has no effect in unit file .d/*.conf drop-ins
Fixes: #1774
Fixes: #1090
Lennart Poettering [Wed, 10 Feb 2016 20:30:25 +0000 (21:30 +0100)]
man: document distinction between ConditionXYZ= and AssertXYZ=
References: #2468
Lennart Poettering [Wed, 10 Feb 2016 20:29:45 +0000 (21:29 +0100)]
man: document rescue.target and emergency.target in more detail
Fixes: #2523
Lennart Poettering [Wed, 10 Feb 2016 22:02:53 +0000 (23:02 +0100)]
units: don't try to mount the FUSE fs if we lack the privileges for it
See:
https://lists.freedesktop.org/archives/systemd-devel/2016-February/035740.html
Lennart Poettering [Wed, 10 Feb 2016 21:58:41 +0000 (22:58 +0100)]
nss-mymachines: never resolve unmapped UIDs/GIDs
Don't ever permit successful user or group lookups if no UID/GID mapping is
actually applied. THis way, we can be sure that nss-mymachines cannot be used
to insert invalid cache entries into nscd's cache.
https://bugzilla.redhat.com/show_bug.cgi?id=1285339
Lennart Poettering [Wed, 10 Feb 2016 21:54:33 +0000 (22:54 +0100)]
update TODO
Evgeny Vereshchagin [Wed, 10 Feb 2016 18:13:14 +0000 (18:13 +0000)]
build-sys: add TEST-06-SELINUX to dist
This is a follow-up to https://github.com/systemd/systemd/pull/2493
Evgeny Vereshchagin [Mon, 23 Nov 2015 17:56:45 +0000 (17:56 +0000)]
tests: add test for https://github.com/systemd/systemd/issues/1981
Lennart Poettering [Wed, 10 Feb 2016 16:03:00 +0000 (17:03 +0100)]
Merge pull request #2574 from zonque/netclass-remove
cgroup: remove support for NetClass= directive
Lennart Poettering [Wed, 10 Feb 2016 15:53:49 +0000 (16:53 +0100)]
Merge pull request #2495 from heftig/master
tty-ask-password: Split out password sending
Lennart Poettering [Wed, 10 Feb 2016 15:50:21 +0000 (16:50 +0100)]
Merge pull request #2555 from poettering/coredump-fixes
Coredump fixes and more
Daniel Mack [Wed, 10 Feb 2016 14:44:01 +0000 (15:44 +0100)]
cgroup: remove support for NetClass= directive
Support for net_cls.class_id through the NetClass= configuration directive
has been added in v227 in preparation for a per-unit packet filter mechanism.
However, it turns out the kernel people have decided to deprecate the net_cls
and net_prio controllers in v2. Tejun provides a comprehensive justification
for this in his commit, which has landed during the merge window for kernel
v4.5:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=
bd1060a1d671
As we're aiming for full support for the v2 cgroup hierarchy, we can no
longer support this feature. Userspace tool such as nftables are moving over
to setting rules that are specific to the full cgroup path of a task, which
obsoletes these controllers anyway.
This commit removes support for tweaking details in the net_cls controller,
but keeps the NetClass= directive around for legacy compatibility reasons.
Lennart Poettering [Wed, 10 Feb 2016 15:34:11 +0000 (16:34 +0100)]
update NEWS
Lennart Poettering [Mon, 8 Feb 2016 22:56:30 +0000 (23:56 +0100)]
core: treat JobTimeout=0 as equivalent to JobTimeout=infinity
Corrects an incompatibility introduced with
36c16a7cdd6c33d7980efc2cd6a2211941f302b4.
Fixes: #2537
Lennart Poettering [Mon, 8 Feb 2016 22:54:54 +0000 (23:54 +0100)]
core: simplify how we parse TimeoutSec=, TimeoutStartSec= and TimeoutStopSec=
Let's make things more obvious by placing the parse_usec() invocation directly in config_parse_service_timeout().
Lennart Poettering [Mon, 8 Feb 2016 22:39:40 +0000 (23:39 +0100)]
update TODO
Lennart Poettering [Mon, 8 Feb 2016 22:35:24 +0000 (23:35 +0100)]
coredump: dump priviliges when processing system coredumps
Let's add an extra-safety net and change UID/GID to the "systemd-coredump" user when processing coredumps from system
user. For coredumps of normal users we keep the current logic of processing the coredumps from the user id the coredump
was created under.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=87354
Lennart Poettering [Mon, 8 Feb 2016 21:30:58 +0000 (22:30 +0100)]
core: set RLIMIT_CORE to unlimited by default
The kernel sets RLIMIT_CORE to 0 by default. Let's bump this to unlimited by
default (for systemd itself and all processes we fork off), so that the
coredump hooks have an effect if they honour it.
Bumping RLIMIT_CORE of course would have the effect that "core" files will end
up on the system at various places, if no coredump hook is used. To avoid this,
make sure PID1 sets the core pattern to the empty string by default, so that
this logic is disabled.
This change in defaults should be useful for all systems where coredump hooks
are used, as it allows useful usage of RLIMIT_CORE from these hooks again. OTOH
systems that expect that coredumps are placed under the name "core" in the
current directory will break with this change. Given how questionnable this
behaviour is, and given that no common distro makes use of this by default it
shouldn't be too much of a loss. Also, the old behaviour may be restored by
explicitly configuring a "core_pattern" of "core", and setting the default
system RLIMIT_CORE to 0 again via system.conf.
Lennart Poettering [Mon, 8 Feb 2016 21:08:49 +0000 (22:08 +0100)]
coredump: honour RLIMIT_CORE when saving/processing coredumps
With this change processing/saving of coredumps takes the RLIMIT_CORE resource limit of the crashing process into
account, given the user control whether specific processes shall core dump or not, and how large to make the core dump.
Note that this effectively disables core-dumping for now, as RLIMIT_CORE defaults to 0 (i.e. is disabled) for all
system processes.
Lennart Poettering [Mon, 8 Feb 2016 20:16:08 +0000 (21:16 +0100)]
coredump: rework coredumping logic
This reworks the coredumping logic so that the coredump handler invoked from the kernel only collects runtime data
about the crashed process, and then submits it for processing to a socket-activate coredump service, which extracts a
stacktrace and writes the coredump to disk.
This has a number of benefits: the disk IO and stack trace generation may take a substantial amount of resources, and
hence should better be managed by PID 1, so that resource management applies. This patch uses RuntimeMaxSec=, Nice=, OOMScoreAdjust=
and various sandboxing settings to ensure that the coredump handler doesn't take away unbounded resources from normally
priorized processes.
This logic is also nice since this makes sure the coredump processing and storage is delayed correctly until
/var/systemd/coredump is mounted and writable.
Fixes: #2286
Lennart Poettering [Mon, 8 Feb 2016 20:13:09 +0000 (21:13 +0100)]
activate: add a new switch --inetd to enable inetd-style socket activation
Previously, using --accept would enable inetd-style socket activation in addition to per-connection operation. This is
now split into two switches: --accept only switches between per-connection or single-instance operation. --inetd
switches between inetd-style or new-style fd passing.
This breaks the interface of the tool, but given that it is a debugging tool shipped in /usr/lib/systemd/ it's not
really a public interface.
This change allows testing new-style per-connection daemons.
Lennart Poettering [Mon, 8 Feb 2016 18:47:42 +0000 (19:47 +0100)]
activate: minor fixes
Lennart Poettering [Mon, 8 Feb 2016 18:47:06 +0000 (19:47 +0100)]
activate: add new --seqpacket switch for testing SOCK_SEQPACKET sockets
Lennart Poettering [Sun, 7 Feb 2016 17:37:23 +0000 (18:37 +0100)]
resolved: include inttypes.h in resolved-def.h given that we use UINT64_C
Lennart Poettering [Sun, 7 Feb 2016 17:36:57 +0000 (18:36 +0100)]
build-sys: move coredump logic into subdir of its own
Martin Pitt [Wed, 10 Feb 2016 13:01:46 +0000 (14:01 +0100)]
Merge pull request #2569 from zonque/removals
Remove some old cruft
Daniel Mack [Wed, 10 Feb 2016 12:57:37 +0000 (13:57 +0100)]
Merge pull request #2571 from martinpitt/master
NEWS: Various clarification and grammar fixes
Martin Pitt [Wed, 10 Feb 2016 12:55:28 +0000 (13:55 +0100)]
Merge pull request #2570 from zonque/build
configure.ac: Fix help text of --enable-* options
Daniel Mack [Wed, 10 Feb 2016 12:49:58 +0000 (13:49 +0100)]
configure.ac: Fix help text of --enable-* options
Fixes #2567
Martin Pitt [Wed, 10 Feb 2016 12:51:10 +0000 (13:51 +0100)]
NEWS: Various clarification and grammar fixes
Daniel Mack [Wed, 10 Feb 2016 12:26:21 +0000 (13:26 +0100)]
tree-wide: remove Emacs lines from all files
This should be handled fine now by .dir-locals.el, so need to carry that
stuff in every file.
Daniel Mack [Wed, 10 Feb 2016 12:39:48 +0000 (13:39 +0100)]
Merge pull request #2564 from poettering/fix-2467
Fix for #2467
Daniel Mack [Tue, 2 Feb 2016 17:32:09 +0000 (18:32 +0100)]
Makefile.am: remove some relicts
Lennart Poettering [Tue, 9 Feb 2016 18:55:04 +0000 (19:55 +0100)]
util-lib: make sure usec_sub() doesn't degrade USEC_INFINITY
As suggested in: https://github.com/systemd/systemd/pull/2542#issuecomment-
181877820
Lennart Poettering [Tue, 9 Feb 2016 17:38:03 +0000 (18:38 +0100)]
core: make the StartLimitXYZ= settings generic and apply to any kind of unit, not just services
This moves the StartLimitBurst=, StartLimitInterval=, StartLimitAction=, RebootArgument= from the [Service] section
into the [Unit] section of unit files, and thus support it in all unit types, not just in services.
This way we can enforce the start limit much earlier, in particular before testing the unit conditions, so that
repeated start-up failure due to failed conditions is also considered for the start limit logic.
For compatibility the four options may also be configured in the [Service] section still, but we only document them in
their new section [Unit].
This also renamed the socket unit failure code "service-failed-permanent" into "service-start-limit-hit" to express
more clearly what it is about, after all it's only triggered through the start limit being hit.
Finally, the code in busname_trigger_notify() and socket_trigger_notify() is altered to become more alike.
Fixes: #2467
Daniel Mack [Wed, 10 Feb 2016 12:23:23 +0000 (13:23 +0100)]
Merge pull request #2568 from poettering/prepare-229
edit config updates, and a new NEWS file
Lennart Poettering [Wed, 10 Feb 2016 12:16:38 +0000 (13:16 +0100)]
Merge pull request #2563 from 0xAX/timespec_load_nsec-static
time-util: make timespec_load_nsec() static
Alexander Kuleshov [Tue, 9 Feb 2016 08:23:24 +0000 (14:23 +0600)]
time-util: make timespec_load_nsec() static
The timespec_load_nsec() function has no callers outside of the
time-util.c, so we can make it static.
Lennart Poettering [Wed, 10 Feb 2016 11:29:38 +0000 (12:29 +0100)]
NEWS: start putting together a NEWS file for 229
Totally incomplete, but let's get this started.
Lennart Poettering [Wed, 10 Feb 2016 11:27:35 +0000 (12:27 +0100)]
editors: only extend line width to 119 for C and XML files
For all other files leave the line width at 79 as before. This is a good idea
since we generally don't want text files such as catalog files, unit files or
README/NEWS files to be line-broken at 119 since they are regularly browsed on
text terminals.
While we are at it, also add a couple of comments to the various files.
(Note that .editorconfig doesn't carry line-width information, simply because
the specification doesn't know the concept.)
Zbigniew Jędrzejewski-Szmek [Wed, 10 Feb 2016 00:08:16 +0000 (19:08 -0500)]
Merge pull request #2565 from poettering/fix-2315
Lennart Poettering [Tue, 9 Feb 2016 19:47:45 +0000 (20:47 +0100)]
core: clarify which unit file is masked in error message
After all, the masked unit file error might be returned when enqueuing a unit that is not masked but requires a masked
unit. In this case it should really be clear which unit is meant here.
Lennart Poettering [Tue, 9 Feb 2016 19:39:43 +0000 (20:39 +0100)]
man: link resolved bus API documentation from its man page
This is similar how we already do it for logind or machined.
Lennart Poettering [Tue, 9 Feb 2016 19:34:27 +0000 (20:34 +0100)]
units: downgrade dependency on /tmp in basic.target to Wants=
Now that requiring of a masked unit results in failure again, downgrade the dependency on /tmp to Wants= again, so that
our suggested way to disable /tmp-on-tmpfs by masking doesn't result in a failing boot.
References: #2315
Lennart Poettering [Tue, 9 Feb 2016 19:28:58 +0000 (20:28 +0100)]
core: change internal error code for masked units from EBADR to ESHUTDOWN
This commit changes the mapping of the BUS_ERROR_UNIT_MASKED error to ESHUTDOWN. This error is used whenever the
transaction engine is asked to operate on a masked unit. ESHUTDOWN is what is used for the similar case when the unit
file enable/disable logic hits a masked unit file, hence is a natural candidate to be used here too.
Background: before this patch both "job type not applicable" and "unit masked" where mapped to EBADR, which
transaction_add_job_and_dependencies() then checked for. It actually wanted to check exclusively for the former error
condition, not the latter but due to the same mapping this failed to work.
This patch semi-undoes an accidental change made in
caffa4ef700fdd0eadd6c0b2ef9925611672a1bc, however restores the
error number to ESHUTDOWN instead of the original ENOSYS (for the reasons indicated above).
To make this easier to grok for the future, I added comments to explaining which error conditions are checked for.
Fixes: #2315
Lennart Poettering [Tue, 9 Feb 2016 13:15:03 +0000 (14:15 +0100)]
Merge pull request #2561 from msekletar/virtio-blk-by-path
path_id: reintroduce by-path links for virtio block devices
Lennart Poettering [Tue, 9 Feb 2016 12:52:28 +0000 (13:52 +0100)]
Merge pull request #2559 from chaloulo/drop_monotonicity_check_from_journal_file
journal: Drop monotonicity check when appending to journal file
Lennart Poettering [Tue, 9 Feb 2016 12:50:18 +0000 (13:50 +0100)]
Merge pull request #2557 from whot/hwdb-updates
hwdb: add Dell Lattitude E6320 pointing stick speed fix
Michal Sekletar [Tue, 9 Feb 2016 08:57:45 +0000 (09:57 +0100)]
path_id: reintroduce by-path links for virtio block devices
Enumeration of virtio buses is global and hence
non-deterministic. However, we are guaranteed there is never going to be
more than one virtio bus per parent PCI device. While populating
ID_PATH we simply skip virtio part of the syspath and we extend the path
using the sysname of the parent PCI device.
With this patch udev creates following by-path links for virtio-blk
device /dev/vda which contains two partitions.
ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root 9 Feb 9 10:47 virtio-pci-0000:00:05.0 -> ../../vda
lrwxrwxrwx 1 root root 10 Feb 9 10:47 virtio-pci-0000:00:05.0-part1 -> ../../vda1
lrwxrwxrwx 1 root root 10 Feb 9 10:47 virtio-pci-0000:00:05.0-part2 -> ../../vda2
See:
http://lists.linuxfoundation.org/pipermail/virtualization/2015-August/030328.html
Fixes #2501
Klearchos Chaloulos [Tue, 9 Feb 2016 10:14:54 +0000 (12:14 +0200)]
journal: Drop monotonicity check when appending to journal file
Remove the check that triggers rotation of the journal file when the arriving log entry had a monotonic timestamp smaller that the previous log entry. This check causes unnecessary rotations when journal-remote was receiving from multiple senders, therefore monotonicity can not be guaranteed. Also, it does not offer any useful functionality for systemd-journald.
Peter Hutterer [Tue, 9 Feb 2016 07:37:57 +0000 (17:37 +1000)]
hwdb: add Dell Lattitude E6320 pointing stick speed fix
https://bugzilla.redhat.com/show_bug.cgi?id=1200717
Lennart Poettering [Mon, 8 Feb 2016 23:23:47 +0000 (00:23 +0100)]
Merge pull request #2542 from 0xAX/get_ts_delta
time-util: cleanups
Lennart Poettering [Mon, 8 Feb 2016 20:26:39 +0000 (21:26 +0100)]
Merge pull request #2547 from 0xAX/generalize-format-timestamp-internal
time-util: merge format_timestamp_internal() and format_timestamp_int…
Alexander Kuleshov [Thu, 4 Feb 2016 18:02:39 +0000 (00:02 +0600)]
time-util: introduce usec_sub()
The dual_timestamp_from_realtime(), dual_timestamp_from_monotonic()
and dual_timestamp_from_boottime_or_monotonic() shares the same
code for comparison given ts with delta. Let's move it to the
separate inline function to prevent code duplication.
Alexander Kuleshov [Sun, 7 Feb 2016 16:11:46 +0000 (22:11 +0600)]
time-util: merge format_timestamp_internal() and format_timestamp_internal_us()
The time_util.c provides format_timestamp_internal() and
format_timestamp_internal_us() functions for a timestamp formating. Both
functions are very similar and differ only in formats handling.
We can add additional boolean parameter to the format_timestamp_internal()
function which will represent is a format for us timestamp or not.
This allows us to get rid of format_timestamp_internal_us() that is prevent
code duplication.
We can remove format_timestamp_internal_us() safely, because it is static and
has no users outside of the time_util.c. New fourth parameter will be passed
inside of the format_timestamp(), format_timestamp_us() and etc, functions,
but the public API is not changed.
Lennart Poettering [Mon, 8 Feb 2016 16:27:18 +0000 (17:27 +0100)]
Merge pull request #2535 from PhillipSz/remove-exit-0
test: remove exit 0 at the end
Lennart Poettering [Mon, 8 Feb 2016 15:31:09 +0000 (16:31 +0100)]
Merge pull request #2533 from keszybz/read-only-seed
random-seed: provide nicer error message when unable to open file
Lennart Poettering [Mon, 8 Feb 2016 15:27:33 +0000 (16:27 +0100)]
Merge pull request #2549 from rhatdan/journalctl
Journalctl command completion should show machines
Lennart Poettering [Mon, 8 Feb 2016 15:26:17 +0000 (16:26 +0100)]
Merge pull request #2550 from evverx/fix-457
tests: fix #457
Dan Walsh [Mon, 8 Feb 2016 12:22:34 +0000 (07:22 -0500)]
Journalctl command completion should show machines
Lennart Poettering [Mon, 8 Feb 2016 11:52:39 +0000 (12:52 +0100)]
Merge pull request #2543 from keszybz/build-sys-and-man-fixes
Build sys and man fixes
Evgeny Vereshchagin [Mon, 8 Feb 2016 11:18:19 +0000 (11:18 +0000)]
tests: fix #457
There are some limits on XFS:
major_max=511
minor_max=262143
see https://github.com/torvalds/linux/blob/master/fs/xfs/xfs_iops.c
if (S_ISCHR(mode) || S_ISBLK(mode)) {
if (unlikely(!sysv_valid_dev(rdev) || MAJOR(rdev) & ~0x1ff))
return -EINVAL;
Zbigniew Jędrzejewski-Szmek [Sun, 7 Feb 2016 14:45:13 +0000 (09:45 -0500)]
Merge pull request #2546 from torstehu/fix-typo3
treewide: fix typos and spacing
Zbigniew Jędrzejewski-Szmek [Sun, 7 Feb 2016 14:43:32 +0000 (09:43 -0500)]
Merge pull request #2536 from vcaputo/journal-misc-cleanups
journal: miscellaneous cleanups
Zbigniew Jędrzejewski-Szmek [Sun, 7 Feb 2016 14:33:49 +0000 (09:33 -0500)]
Merge pull request #2541 from mgorny/append-flags-fix
build-sys: Perform flag tests in context of existing flags
Torstein Husebø [Wed, 13 Jan 2016 13:52:51 +0000 (14:52 +0100)]
treewide: fix typos and spacing
Zbigniew Jędrzejewski-Szmek [Fri, 5 Feb 2016 00:45:08 +0000 (19:45 -0500)]
random-seed: provide nicer error message when unable to open file
If /var is read-only, and the seed file does not exist, we would print
a misleading error message for ENOENT. Print both messages instead, to
make it easy to diagonose.
Also, treat the cases of missing seed file the same as empty seed file
and exit successfully. Initialize the return code properly.
Fixes https://github.com/systemd/systemd/issues/2530,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813599.
Zbigniew Jędrzejewski-Szmek [Sat, 6 Feb 2016 22:54:18 +0000 (17:54 -0500)]
shell-completion: fix header
Zbigniew Jędrzejewski-Szmek [Sat, 6 Feb 2016 22:53:31 +0000 (17:53 -0500)]
man: clarify that generators are run before /var
Just a clarification. At least systemd-openqa-generator from
openqa gets this wrong.
Zbigniew Jędrzejewski-Szmek [Wed, 3 Feb 2016 16:29:04 +0000 (11:29 -0500)]
man/hostnamectl: refer to transient hostname as "fallback"
Saying it is the "default" is misleading, because it is almost
never used.
Zbigniew Jędrzejewski-Szmek [Wed, 3 Feb 2016 16:25:19 +0000 (11:25 -0500)]
man/hostname: remove obsolete text
All distribution-specific code was removed ages ago.