summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-20units: apply plymouth warning fix to in rescue mode as well (#5615)Daniel Molkentin
Follow up for #5528.
2017-03-20man: change /lib to /usr/lib (#5618)Lucas Werkmeister
Per man:file-hierarchy(7), /lib is just a compatibility symlink; the other manpages also refer to /usr/lib. Found with: git grep -P '(?<!/usr|/var|local)/lib' man/
2017-03-20systemctl: fix broken vertical lines in list-dependencies --all (#5608)Felix Zhang
2017-03-20rules: allow SPARC vdisk devices when identifying CD drives (#5599)John Paul Adrian Glaubitz
2017-03-19Updated Swedish translation (#5614)hanklank
2017-03-17units: do not throw a warning in emergency mode if plymouth is not installed ↵Daniel Molkentin
(#5528) Ideally, plymouth should only be referenced via dependencies, not ExecStartPre's. This at least avoids the confusing error message on minimal installations that do not carry plymouth.
2017-03-16Merge (¾ of) pull request #5596 from matijaskala/masterZbigniew Jędrzejewski-Szmek
2017-03-15base-filesystem: skip fchownat() if the previous mkdirat() on same path ↵Djalal Harouni
failed (#5548) If we are working on a path that was marked to be ignored on errors, and the mkdirat() fails then add a continue statement and skip fchownat() call. This avoids the case where UID/GID are valid and we run fchownat() on non existent path which will fail hard even on paths that we want to ignore in case of errors.
2017-03-16check for _POSIX_C_SOURCE instead of __USE_POSIX*Matija Skala
check for _GNU_SOURCE as well as sd_event_child_handler_t needs to be defined correctly while compiling systemd
2017-03-16assigning stdout and stderr is not allowedMatija Skala
2017-03-15man: Fix a simple grammar error in systemd.service.xml (#5594)AlexanderKurtz
2017-03-15fix includesMatija Skala
linux/sockios.h is needed for the SIOCGSTAMPNS macro xlocale.h is included indirectly in glibc and doesn't even exist in other libcs
2017-03-14build-sys: make RPM macros installation path configurable (#5564)steelman
--with-rpmmacrosdir=no disables installation of the macros.
2017-03-14man: Document when pam_systemd sets XDG_RUNTIME_DIR (#5570)Adrian Heine né Lang
https://github.com/systemd/systemd/blob/f97b34a6/src/login/pam_systemd.c#L439
2017-03-14machinectl: don't return 1 in case we couldn't figure out container IP ↵Michal Sekletar
addresses (#5587) This is in spirit very similar to commit 4b2419165ce409ee55ce96a926302f89685f2293. Fixes: #5581
2017-03-14Never call unmap with MAP_FAILED. (#5590)Tobias Stoeckmann
When mmap is called, the code in correctly checks for p == MAP_FAILED. But the resource cleanup at the end of busname_peek_message checks for p == NULL, and if that's not true, munmap is called. Therefore in error case, munmap is called with a MAP_FAILED argument which can result in unexpected behaviour depending on sz's value. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2017-03-13journal: prevent integer overflow while validating header (#5569)Tobias Stoeckmann
It is possible to overflow uint64_t while validating the header of a journal file. To prevent this, the addition itself is checked to be within the limits of UINT64_MAX first. To keep this readable, I have introduced two stack variables which hold the converted values during validation.
2017-03-13Merge pull request #5571 from keszybz/tarball-generation-tweaksMartin Pitt
Tarball generation tweaks
2017-03-13headers: check that __INCLUDE_LEVEL__ is defined before using it (#5575)Zbigniew Jędrzejewski-Szmek
That macro is a gcc extension, and while widely supported, not ubiquitous. In particular the coverity scanner is having trouble with it.
2017-03-13README: include small graphs of open issues and pull requests (#5576)Zbigniew Jędrzejewski-Szmek
2017-03-12resolve: add missing space in output message (#5574)Yu Watanabe
2017-03-11build-sys: add helper command to sign tarballsZbigniew Jędrzejewski-Szmek
2017-03-11build-sys: simplify git tar invocationZbigniew Jędrzejewski-Szmek
git is nowadays nice enough to compress based on the output file suffix, let's make use of that.
2017-03-11build-sys: make more targets .PHONYZbigniew Jędrzejewski-Szmek
2017-03-10Fix typo in function name (#5565)Michal Sekletar
2017-03-09hwdb: Add new quirk type to documentationBastien Nocera
Missed in b698b5c.
2017-03-09Merge pull request #5560 from hadess/keyboard-ledsZbigniew Jędrzejewski-Szmek
hwdb: Add property for keyboards without LEDs
2017-03-09hwdb: Add property for keyboards without LEDsBastien Nocera
It is useful for desktop environments to be able to show Caps-Lock or Num-Lock status changes as an on-screen display when using a keyboard that doesn't have LEDs for this. Closes: #5559
2017-03-09hwdb: Better documentation for keyboard quirksBastien Nocera
Split up the device matching explanation, and add documentation for the fixed layout quirk.
2017-03-08build-sys: only install legacy *.pkla files with old polkit versions (#5555)Martin Pitt
The legacy *.pkla files are not required when running against polkit ≥ 106, and we want to avoid shipping files in /var if possible (but pkla files can only be in /etc/ or /var). Only install the *.pkla files if we detect an old polkit version during configure. Don't install them if polkit isn't installed during build, as distributions other than Debian-based ones have moved to the new polkit long ago. Fixes #5523
2017-03-08man: fix typo (#5556)Torstein Husebø
2017-03-07docs: use https in the mailing list urlAsciiWolf
2017-03-07docs: add a note about reporting security vulns (#5541)Zbigniew Jędrzejewski-Szmek
We *do* have the occasional security issue, where it would be nice to have non-public disclosure and time to fix the issue before it's fully public. Our github infrastracture does not make it easy to report vulnerabilities in confidential manner, so let's leverage the distro mechanisms for that. I think we're better off with this solution than leaving it up to individual reporters to discover some mechanism on their own.
2017-03-07rules: set ID_BUS=bluetooth for any device with id/bustype attr of 0x0005 ↵Peter Hutterer
(#5539) Not all bluetooth devices come through the bluetooth subsystem and those that don't currently lack the ID_BUS=bluetooth env. This again fails to apply udev rules and/or hwdb entries that rely on the bluetooth bustype to be set. Fix this by checking the attribute id/bustype on the device instead of just the subsystem. Fixes #4566
2017-03-07sd-bus: drop kdbus-related docs (#5533)AsciiWolf
2017-03-07cgtop: use PRIu64 to print uint64_t (#5544)Thomas H. P. Andersen
Commit 59f448cf replaced usage of off_t with uint64_t. Change the format string to use PRIu64 to match it.
2017-03-06Merge pull request #5540 from keszybz/coredump-eof-fixDjalal Harouni
coredump: fix handling of premature-eof for --backtrace
2017-03-05coredump: fix handling of premature-eof data for --backtraceZbigniew Jędrzejewski-Szmek
We'd fail with an assert in journal_importer_process_data(), because that function requires the caller to handle EOF themselves.
2017-03-05Merge pull request #5525 from martinpitt/khash-notsuppDjalal Harouni
test: skip instead of fail if crypto kmods are not available
2017-03-05import: bump image size safety limit for machinectl pull (#5535)Dax Kelson
We currenly use 40GB images in our environment
2017-03-04Merge pull request #5510 from phomes/accel-hwdbhadess
hwdb: quirks for accelerometers in HP laptops
2017-03-03hwdb: quirks for accelerometers in HP laptopsThomas Hindoe Paaboel Andersen
This patch adds quirks for the two laptops I could test on (8540w and 8560w). The accelerometer is configured in the kernel to report values according to the base of the laptop. We want the values according to the screen instead. It is likely (but untested) to match all HP laptops with the lis3lv02d accelerometer on this list: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/hp_accel.c#n207
2017-03-03rules: allow quirks for platform input accelerometersThomas Hindoe Paaboel Andersen
2017-03-03test: skip instead of fail if crypto kmods are not availableMartin Pitt
Package build machines may have module loading disabled, thus AF_ALG sockets are not available. Skip the tests that cover those (khash and id128) instead of failing them in this case. Fixes #5524
2017-03-02Avoid strict DM interface version dependencies (#5519)Michael Biebl
Compiling against the dm-ioctl.h header as provided by the Linux kernel will embed the DM interface version number. Running an older kernel can result in an error like this on shutdown: Could not detach DM dm-11: ioctl mismatch, kernel(4.34.4), user(4.35.4) Work around this by shipping a local copy of dm-ioctl.h. We need at least the version from 3.13 for DM_DEFERRED_REMOVE [1], so bump the requirements in README accordingly. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2c140a246dc0bc085b98eddde978060fcec1080c Fixes: #5492
2017-03-02build-sys: do not require everything to be rebuild to push man pages (#5521)Zbigniew Jędrzejewski-Szmek
When the doc-sync target was created, we didn't have man target yet.
2017-03-02Merge pull request #5515 from glaubitz/masterLennart Poettering
Refine sub-architecture detection in basic/architecture
2017-03-02basic/architecture: Add sub-architecture types for SuperHJohn Paul Adrian Glaubitz
On SuperH, there are multiple sub-architectures defined with different values for LIB_ARCH_TUPLE. The different sub- architectures can be detected by checking whether __SH1__, __SH2__, __SH3__, __SH4__, and so on are defined.
2017-03-02basic/architecture: Properly set LIB_ARCH_TUPLE for powerpcspeJohn Paul Adrian Glaubitz
On powerpc, there are two possible ABIs and hence values for LIB_ARCH_TUPLE. The convential type with an FPU and the embedded variant, called powerpcspe, which does not have a convential FPU but a special Signal Processing Engine (SPE). The latter can be detected by checking whether __NO_FPRS__ is defined.
2017-03-02basic/architecture: Properly set LIB_ARCH_TUPLE for x32John Paul Adrian Glaubitz
On x86_64, there are two possible ABIs and hence values for LIB_ARCH_TUPLE. The convential 64-bit type and the 32-bit variant, called x32. The latter can be detected by checking whether __ILP32__ is defined.