summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sd-rtnl: fix typesystem for IFLA_AF_SPECTom Gundersen2015-02-091-8/+11
| | | | Got this one wrong, it is not a union, just a nested container.
* language fallback: it_CH (Italian, Swiss) -> it_IT (Italian, Italy)Daniele Medri2015-02-091-0/+1
|
* networkd: add basic org.freedesktop.network1.Network interfaceTom Gundersen2015-02-084-1/+143
|
* networkd: add network_get_by_nameTom Gundersen2015-02-083-2/+51
|
* build-sys: properly enable the networkd dbus activationTom Gundersen2015-02-081-0/+6
|
* sd-rtnl: add support for IFLA_INET6_*Tom Gundersen2015-02-081-1/+27
|
* sd-rtnl: extend type system to allow address-family to decide the union membersTom Gundersen2015-02-085-24/+172
| | | | | | So far we only supported selecting them by sibling attributes. (This stuff is all a bit crazy, but there seems to be no other way...)
* networkd: use valid bus pathsMantas Mikulėnas2015-02-081-2/+3
| | | | | | Object path components must start with [A-Za-z_] (AFAIK). Also the value of 'p' is undefined if asprintf fails. Compare to user_bus_path() in src/login/logind-user-dbus.c:281.
* sd-rtnl: don't treat 0-length messages speciallyTom Gundersen2015-02-081-4/+0
| | | | Still parse the CMSG data, and most importantly make sure we drop the message when peeking.
* sysctl: consider --prefix while parsing the filesUmut Tezduyar Lindskog2015-02-071-16/+14
| | | | | | | | | | | not while applying the parsed sysctl values. Otherwise info "Overwriting earlier assignment of %s in file %s" is visible many times even though the given --prefix doesn't try to set the overridden value. This also optimizes the startup tiny bit since we have udev rules running on network devices and setting sysctl through the rules.
* Add Silesian and Kashubian to language fallback mapPiotr Drąg2015-02-071-0/+2
| | | | | | | Silesian and Kashubian speakers would prefer to fall back to Polish (pl) translations instead of English (C). https://bugs.freedesktop.org/show_bug.cgi?id=89021
* bus-proxyd: fix 'ListQueuedOwners' callLukasz Skalski2015-02-071-0/+1
| | | | | | | | | Set proper kdbus_cmd_list object size, otherwise: dbus-send --system --dest=org.freedesktop.DBus --type=method_call \ print-reply / org.freedesktop.DBus.ListQueuedOwners string:org.freedesktop.systemd1 Error org.freedesktop.DBus.Error.InvalidArgs: Invalid argument
* localed: add LANGUAGE= fallback when LANG= is specifiedZbigniew Jędrzejewski-Szmek2015-02-062-10/+70
| | | | | | | | For the entries listed in the first column of language-fallback-map, the entry from the second column will be used for LANGUAGE=, if LANGUAGE= is not explicitly specified. https://bugzilla.redhat.com/show_bug.cgi?id=624158
* Add language fallback mapNaveen Kumar2015-02-061-0/+6
| | | | | | | | This map will be used to provide a fallback for translations. For example, a Niederdeutsch (nds) speaker prefers to fall back to German (de) translations rather then the English (C) ones. https://bugzilla.redhat.com/show_bug.cgi?id=624158#c9
* build-sys: remove reference to long gone fileZbigniew Jędrzejewski-Szmek2015-02-061-3/+0
| | | | | Interesting that automake doesn't complain about this at all. That file was removed in 3fb97a58fa3f233.
* units: networkd - fix busname to work on kdbusTom Gundersen2015-02-061-0/+6
|
* sd-rtnl: don't fall over when receiving 0 bytes from the socketTom Gundersen2015-02-061-3/+5
| | | | | | | causes EOF. Seems like a kernel bug. Ignoring it seems to work be the best we can do for now... See https://bugs.freedesktop.org/show_bug.cgi?id=88397
* sd-rtnl: fix creation of synthetic error repliesTom Gundersen2015-02-063-5/+10
|
* udev: net_setup - clarify reason for failure of persistent mac address policyTom Gundersen2015-02-062-5/+10
|
* shared/log: read /proc/cmdline only in daemonsZbigniew Jędrzejewski-Szmek2015-02-061-1/+5
| | | | http://lists.freedesktop.org/archives/systemd-devel/2015-February/027960.html
* update TODOLukas Nykryn2015-02-051-0/+1
|
* networkd: move the connection to the bus out of manager_new (again)Tom Gundersen2015-02-053-6/+7
| | | | This would otherwise make the tests fail as we cannot grab the bus name.
* networkd: gracefully handle failure to emit signals when dbus is not connectedTom Gundersen2015-02-052-0/+6
| | | | When we get kdbus we don't need these hackse.
* bus: sync with kdbus (ABI break)David Herrmann2015-02-056-337/+266
|
* networkd: exit on idleTom Gundersen2015-02-057-7/+58
| | | | | | We will be woken up on rtnl or dbus activity, so let's just quit if some time has passed and that is the only thing that can happen. Note that we will always stay around if we expect network activity (e.g. DHCP is enabled), as we are not restarted on that.
* networkd: don't unlink state files on exitTom Gundersen2015-02-051-3/+0
| | | | Only unlink state files on DELLINK. This allows sd-network to be used even when networkd is not running.
* networkd: add basic dbus APITom Gundersen2015-02-0510-32/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the very basics, more to come. For now: $ busctl tree org.freedesktop.network1 └─/org/freedesktop/network1 └─/org/freedesktop/network1/link ├─/org/freedesktop/network1/link/1 ├─/org/freedesktop/network1/link/2 ├─/org/freedesktop/network1/link/3 ├─/org/freedesktop/network1/link/4 ├─/org/freedesktop/network1/link/5 ├─/org/freedesktop/network1/link/6 ├─/org/freedesktop/network1/link/7 ├─/org/freedesktop/network1/link/8 └─/org/freedesktop/network1/link/9 $ busctl introspect org.freedesktop.network1 /org/freedesktop/network1 NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.network1.Manager interface - - - .OperationalState property s "carrier" emits-change $ busctl introspect org.freedesktop.network1 /org/freedesktop/network1/link/1 NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.network1.Link interface - - - .AdministrativeState property s "unmanaged" emits-change .OperationalState property s "carrier" emits-change
* networkd: don't warn about missing links unnecessarilyTom Gundersen2015-02-053-1/+14
| | | | | | | If we get a NEWLINK + NEWADDR between enumerating the links and enumerating the addresses, we would get a warning that the link corresponding to the address does not exist. This is a false warning as both the NEWLINK and NEWADDR would be processed after enumerating completed, so drop it.
* networkd: log when finished enumerating links and addressesTom Gundersen2015-02-051-0/+2
|
* systemctl: unit_find_paths(): unify error handling in two code pathesIvan Shapovalov2015-02-051-28/+35
|
* systemctl: cat, edit: further polish error messagesIvan Shapovalov2015-02-051-10/+10
|
* systemctl: cat: fix error handlingIvan Shapovalov2015-02-051-3/+3
| | | | | - correctly check for local vs. remote transport - return after receiving error from expand_names()
* systemctl: cat, edit: improve unit load error reportingIvan Shapovalov2015-02-051-14/+40
| | | | | | | - report actual load error for units which could not be loaded - make unit_find_paths() report all kinds of errors it encounters (for consistency) - consistently handle not-found errors in cat() and edit()
* hwdb: Bind "toolbox" buttons to the Windows keyBastien Nocera2015-02-051-2/+2
| | | | | | | One would expect pressing the button to go to an overview / show applications mode, we thus map it to leftmeta, the Windows key. See https://bugzilla.gnome.org/show_bug.cgi?id=658602#c17
* build-sys: mark systemd-firstboot man page as conditionalMichael Biebl2015-02-042-7/+12
| | | | Rebuild Makefile-man.am accordingly.
* timesyncd: downgrade more log messages from LOG_INFO to LOG_DEBUGLennart Poettering2015-02-041-2/+2
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=87505 Let's make timesyncd less chatty.
* shared/capabilities: simplify assertions about bitsZbigniew Jędrzejewski-Szmek2015-02-041-4/+4
| | | | | The assert added in 7d328b5446 was wrong. Also update the comments and make sure we don't try to shift by type size.
* shared/util: drop duplicate log2u64 functionZbigniew Jędrzejewski-Szmek2015-02-041-10/+0
|
* man: fix diagrams in bootup(7)Zbigniew Jędrzejewski-Szmek2015-02-041-118/+117
| | | | Fallout from 798d3a524e.
* timesyncd: reduce log chattiness a bitLennart Poettering2015-02-041-3/+3
| | | | | | Let's downgrade the statistics output from LOG_INFO to LOG_DEBUG. https://bugs.freedesktop.org/show_bug.cgi?id=88926
* nspawn: Allow module loading if CAP_SYS_MODULE is requestedJay Faulkner2015-02-041-3/+20
| | | | | | nspawn containers currently block module loading in all cases, with no option to disable it. This allows an admin, specifically setting capability=CAP_SYS_MODULE or capability=all to load modules.
* shared/capability: don't be too frugal on space for capsTom Gundersen2015-02-041-1/+5
| | | | | | We were dropping the most significant bit. Add an assert to make sure it does not happen again. Fixes a bug introduced in 7d328b544621d4b1bec936dec612947ad8bfb65a.
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-04153-35576/+31258
|
* tmpfiles: fix compilation without acl supportZbigniew Jędrzejewski-Szmek2015-02-041-0/+2
|
* cg_path_get_user_unit(): Did not correctly parse user-unit templates.Luke Shumaker2015-02-042-10/+9
| | | | | | | It ran either skip_session() or skip_user_manager(), then ran skip_slices() iff skip_session() ran. It needs to run skip_slices() in either case. Included is a test case demonstrating why.
* core: don't reset log level to NOTICE if we get quiet on the kernel cmdlineLennart Poettering2015-02-042-3/+3
| | | | | | | | | | | | | | | | quiet should really just have an effect on the stuff we dump on the console, not what we log elsewhere. Hence: debug on kernel cmdline → interpreted by every tool, turns up log levels to "debug" everywhere. quiet on kernel cmdline → interpreted only by PID 1 (and obviously the kernel) no alteration of the max log level, but turns off status output. http://lists.freedesktop.org/archives/systemd-devel/2014-December/026271.html
* update TODOLennart Poettering2015-02-041-0/+15
|
* virt: add detect_vm_devicetree for powerpc archesChris J Arges2015-02-041-0/+20
| | | | | Check sysfs devicetree values in order to detect if we are running on a KVM hypervisor on a powerpc architecture.
* networkd: refactor socket activation a bitTom Gundersen2015-02-034-234/+203
|
* sd-rtnl: allow sd_rtnl_open_fd() to be used on bound socketsTom Gundersen2015-02-031-1/+2
|