summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* networkd: handle SIGINT and SIGTERMTom Gundersen2014-02-22
|
* test: always use assert_se in testsTom Gundersen2014-02-22
|
* sd-dhcp: add very basic debug loggingTom Gundersen2014-02-22
|
* build-sys: add seccomp includes where neededKay Sievers2014-02-22
|
* gudev: add device::get_sysfs_attr_keys and device::has_sysfs_attrAndreas Fuchs2014-02-22
| | | | | | For gudev -> gudevdevice: - Add support for get_sysfs_attr_keys() - Add support for has_sysfs_attr()
* udev: net - allow MTU and Speed to be specified with unitsTom Gundersen2014-02-22
| | | | | This also changes the names to MTUBytes and BitsPerSecond, respectively. Notice that the speed was mistakenly documented to be in bytes before this change.
* networkd/nspawn: enable dhcp client on veth device created in guestTom Gundersen2014-02-22
| | | | | | | When starting systemd-nspawn with --network-veth, we create a veth device called host0 in the guest. Pick up on this and start a dhcp client on it. We will also pick up host0 netdevs created by other containers should they chose to use the same name.
* build-sys: create /var/log/journal/ in journald sectionKay Sievers2014-02-22
|
* build-sys: Also move libsystemd-journal to rootlibdirArmin K2014-02-22
|
* hwdb: Update database of Bluetooth company identifiersMarcel Holtmann2014-02-21
|
* cgroup: Extend DeviceAllow= syntax to whitelist groups of devices, not just ↵Lennart Poettering2014-02-22
| | | | particular devices nodes
* update gitignoreThomas Hindoe Paaboel Andersen2014-02-21
|
* net-util: match on the driver as exposed by ethtool if DRIVER not setTom Gundersen2014-02-21
| | | | Also fix a copy-paste error that broke matching on interface name.
* udev: net_setup - import ID_NET_DRIVERTom Gundersen2014-02-21
| | | | This will do until all net properties are imported.
* Makefile: fix build on clangThomas Hindoe Paaboel Andersen2014-02-21
| | | | | needed after libsystemd-daemon was merged into libsystemd in 0ebee8818404adb95a0b8a01416aad3a16f64ae1
* update TODOTom Gundersen2014-02-21
|
* net: initialize structs when declaringTom Gundersen2014-02-21
|
* net: initialize structs when declaring them/do not clobber caller variablesLennart Poettering2014-02-21
| | | | Just two minor style fixes...
* logind: when we wake up from suspend and the lid is still closed, go to ↵Lennart Poettering2014-02-21
| | | | | | | | | | | | | | | | | | | sleep immediately again This is quite useful on laptops such as the Lenovo Yoga, where the power button is placed on the front side of the laptop and can be pressed by accident even if the lid is closed. This reworks a bit of the logind logic to repeatedly try to suspend the system as long as a lid is closed. We use the new "post" event source for this, so that we don't keep things busy. This also adds some code to check the lid status on boot, so that a powered-off machine that is accidentaly powered on goes into suspend immediately. Yay! From now on I can put my Yoga safely in my backpack without fearing that it might turn itself on and drain the battery.
* event: add new kind of event source called "post"Lennart Poettering2014-02-21
| | | | | | | | | | | | | This new event source is triggered by the dispatching of any non-post event source. It can thus be used to do clean-up or recheck work, triggered by any other event source having been executed. This is different from "defer" event source which are unconditionally triggered as long as they are enabled. A "defer" event source that does nothing will result in the event loop busy looping unless it is turned off eventually. This is different for "post" event sources that will be only triggered when some other non-post ran, and will thus not keep the event loop busy on its own.
* man: networkd typo fixesThomas Hindoe Paaboel Andersen2014-02-21
|
* udev - link-setup - expose ID_NET_DRIVERTom Gundersen2014-02-21
| | | | | This is the same as shown by 'ethtool -i <ifname>', and is sometimes set even though DRIVER is not.
* logind-session: Fix invalid free in the error caseJasper St. Pierre2014-02-21
| | | | | utf8 needs to be initialized to NULL for the free for the early return, otherwise we try to free invalid data.
* install: networkd.service depend on !--disableJason A. Donenfeld2014-02-21
| | | | | | It doesn't make any sense to symlink this unit file into /etc when the unit file itself isn't even installed, with --disable-networkd. This moves the GENERAL_ALIASES logic into the right "if" block.
* update TODOLennart Poettering2014-02-21
|
* man: suffix networkd config file options with "="Lennart Poettering2014-02-21
| | | | | That's what we do for all options in the other man pages. It helps clarifying that these are options that values need to be assigned to.
* man: split settings documentaiton in systemd.unit(5) into two sectionsLennart Poettering2014-02-21
|
* man: don't document ".include" in configuration files anymore as first step ↵Lennart Poettering2014-02-21
| | | | to deprecate them one day
* update TODOLennart Poettering2014-02-21
|
* journald: ignore failure to watch hostname_fd on older kernelsDave Reisner2014-02-21
| | | | | | | | Prior to 3.2, /proc/sys/kernel/hostname isn't a pollable file and sd_event_add_io will return EPERM. Ignore this failure, since it isn't critical to journald operation. Reported and tested by user sraue on IRC.
* ptyfwd: reset nonblocking modeLennart Poettering2014-02-21
| | | | | | | | Apparently bash doesn't turn off non-blocking mode on stdin/stdout when reading from it, so be nice to bash. Ideally bash would do this on its own for robustness reasons, though. https://bugs.freedesktop.org/show_bug.cgi?id=70622
* NEWS: add name_to_handle_at() requirementKay Sievers2014-02-21
|
* build-sys: make network files respect --rootprefixSamuli Suominen2014-02-21
| | | | | | | | | With --rootprefix= systemd-udevd gets installed to /lib/systemd, and since the network configuration is also required during early boot, it should be available there with it. Using --prefix= is not an option since it would put everything, including pkg-config files, man pages, documentation, to / which is not wanted. This commit puts 99-default.link to /lib/systemd/network/ when required.
* .network/.netdev/.link: allow to match on architectureTom Gundersen2014-02-21
|
* configure: show if networkd is enabled in statusJason A. Donenfeld2014-02-21
|
* man: there is no ExecStopPre= for service unitsLennart Poettering2014-02-21
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=73177
* install: enable networkd by defaultTom Gundersen2014-02-21
| | | | | This treats it similarly to getty@tty1.service and remote-fs.target, which can be enabled/disabled, but defaults to enabled.
* install: do not statically enable systemd-networkdJason A. Donenfeld2014-02-21
| | | | [tomegun: pruned the commit message as not to contradict the follow-up commit]
* sd-event: Fix systemd crash when using timer units.Thomas Bächler2014-02-21
| | | | | | | | There was a copy-paste error introduced in commit c2ba3ad6604ef2e189d7e0a36d6911116e84d3ab which causes the following error when using timer units: Assertion '(x->type == SOURCE_MONOTONIC && y->type == SOURCE_MONOTONIC) || (x->type == SOURCE_REALTIME && y->type == SOURCE_REALTIME)' failed at src/libsystemd/sd-event/sd-event.c:264, function latest_time_prioq_compare(). Aborting.
* systemctl: fix compiler warning in list_timers()Daniel Mack2014-02-21
| | | | | | | | | | | | | | | | | | | | | get_next_elapse() will always fill 'next' with values when it returns >= 0. Hence, the compiler is wrong about this warning. Initialize 'next' nevertheless. src/systemctl/systemctl.c: In function ‘list_timers’: src/systemctl/systemctl.c:953:43: warning: ‘next.monotonic’ may be used uninitialized in this function [-Wmaybe-uninitialized] converted = nw.realtime - (nw.monotonic - next.monotonic); ^ In file included from ./src/shared/log.h:30:0, from src/systemctl/systemctl.c:46: ./src/shared/macro.h:137:38: warning: ‘next.realtime’ may be used uninitialized in this function [-Wmaybe-uninitialized] _a < _b ? _a : _b; \ ^ src/systemctl/systemctl.c:933:32: note: ‘next.realtime’ was declared here dual_timestamp next; ^
* shared/architecture.h: fix preprocessor directivesDaniel Mack2014-02-21
| | | | | | | | | | | Use 'if defined()', not 'ifdef defined()'. Fixes the following warning. CC src/shared/architecture.lo In file included from src/shared/architecture.c:24:0: src/shared/architecture.h:89:17: warning: extra tokens at end of #ifdef directive [enabled by default] # ifdef defined(WORDS_BIGENDIAN) ^
* man: xinclude pkg-config noteZbigniew Jędrzejewski-Szmek2014-02-20
|
* man: xinclude --host/--machineZbigniew Jędrzejewski-Szmek2014-02-20
| | | | As usual, those common options are pushed to the end.
* man: xinclude --user/--systemZbigniew Jędrzejewski-Szmek2014-02-20
|
* man: xinclude --help/--version/--no-pagerZbigniew Jędrzejewski-Szmek2014-02-20
|
* build-sys: add conditionals and regenerate manpage listZbigniew Jędrzejewski-Szmek2014-02-20
| | | | | The list of man pages is auto generated, based on conditonal='...' attributes in the man page itself.
* man: ignore non-manpage files when generating makefileZbigniew Jędrzejewski-Szmek2014-02-20
|
* manager: be more precise in message about restartZbigniew Jędrzejewski-Szmek2014-02-20
|
* update TODOLennart Poettering2014-02-21
|
* nspawn: when adding a veth interface to a bridge, use the "vb-" rather than ↵Lennart Poettering2014-02-21
| | | | | | | "ve-" interface name prefix This way we can recognize the interfaces later on to apply different host-side configuration to them.