summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-10-07build-sys: add sd_listen_fds_with_name() to .sym fileLennart Poettering
2015-10-07configure.ac: bump version numberDaniel Mack
2015-10-07update NEWSDaniel Mack
2015-10-07NEWS: re-order entries slightlyDaniel Mack
Also, the release is actually done in Berlin ;)
2015-10-07Update NEWSLennart Poettering
2015-10-07analyze: trivial code cleanupsLennart Poettering
2015-10-07update NEWSLennart Poettering
2015-10-07Merge pull request #1484 from poettering/ask-pass-kernel-keyringDaniel Mack
cache harddisk passwords in the kernel keyring
2015-10-07Merge pull request #1485 from jsynacek/machine-long-filename-v5Lennart Poettering
import: hash URL in paths if they are too long
2015-10-07Merge pull request #1487 from michich/fix-env-expansionLennart Poettering
Fix env expansion
2015-10-07Merge pull request #1486 from michich/crash-handlerLennart Poettering
core: crash handler changes, CrashChangeVT parsing fix
2015-10-07man: fix typo ('and' -> 'are')Michal Schmidt
2015-10-07basic: fix env expansion for strings leading with two dollar signsMichal Schmidt
The way to escape a literal dollar sign is to write "$$". But this does not work right if it's at the beginning of the argument. Fix it.
2015-10-07core: always let the kernel reap zombies when we're about to freezeMichal Schmidt
Regardless of whether we're going to spawn a crash shell or not, let the kernel reap zombies. It's more consistent this way.
2015-10-07core: change how crash_shell and crash_reboot interactMichal Schmidt
Instead of freezing in PID1 and letting the forked child freeze or reboot when exec("/bin/sh") fails, just wait for the child's exit and then do the freeze_or_reboot in PID1 as usual. This means that when both crash_shell and crash_reboot are enabled, the system will reboot after the shell exits.
2015-10-07core: remove spurious assert in parsing CrashChangeVT=Michal Schmidt
"data" is always NULL (and unused) in config_parse_crash_chvt().
2015-10-07import: hash URL in paths if they are too longJan Synacek
https://bugzilla.redhat.com/show_bug.cgi?id=1266775
2015-10-07core: adjust error message about /etc/mtabMichal Schmidt
Since having /etc/mtab as a regular file is now a fatal error, stop mentioning irrelevant minor consequences.
2015-10-07ask-password: add support for caching passwords in the kernel keyringLennart Poettering
This adds support for caching harddisk passwords in the kernel keyring if it is available, thus supporting caching without Plymouth being around. This is also useful for hooking up "gdm-auto-login" with the collected boot-time harddisk password, in order to support gnome keyring passphrase unlocking via the HDD password, if it is the same. Any passwords added to the kernel keyring this way have a timeout of 2.5min at which time they are purged from the kernel.
2015-10-07Merge pull request #1481 from again4you/devel/smack_sysuser_#4Daniel Mack
smack: label /etc/passwd and friends as '_' smack label when --with-smack-run-label' is enabled (v3)
2015-10-07Merge pull request #1478 from steelman/analyze-without-hostnamed-fixDaniel Mack
analyze: minor fixes according to review
2015-10-07Merge pull request #1483 from reverendhomer/patch-2Daniel Mack
service: fix memory leak in service_add_fd_store()
2015-10-07Merge pull request #1482 from reverendhomer/patch-1Daniel Mack
strv: fix infinite loop in strv_extend_n()
2015-10-07service: fix memory leak in service_add_fd_store()reverendhomer
fixes Coverity #1325767
2015-10-07strv: fix infinite loop in strv_extend_n()reverendhomer
Fixes Coverity #1325768