summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-12Merge pull request #1536 from jsynacek/masterDaniel Mack
po/da: use unix line endings
2015-10-12Merge pull request #1540 from zonque/cmsgDavid Herrmann
sd-daemon: wipe out memory before using CMSG_NXTHDR()
2015-10-12sd-daemon: wipe out memory before using CMSG_NXTHDR()Daniel Mack
CMSG_NXTHDR() checks for cmsg->cmsg_len *after* it increased the pointer. While this makes sense for parsing received messages, that's a pitfall for code crafting messages with this macro. Wipe out the allocated memory to fix this.
2015-10-12po/da: use unix line endingsJan Synacek
2015-10-12Merge pull request #1532 from phomes/trivial-fixesDaniel Mack
Trivial fixes
2015-10-11shared: remove an unused variableThomas Hindoe Paaboel Andersen
2015-10-11rfkill: consistently use = in designatorThomas Hindoe Paaboel Andersen
2015-10-10Merge pull request #1524 from Danielmachon/catalog-danish-translationDaniel Mack
catalog: added systemd.da.catalog
2015-10-10catalog: added systemd.da.catalogDanielmachon
2015-10-09Merge pull request #1510 from mirco/fix-nspawnLennart Poettering
nspawn: create /sys/fs/cgroup for unified hierarchy as well
2015-10-09Merge pull request #1516 from poettering/dontisolaterootsliceMartin Pitt
Don't isolate `-.slice`
2015-10-09core: ignore -.slice and init.scope when isolatingLennart Poettering
Otherwise, we might end up trying to isolate it away when starting user instances. While we are at it, also prohibit manual start/stop of these two units. Fixes: #1507
2015-10-09sd-daemon: simply code simplificationLennart Poettering
No change in behaviour, just make the code more obvious.
2015-10-09core: remove taint flag about /etc/mtab not being a symlink.Lennart Poettering
We already stop boot if /etc/mtab is not a symlink right now, and most likely we'll stop referecing it at all in the future, either way there's no point in keeping it around as taint flag.
2015-10-09zsh: don't mention /etc/mtabLennart Poettering
The file is obsolete, use /proc/self/mounts instead. Also, yuck, the code is so awful...
2015-10-09Merge pull request #1512 from evverx/systemd-run-syslog-propertiesLennart Poettering
systemd-run can launch units with SyslogIdentifier and SyslogLevelPrefix
2015-10-09Merge pull request #1501 from fbuihuu/fix-requires-mounts-for-directivesLennart Poettering
Make sure the mount units pulled by 'RequiresMountsFor=' are loaded, if they exist
2015-10-09shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin
2015-10-09systemd-run can now launch units with SyslogIdentifierEvgeny Vereshchagin
2015-10-09systemd-run can now launch units with SyslogLevelPrefixEvgeny Vereshchagin
2015-10-09nspawn: create /sys/fs/cgroup for unified hierarchy as wellMirco Tischler
2015-10-09Merge pull request #1504 from evverx/systemd-run-new-propertiesDaniel Mack
shell-completion: systemd-run: add new properties
2015-10-09shell-completion: systemd-run: add new propertiesEvgeny Vereshchagin
See: * 602b83559a7cfcd3eee05 * b9c50073fcc1460ca1ff3
2015-10-08Make sure the mount units pulled by 'RequiresMountsFor=' are loaded (if they ↵Franck Bui
exist) We should make sure that mount units involved by 'RequiresMountsFor=' directives are really loaded if not required by any others units so that Requires= dependencies on the mount units are applied and thus the mount unit dependencies are started.
2015-10-08Merge pull request #1499 from evverx/system-conf-updateLennart Poettering
core: system.conf: add DefaultTasksAccounting
2015-10-08core: system.conf: add DefaultTasksAccountingEvgeny Vereshchagin
2015-10-08Merge pull request #1496 from poettering/stdin-fdDaniel Mack
allow passing in fds for stdin/stdout/stderr for transient services
2015-10-08Merge pull request #1497 from bengal/lldp-rename-structTom Gundersen
lldp: rename publicly visible structure
2015-10-08lldp: rename publicly visible structureBeniamino Galvani
Rename struct 'tlv_packet' to 'sd_lldp_packet' and struct 'tlv_section' to 'sd_lldp_section' since the former is referenced in public header sd-lldp.h. Signed-off-by: Beniamino Galvani <bgalvani@redhat.com>
2015-10-08shell-completion: add pseudo machine ".host" to shell completionLennart Poettering
2015-10-08Merge pull request #1492 from evverx/manager-dbus-propertiesLennart Poettering
core: manager: add some missing properties
2015-10-08Merge pull request #1494 from reverendhomer/patch-1Lennart Poettering
networkd-link: remove unused variable assignment in link_save()
2015-10-08run: various modernizations and smaller fixesLennart Poettering
Including a fix for properly freeing a calendarspec object after use.
2015-10-08shell-completion: add "machinectl shell" to bash completion logicLennart Poettering
2015-10-08util: minor modernization of vt_disallocate()Lennart Poettering
2015-10-08util: do not reset terminal in acquire_terminal()Lennart Poettering
Before, we'd always reset acquired terminals, which is not really desired, as we expose a setting TTYReset= which is supposed to control whether the TTY is reset or not. Previously that setting would only enable a second resetting of the TTY, which is of course pointless... Hence, move the implicit resetting out of acquire_terminal() and make the callers do it if they need it.
2015-10-08machined: when opening a shell via machined, pass tty fds inLennart Poettering
With this change we'll open the shell's tty right from machined and then pass it to the transient unit we create. This way we make sure the pty is opened exactly as long as the transient service is around, and no longer, and vice versa. This way pty forwarders do not have to deal with EIO problems due to vhangup, as the pty is open all the time from the point we set things up to the point where the service goes away.
2015-10-08networkd-link: remove unused variable assignment in link_save()reverendhomer
fixes Coverity #1317207
2015-10-08core: add support for setting stdin/stdout/stderr for transient servicesLennart Poettering
When starting a transient service, allow setting stdin/stdout/stderr fds for it, by passing them in via the bus. This also simplifies some of the serialization code for units.
2015-10-08basic: move two more terminal-related calls into terminal-util.[ch]Lennart Poettering
2015-10-08update CODING_STYLELennart Poettering
2015-10-08Merge pull request #1491 from Danielmachon/danish-translationDaniel Mack
po: added danish translation
2015-10-08po: added danish translation for systemdDanielmachon
po: added danish translation for systemd Update da.po fixed syntax errors
2015-10-08core: manager: add some missing dbus propertiesEvgeny Vereshchagin
2015-10-08keymap: Update Thinkpad Yoga 12 (2015)Martin Pitt
Follow-up commit to e1fd19958: Add d8 scan code as well. Fixes #1440
2015-10-07Merge pull request #1490 from poettering/machinectl-shell-race-fixDaniel Mack
machinectl shell race fix
2015-10-07update TODOLennart Poettering
2015-10-07machinectl: fix race when opening new shells with "machinectl shell"Lennart Poettering
Previously, we'd allocate the TTY, spawn a service on it, but immediately start processing the TTY and forwarding it to whatever the commnd was started on. This is however problematic, as the TTY might get actually opened only much later by the service. We'll hence first get EIOs on the master as the other side is still closed, and hence considered it hung up and terminated the session. With this change we add a flag to the pty forwarding logic: PTY_FORWARD_IGNORE_INITIAL_VHANGUP. If set, we'll ignore all hangups (i.e. EIOs) on the master PTY until the first byte is successfully read. From that point on we consider a hangup/EIO a regular connection termination. This way, we handle the race: when we get EIO initially we'll ignore it, until the connection is properly set up, at which time we start honouring it.
2015-10-07util: always enforce O_NOCTTY and O_CLOEXEC in openpt_in_namespace()Lennart Poettering
The child process is shortliving, hence always set O_NOCTTY so that the tty doesn't quickly become controlling TTY and then gives it up again. Also set O_CLOEXEC, because it's cleaner, and doesn't affect the parent anyway.
2015-10-07build-sys: bump library versionsystemd/v227Lennart Poettering