summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WIP: Add systemctl upgrade-rootbaserock/richardmaw/wip-upgrade-rootRichard Maw2015-05-264-4/+157
|
* WIP: Update missing.hRichard Maw2015-05-262-3/+40
|
* nspawn: Allow : characters in overlay pathsRichard Maw2015-05-261-2/+6
| | | | : characters can be entered with the \: escape sequence.
* nspawn: escape paths in overlay mount optionsRichard Maw2015-05-261-7/+56
| | | | | | Overlayfs uses , as an option separator and : as a list separator. These characters are both valid in file paths, so overlayfs allows file paths which contain these characters to backslash escape these values.
* nspawn: Allow : characters in nspawn --bind pathsRichard Maw2015-05-261-8/+21
| | | | : characters in bind paths can be entered as the \: escape sequence.
* strv: Add strv_split_escapedRichard Maw2015-05-262-2/+7
| | | | | This is to strv_split_quoted as unescape_first_word is to unquote_first_word.
* nspawn: Allow : characters in --tmpfs pathRichard Maw2015-05-261-8/+11
| | | | | | | | This now accepts : characters with the \: escape sequence. Other escape sequences are also interpreted, but having a \ in your file path is less likely than :, so this shouldn't break anyone's existing tools.
* util: Add unescape_first_word()Richard Maw2015-05-262-12/+30
| | | | | | | | | This is a superset of the functionality of unquote_first_word, allowing non-whitespace separators, and doesn't interpret quotes unless UNQUOTE_QUOTES is included in flags. This also adds UNQUOTE_SEPARATOR_SPLIT, which has it return multiple empty strings when there is a span of separator characters.
* 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!).
* build-sys: ship fsck mock in tarballMartin Pitt2015-05-261-0/+1
| | | | Useful for downstream integration test cases.
* test: hostname - test that hostname is truly initializedTom Gundersen2015-05-251-0/+7
| | | | Fixes CID CID 1299638 (use after free).
* nspawn: fix memleakTom Gundersen2015-05-251-1/+1
| | | | | | This was a typo, swapping prefix_root() in place of prefix_roota(). Fixes CID 1299640.
* nspawn: avoid memleakTom Gundersen2015-05-251-11/+4
| | | | | | | Simplify the code a bit, at the cost of potentially duplicating some memory unneccessarily. Fixes CID 1299641.
* nspawn: drop some debugging codeTom Gundersen2015-05-251-10/+0
| | | | | | These have no effect. Fixes CID 1299643.
* import: dkr - avoid NULL-pointer dereferenceTom Gundersen2015-05-251-1/+1
| | | | | | | A malformed manifest could in principle cause a NULL pointer dereference of. Check for this and fail early. Fixes CID 1299642.
* nspawn: make coverity happyTom Gundersen2015-05-251-2/+2
| | | | | | | Rather than checking the return of asprintf() we are checking if buf gets allocated, make it clear that it is ok to ignore the return value. Fixes CID 1299644.
* networkd: fix IFF_UP when ipv6 support is disabledTom Gundersen2015-05-251-14/+17
| | | | | | | Passing ipv6 options (even when they should be noops) caused IFF_UP to fail when ipv6 was supported. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=90103
* swap: use swapon -oKarel Zak2015-05-254-50/+26
| | | | | | | | | | | | | | | | This patch simplify swapon usage in systemd. The command swapon(8) since util-linux v2.26 supports "-o <list>". The idea is exactly the same like for mount(8). The -o specifies options in fstab-compatible way. For systemd it means that it does not have to care about things like "discard" or another swapon specific options. swapon -o <options-from-fstab> For backward compatibility the code cares about "Priority:" swap unit field (for a case when Priority: is set, but pri= in the Options: is missing). References: http://lists.freedesktop.org/archives/systemd-devel/2014-October/023576.html
* build-sys: fix headers installationMarc-Antoine Perennou2015-05-251-1/+1
|
* build-sys: don't dist generated filesMarc-Antoine Perennou2015-05-251-7/+10
| | | | | [tomegun: fix Makefile.am:5675: warning: nodist_systemd_resolved_SOURCES multiply defined in condition ENABLE_RESOLVED]
* build-sys: always include src/boot/efi in tarballsMarc-Antoine Perennou2015-05-251-2/+12
| | | | currently it would only be included if configure was ran with --enable-gnuefi
* shared: generator - correct path to systemd-fsckMike Gilbert2015-05-242-1/+2
| | | | | | | In generated systemd-fsck-root.service. This would break if rootprefix is not /usr/lib/systemd. [tomegun: flesh out commit message]
* nspawn: be verbose about interface namesUmut Tezduyar Lindskog2015-05-241-1/+1
| | | | | | | | | | | Allowed interface name is relatively small. Lets not make users go in to the source code to figure out what happened. --machine=debian-tree conflicts with --machine=debian-tree2 ex: Failed to add new veth \ interfaces (host0, vb-debian-tree): File exists
* 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-231-1/+1
|
* fix typos in systemd-nspawn man pageJonathan Boulle2015-05-231-2/+2
|
* bootctl: ferror must be called before FILE is closedThomas Hindoe Paaboel Andersen2015-05-221-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-221-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.
* sd-bus,sd-event: make public APIsLennart Poettering2015-05-224-30/+52
| | | | | | With the v221 release these APIs should be public, stable APIs, hence let's install their headers by default now, and add their symbols to the .sym file.
* NEWS: fix dateLennart Poettering2015-05-221-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
|