summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-08nspawn: also close uid shift socket in the parentLennart Poettering
We should really close all parent sides of our child/parent socket pairs.
2015-09-08nspawn: short reads do not set errno, hence don't try to print itLennart Poettering
2015-09-08inspawn: switch from SOCK_DGRAM to SOCK_SEQPACKET for internal socketpairsLennart Poettering
SOCK_DGRAM and SOCK_SEQPACKET have very similar semantics when used with socketpair(). However, SOCK_SEQPACKET has the advantage of knowing a hangup concept, since it is inherently connection-oriented. Since we use socket pairs to communicate between the nspawn main process and the nspawn child process, where the child might die abnormally it's interesting to us to learn about this via hangups if the child side of the pair is closed. Hence, let's switch to SOCK_SEQPACKET for these internal communication sockets. Fixes #956.
2015-09-08nspawn: properly propagate errors when we fail to set soemthing upLennart Poettering
2015-09-07Merge pull request #1193 from phomes/typosDaniel Mack
man: typo fixes
2015-09-07man: typo fixesThomas Hindoe Paaboel Andersen
2015-09-07Merge pull request #1191 from poettering/nspawn-splitDaniel Mack
nspawn: split up nspawn.c into multiple smaller .c files
2015-09-07nspawn: sort and clean up included header listLennart Poettering
Let's remove unnecessary inclusions, and order the list alphabetically as suggested in CODING_STYLE now.
2015-09-07nspawn: remove nspawn.h, it's empty nowLennart Poettering
2015-09-07nspawn: split out --uid= logic into nspawn-setuid.[ch]Lennart Poettering
2015-09-07nspawn: split out machined registration code to nspawn-register.[ch]Lennart Poettering
2015-09-07nspawn: split out cgroup related calls into nspawn-cgroup.[ch]Lennart Poettering
2015-09-07nspawn: split out network related code to nspawn-network.[ch]Lennart Poettering
2015-09-07nspawn: split all port exposure code into nspawn-expose-port.[ch]Lennart Poettering
2015-09-07nspawn: split out mount related functions into a new nspawn-mount.c fileLennart Poettering
2015-09-07Merge pull request #1189 from poettering/unit-startDaniel Mack
unit: move "not supported" check after condition check in unit_start()
2015-09-07unit: move "not supported" check after condition check in unit_start()Lennart Poettering
Make sure we always check conditions before checking whether the unit type is supported in unit_start(), since condition checks are "clean errors", while "not supported" errors are fatal. This cleans up the boot output of systemd in containers, where a lot of NOTSUPP lines were shown befor this fix. This partially reverts 8ff4d2ab0d4758e914aea6d86154d85f2b2c787f which reorder the checks.
2015-09-07NEWS: fix typosDaniel Mack
2015-09-07update NEWSLennart Poettering
2015-09-07Merge pull request #1178 from poettering/gpt-auto-fixesDaniel Mack
handle LUKS root partitions better in gpt-auto, plus other fixes
2015-09-07Merge pull request #1183 from dvdhrm/cpenameLennart Poettering
man: clarify wording of os-release.CPE_NAME
2015-09-07Merge pull request #1182 from martinpitt/masterDavid Herrmann
tests: Skip test-cgroup-util test_mask_supported() when not running under systemd
2015-09-07man: clarify wording of os-release.CPE_NAMEDavid Herrmann
We expect the CPE_NAME to be formatted in URI binding syntax. Make that clear in the documentation. Furthermore, the CPE-spec has been taken over by NIST, so adjust the links as well. Reported by: Ben Harris <bjh21@cam.ac.uk>
2015-09-07tests: Skip test-cgroup-util test_mask_supported() when not running under ↵Martin Pitt
systemd Commit 5f4c5fef6 introduced this new test case, but this does not work in build chroots where cgroupfs is not mounted. So skip the test if systemd is not running.
2015-09-07Merge pull request #1181 from evverx/update-systemd-analyze-completionDaniel Mack
shell-completion: update systemd-analyze bash-completion
2015-09-07shell-completion: update systemd-analyze bash-completionEvgeny Vereshchagin
* Change --no-man to --man (see dad29df) * --{from,to}-pattern require arg
2015-09-07Merge pull request #1179 from poettering/sd-event-sigchld-fixTom Gundersen
sd-event: make sure to create a signal queue for the right signal
2015-09-07Merge pull request #1165 from poettering/nspawn-filesTom Gundersen
various fixes to the core, logind, machined, nspawn
2015-09-07sd-event: make sure to create a signal queue for the right signalLennart Poettering
We should never access the "signal" part of the event source unless the event source is actually for a signal. In this case it's a child pid handler however, hence make sure to use the right signal. This is a fix for PR #1177, which in turn was a fix for 9da4cb2be260ed123f2676cb85cb350c527b1492.
2015-09-07systemctl: a number of cleanups regarding error handling in systemctlLennart Poettering
2015-09-07gpt-auto: minor simplificatin handling the no-auto GPT flagLennart Poettering
Let's query the flags only once, and document why we ignore it for the ESP.
2015-09-07gpt-auto: try to handle LUKS root partitions betterLennart Poettering
If the root file system is located on an encrypted root disk, we'll not find the GPT partition table for it. Let's fix that by following the slaves/ symlinks in /sys for the device. We only handle devices having exactly one backing device. Also see: #1167
2015-09-07Merge pull request #1168 from poettering/readme-kernel-versionDaniel Mack
README: bump minimal required kernel version
2015-09-07Merge pull request #1177 from phomes/sd-event-bug-fixDaniel Mack
sd-event: fix call to event_make_signal_data
2015-09-07NEWS: add more content to both the 225 and 226 NEWS sectionLennart Poettering
2015-09-06sd-event: fix call to event_make_signal_dataThomas Hindoe Paaboel Andersen
This looks like a typo from commit 9da4cb2b where it was added.
2015-09-06Merge pull request #1174 from mbiebl/remove-sphinx-leftoverLennart Poettering
build-sys: remove sphinx binary from configure summary
2015-09-06Merge pull request #1176 from piotrdrag/masterLennart Poettering
Updated Polish translation
2015-09-06Updated Polish translationPiotr Drąg
2015-09-06build-sys: remove sphinx binary from configure summaryMichael Biebl
We no longer use sphinx as part of the build process so remove it from the configure summary as well. This is a leftover from commit 2799e519cabb6dfa99341b9a56ebd4dc2a4ec22a.
2015-09-06README: bump minimal required kernel versionLennart Poettering
We generally try to support 2y old kernels, which allows us bump the minimal required version to 3.11 now. Also, clarify that support for the unified cgroup hierarchy requires 4.2 or newer.
2015-09-06Merge pull request #1153 from evverx/dot-alias-handlingLennart Poettering
analyze: add "alias" handling to dot subcommand
2015-09-06analyze: add "alias" handling to dot subcommandEvgeny Vereshchagin
`systemd-analyze dot default.target` works fine
2015-09-06Merge pull request #1159 from AnchorCat/polkit-details/v2Lennart Poettering
Provide unit name and operation in manage-units polkit checks (v2)
2015-09-06Merge pull request #1162 from dvdhrm/bus-recursive-nodesLennart Poettering
sd-bus: make introspection data non-recursive
2015-09-06units: make sure that .nspawn files override the default settings in ↵Lennart Poettering
systemd-nspawn@.service
2015-09-06nspawn: add new .nspawn files for container settingsLennart Poettering
.nspawn fiels are simple settings files that may accompany container images and directories and contain settings otherwise passed on the nspawn command line. This provides an efficient way to attach execution data directly to containers.
2015-09-06Merge pull request #1161 from dvdhrm/include-order2Lennart Poettering
CODING_STYLE: mandate alphabetical include order (v2)
2015-09-05Merge pull request #1160 from dvdhrm/bus-userKay Sievers
sd-bus: derive uid from cgroup if possible
2015-09-05machine: make sure to call unlockpt() even for local host pty connectionsLennart Poettering
This fixes breakage for local host pty handling, introduced in 395745ba533ac91fe118f43ec83f13a752c0b473. Fixes #1139