aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sd-device: fix device_get_properties_strv()gentoo-220Tom Gundersen2015-05-271-1/+1
| | | | | | | | | A NULL pointer was inserted as the first element of the strv. This had the effect of always passing the empty environment to processes spawned by udev. Reported by Michał Bartoszkiewicz.
* udevd: fix SIGCHLD handling in --daemon modeTom Gundersen2015-05-271-11/+22
| | | | We were listening for SIGCHLD in the wrong process.
* missing: add more IFLA_VXLAN_* definesMichael Olbrich2015-05-272-3/+10
| | | | Otherwise building faild with kernel headers < v3.16
* logind: unlink /run/nologin when shutdown is cancelledDaniel Mack2015-05-271-0/+5
| | | | | When a scheduled is cancelled, make sure to remove /run/nologin. This is a regression from the recent shutdownd removal and logind rework.
* udev: fix inotify handlingDavid Herrmann2015-05-261-1/+0
| | | | | | | | | | | | | | This partly reverts: commit 6d1b1e0bc6bd020218afc5f05286bf372be283d5 Author: Tom Gundersen <teg@jklm.no> Date: Sun May 24 15:10:04 2015 +0200 udevd: worker - fully clean up unnecessary fds The inotify-fd _is_ used in the workers, so don't close it! Have a look at udev-watch.c, which keeps track of the inotify-fd as a global variable (ugh!).
* Correct path to systemd-fsck in generated systemd-fsck-root.serviceMike Gilbert2015-05-241-1/+1
|
* udevd: event - fix event queue in daemenozied modeTom Gundersen2015-05-241-3/+4
| | | | | | | | We would enforce that events could only be added to the queue from the main process, but that brake in daemonized mode. Relax the restriction to only allow one process to add events to the queue. Reported by Mantas Mikulėnas.
* udevd: worker - modernize a bitTom Gundersen2015-05-241-11/+7
| | | | Initialize structs when declaring rather than using memzero().
* udevd: worker - fully clean up unnecessary fdsTom Gundersen2015-05-241-1/+5
| | | | These are only ever used in the parent process, so close them early in the worker.
* bootctl: fix an error checkThomas Hindoe Paaboel Andersen2015-05-241-1/+1
|
* bootctl: ferror must be called before FILE is closedThomas Hindoe Paaboel Andersen2015-05-241-9/+7
| | | | Otherwise it will not show any error stored
* udev/net_id: Only read the first 64 bytes of PCI config spaceJason S. McMullan2015-05-241-4/+5
| | | | | | | | | | | | | | | | The original code used fread(), which on some libc implementions (ie glibc 2.17) would pre-read a full 4K (PAGE_SIZE) of the PCI config space, when only 64 bytes were requested. I have recently come across PCIe hardware which responds with Completion Timeouts when accesses above 256 bytes are attempted. This can cause server systems with GHES/AEPI support to cause and immediate kernel panic due to the failed PCI transaction. This change replaces the buffered fread() with an explict unbuffered read() of 64 bytes, which corrects this issue by only reading the guaranteed first 64 bytes of PCIe config space.
* NEWS: fix dateLennart Poettering2015-05-241-1/+1
| | | | | Ah, bummer, it's tagged an now I realize I didn't fix the date. Let's do so now, post-commit.
* json: minor style fixesv220Lennart Poettering2015-05-215-28/+39
|
* test.json: fix build on x86-32 where int and intmax_t differLennart Poettering2015-05-211-1/+1
|
* update hardware databasesLennart Poettering2015-05-213-377/+2540
|
* build-sys: fix build with seperate builddirLennart Poettering2015-05-211-0/+12
| | | | Let's make sure we can build rpms with this
* manager: fix finish_timestamp calculationLennart Poettering2015-05-211-0/+6
| | | | http://lists.freedesktop.org/archives/systemd-devel/2015-May/032100.html
* update TODOLennart Poettering2015-05-211-4/+0
|
* bus-proxy: fix GetConnectionSELinuxSecurityContext() return valueLennart Poettering2015-05-211-1/+10
|
* nspawn: prohibit access to the kernel log buffer by defaultLennart Poettering2015-05-211-9/+10
| | | | Unless CAP_SYSLOG is explicitly passed block all access to kmg
* device: never act on mount events for devices if device support is not availableLennart Poettering2015-05-211-0/+3
|
* core: properly handle jobs that are suppressed to JOB_NOPs when propagating ↵Lennart Poettering2015-05-211-1/+6
| | | | restarts
* NEWS: add note about gudevDavid Herrmann2015-05-211-0/+9
| | | | | | gudev has been extracted into a separate repository managed by the gnome project. See the announcement thread on systemd-devel for more: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032070.html
* NEWS: fix sd-boot to systemd-bootDavid Herrmann2015-05-211-3/+3
| | | | | We renamed sd-boot to systemd-boot directly after merging it, to stay conform to all the other systemd binaries.
* NEWS: fix typo and expand abbreviationZbigniew Jędrzejewski-Szmek2015-05-211-2/+2
|
* NEWS: document the IPForward= confusionLennart Poettering2015-05-211-1/+14
|
* tmpfiles: create /etc/resolv.conf symlink only on bootZbigniew Jędrzejewski-Szmek2015-05-211-1/+1
| | | | | | | | | | We will create the symlink on boot as a fallback to provide name resolution. But if the symlink was removed afterwards, it most likely should not be recreated. Creating it only on boot also solves the issue where it would be created prematurely during installation, before the system was actually booted. https://bugzilla.redhat.com/show_bug.cgi?id=1197204
* build-sys: bump library and package versionsLennart Poettering2015-05-212-4/+4
|
* update TODOLennart Poettering2015-05-211-2/+0
|
* util: an array with one entry is always orderedLennart Poettering2015-05-211-1/+1
|
* util: introduce PERSONALITY_INVALID as macro for 0xffffffffLULennart Poettering2015-05-215-11/+15
|
* NEWS: start collecting items for v220Lennart Poettering2015-05-211-0/+207
|
* nspawn: finish user namespace supportLennart Poettering2015-05-2110-654/+971
|
* update TODOLennart Poettering2015-05-211-2/+6
|
* udev: link-config - fix corruptionTom Gundersen2015-05-212-7/+8
| | | | | | | | The parser used for MTU and Speed expects them to be size_t, not unsigned int. This caused a corruption in the rest of the structure. Reported by David O Neill <david.m.oneill@intel.com>.
* hwdb: add MS Arc Touch Mouse SEPeter Hutterer2015-05-211-0/+4
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=90540
* sd-device: fix return codes on errorZbigniew Jędrzejewski-Szmek2015-05-202-6/+6
| | | | asprintf() does not set errno.
* json: avoid cleanup of unitialized variableZbigniew Jędrzejewski-Szmek2015-05-201-1/+1
|
* units: conditionalize audit multicast socket on CAP_AUDIT_READLennart Poettering2015-05-201-0/+1
| | | | | The multicast logic can only work if the capability is available, hence require it.
* util: introduce reset_uid_gid() for resetting all uids and gids to 0Lennart Poettering2015-05-202-10/+17
|
* journald: handle more gracefully when bind() fails on audit socketsLennart Poettering2015-05-201-3/+8
|
* core,nspawn: unify code that moves the root dirLennart Poettering2015-05-204-33/+23
|
* TODO: add --merge support for sd-j-remoteZbigniew Jędrzejewski-Szmek2015-05-191-1/+3
|
* bootctl: try to catch all errorsZbigniew Jędrzejewski-Szmek2015-05-191-22/+46
| | | | Do not print garbage on non-EFI installations.
* bootctl: modernizationZbigniew Jędrzejewski-Szmek2015-05-193-562/+306
| | | | | | | | | | | | | Use strjoina to avoid error handling, and openat to simplify things. Some fixes on the way: - ferror does not set errno, so the return value was wrong in some cases - errors are propagated in more cases - EFI/systemd was created, but EFI/systemd-boot was deleted - something is always printed on error - when checking the version, comparison was done against "systemd-bo" for some reason - return value was converted from negative to EXIT_SUCCESS/EXIT_FAILURE twice, resulting in EXIT_SUCCESS all the time
* bus-socket: simplify initalization of struct msghdrZbigniew Jędrzejewski-Szmek2015-05-191-12/+8
|
* hwdb: add Logitech M570 trackballPeter Hutterer2015-05-201-0/+4
| | | | | http://www.logitech.com/en-us/product/wireless-trackball-m570#specs https://bugzilla.redhat.com/show_bug.cgi?id=1217881
* json: fix a mem leakThomas Hindoe Paaboel Andersen2015-05-192-4/+2
|
* update TODOLennart Poettering2015-05-191-3/+0
|