summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-10-14PPP: add support for PPP and PPPoEpppTom Gundersen14-0/+3940
Authentication not currently supported.
2014-10-14python-systemd: avoid hitting assert in __exit__Dave Reisner1-1/+1
Reader_close() asserts that 'args' is always NULL, but the __exit__ function forwards a non-NULL args.
2014-10-13resolved: apply label to /run/systemd/resolve/resolv.confZbigniew Jędrzejewski-Szmek2-3/+10
Under an SELinux system, we want the file that is created to have a proper context, different from the default for files in /run. This is so that the policy can give access to almost everyone to this file.
2014-10-13resolved: split out writing of resolv.confZbigniew Jędrzejewski-Szmek1-27/+34
manager_write_resolv_conf() is quite long anyway.
2014-10-13bus: check allow-interactive-auhtorization flag when doing polkitLennart Poettering1-3/+16
2014-10-13sd-bus: add support for new allow-interactive-authorization message header flagLennart Poettering3-2/+26
2014-10-13polkit: as we dropped support for the polkit bus transport, also drop its ↵Lennart Poettering1-11/+0
polkit policy
2014-10-13update TODOLennart Poettering1-4/+2
2014-10-13systemctl: when mangle unit names for the "isolate", suffix with ".target" ↵Lennart Poettering1-4/+7
rather than ".service" by default After all, we set AllowIsolate exclusively for target units so far, and this is more or less the only thing tht makes sense, hence also use ".target" as completion suffix by default.
2014-10-13systemctl: move unit action table closer to the functions that use themLennart Poettering1-17/+17
All other static tables we placed next to the functions that access them, so let's do this for the unit action table too.
2014-10-13fi-latin1 console keymap is no moreMarko Myllynen1-1/+0
http://git.altlinux.org/people/legion/packages/kbd.git?p=kbd.git;a=commitdiff;h=a88711232f3216debbb02d0171187442863ccedb
2014-10-13test-dhcp-client: add more assertsTom Gundersen1-3/+3
2014-10-12tmpfiles: compare return against correct errnoDave Reisner1-1/+1
name_to_handle_at returns -EOPNOTSUPP, not -ENOTSUP.
2014-10-12man: join tables in systemd-detect-virt(1)Zbigniew Jędrzejewski-Szmek1-20/+17
I think it is more readable and nicer if everything is in one table. Also, describe what the return value, since it seems awkward to describe the change in behaviour with --quiet before describing what the default is.
2014-10-12tests: fix some tests to pass in kojiZbigniew Jędrzejewski-Szmek3-5/+21
FAIL: test-engine ================= Cannot find cgroup mount point: No such file or directory Assertion 'r >= 0' failed at ../src/test/test-engine.c:46, function main(). Aborting. FAIL: test-sched-prio ===================== Cannot find cgroup mount point: No such file or directory Assertion 'r >= 0' failed at ../src/test/test-sched-prio.c:42, function main(). Aborting. FAIL: test-bus-cleanup ====================== Assertion 'sd_bus_open_system(&bus) >= 0' failed at ../src/libsystemd/sd-bus/test-bus-cleanup.c:40, function test_bus_open(). Aborting. after new: refcount 1
2014-10-12Set $NOTIFY_SOCKET for control procs if NotifyAccess=allBrandon L Black2-12/+1
2014-10-12ModernizationZbigniew Jędrzejewski-Szmek2-11/+8
2014-10-11NEWS: don't mention noinst_* debug programsDavid Herrmann1-7/+0
systemd-evcat and systemd-modeset are not installed systemd wide and should really just be used by developers to test the libsystemd-terminal features. No reason to mention it in NEWS.. despite the undulating rainbows..
2014-10-11terminal/grdrm: force deep modeset on enterDavid Herrmann1-1/+14
Usually, when our session is activated (or re-configurated) we should be able to try a page-flip to our buffer. The kernel driver should reject it if it is incompatible. As it turns out, drivers don't do this. Therefore, we now force a deep modeset if we're not sure what mode is set. This has the side-effect that we might get glitches on session-switches (depending on driver behavior). However, there's no way around this and it is what everyone does so far. Most drivers still detect if we keep the mode and so don't touch the clocks. Therefore, we just get a regular async flip.
2014-10-11sd-dhcp-client: support non-Ethernet hardware addressesDan Williams13-59/+179
Like Infiniband. See RFC 4390 section 2.1 for details on DHCP and Infiniband; chaddr is zeroed, hlen is set to 0, and htype is set to ARPHRD_INFINIBAND because IB hardware addresses are 20 bytes in length.
2014-10-11Report aa_change_onexec error codeMichael Scherer1-1/+1
Since aa_change_onexec return the error code in errno, and return -1, the current code do not give any useful information when something fail. This make apparmor easier to debug, as seen on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760526
2014-10-10bus-proxyd: fix compatibility with old dbus-1Lukasz Skalski1-0/+9
'ListQueuedOwners' method should return 'NameHasNoOwner' error if chosen name is not available on bus.
2014-10-10mount-setup: skip relabelling when SELinux and SMACK not supportedEmil Renner Berthing1-0/+4
This is also the only place where FTW_ACTIONRETVAL is used, so this makes systemd compile without SELinux or SMACK support when the standard library doesn't support this extension.
2014-10-10fstab-generator: Honor mount.usr*= on kernel command lineTobias Hunger2-6/+160
This allows to configure boot loader entries for systems where the root and usr filesystems are in different subvolumes (or even on different drives).
2014-10-10kdbus: fix buffer overflow in bus_get_owner_kdbus() functionLukasz Skalski1-6/+5
Commit 710fc9779b7c (kdbus repo) introduced attaching items[] instead of name[] in kdbus_cmd_conn_info struct. Commit 581fe6c81 (systemd repo) caught up with this change, but item size was not properly calculated.
2014-10-10man: reference table in systemd-detect-virt(1) from ConditionVirtualization= ↵Lennart Poettering1-7/+11
documentation
2014-10-10man: include zVM in systemd-detect-virt listLennart Poettering1-3/+9
2014-10-10man: rework VM/container identifier list into a table, and include ↵Lennart Poettering1-12/+98
descriptions for all entries (also remove chroot from the list, we don't detect that anymore)
2014-10-10nspawn: actually allow access to /dev/net/tun in the containerLennart Poettering1-0/+1
It's not sufficient to just copy the device node over, we need to update the policy for it too.
2014-10-09systemd-hibernate-resume@.service: remove unnecessary orderingIvan Shapovalov1-1/+1
They were left from an early review iteration, when hibernate-resume functionality was intended to work also outside of initramfs. Now this is not the case, and these dependencies became redundant as systemd-fsck-root.service can never be part of initramfs, and systemd-remount-fs.service makes little sense in it.
2014-10-09build-sys: use -Wno-gnu-variable-sized-type-not-at-end under clangZbigniew Jędrzejewski-Szmek1-1/+3
Otherwise we get useless warnings about journal code.
2014-10-09build-sys: use -Wno-typedef-redefinition only for clangZbigniew Jędrzejewski-Szmek1-1/+5
Our checks for -Wno-xxx switches do not work with gcc [1]. [1] https://gcc.gnu.org/wiki/FAQ#wnowarning
2014-10-09Update TODOZbigniew Jędrzejewski-Szmek1-0/+6
2014-10-09man: clarify what "microsoft" and "oracle" stand forRahul Sundaram1-4/+5
https://bugzilla.redhat.com/show_bug.cgi?id=1150477
2014-10-09systemctl: remove casts in formattingZbigniew Jędrzejewski-Szmek1-6/+6
2014-10-09journalctl: use pager for --list-bootsZbigniew Jędrzejewski-Szmek1-0/+2
2014-10-09sd-journal: fix sd_journal_enumerate_unique skipping valuesJan Janssen7-37/+39
sd_journal_enumerate_unique will lock its mmap window to prevent it from being released by calling mmap_cache_get with keep_always=true. This call may return windows that are wider, but compatible with the parameters provided to it. This can result in a mismatch where the window to be released cannot properly be selected, because we have more than one window matching the parameters of mmap_cache_release. Therefore, introduce a release_cookie to be used when releasing the window. https://bugs.freedesktop.org/show_bug.cgi?id=79380
2014-10-09sd-journal: change check to assertZbigniew Jędrzejewski-Szmek1-2/+1
As of 0f99f74a14 'sd-journal: verify that object start with the field name' this condition should never happen.
2014-10-09sd-journal: do not reset sd_j_enumerate_unique position on errorZbigniew Jędrzejewski-Szmek2-6/+16
systemctl would call sd_j_enumerate_unique() interleaved with sd_j_next(). But the latter can remove a file if it detects an error in it. In those circumstances sd_j_enumerate_unique would restart with the first file in hashmap. With many corrupted files sd_j_enumerate_unique might iterate over the list multiple times. Avoid this by jumping to the next file in unique list if possible, or setting a flag that tells sd_j_enumerate_unique that it is done otherwise.
2014-10-09man: document the new "rescue" kernel command line optionLennart Poettering2-3/+6
2014-10-09service: enter SERVICE_STOP_SIGTERM state after getting "STOPPING=1"Michal Schmidt1-1/+2
SERVICE_STOP would mean we're running the ExecStop command. That's not the case with "STOPPING=1". Instead we should enter the same state as if we just told the service to stop, i.e. SERVICE_STOP_SIGTERM. This fixes a bug where voluntarily exiting services would hang around in deactivating state until timeout.
2014-10-09update TODOLennart Poettering1-0/+2
2014-10-09bus-proxy: allow getpeersec() to failDaniel Mack1-5/+1
getpeersec() will fail for non-SELinux enabled machines, so don't make that a hard error.
2014-10-09socket-proxyd: Unchecked return value from librarySusant Sahani1-1/+1
CID 1237543 (#1 of 1): Unchecked return value from library (CHECKED_RETURN)
2014-10-09sd-dhcp6-lease: Name the structure containing IAADDR dataPatrik Flykt3-16/+17
With this change the DHCP6_OPTION_IAADDR_LEN define can be removed in favor of using sizeof(). Using the name of the struct and sizeof() makes it clearer how much and what data is being copied from the DHCPv6 message.
2014-10-09bus-policy: move name list iteration to policy usersDaniel Mack3-35/+19
We need to figure out which of the possible names satisfied the policy, so we cannot do the iteration in check_policy_item() but have to leave it to the users. Test cases amended accordingly.
2014-10-09logind: mount per-user tmpfs with 'smackfsroot=*' for smack enabled systemsLukasz Skalski2-2/+8
2014-10-09man: SyslogIdentifier= has an effect on journal logging tooLennart Poettering1-7/+11
2014-10-09sd-bus: check return value of asprintf()Daniel Mack1-1/+5
Check for OOM conditions of asprintf() in bus_set_address_user().
2014-10-08systemctl: suggest -xe not -xnZbigniew Jędrzejewski-Szmek1-3/+3
https://bugzilla.redhat.com/show_bug.cgi?id=1150289