summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2014-04-24errno: make sure to handle the 3 errnos that are aliases for others properlyLennart Poettering
2014-04-24networkd-wait-online: improve interoptability and enable by defaultTom Gundersen
To make sure we don't delay boot on systems where (some) network links are managed by someone else we don't block if something else has successfully brought up a link. We will still block until all links we are aware of that are managed by networkd have been configured, but if no such links exist, and someone else have configured a link sufficiently that it has a carrier, it may be that the link is ready so we should no longer block. Note that in all likelyhood the link is not ready (no addresses/routes configured), so whatever network managment daemon configured it should provide a similar wait-online service to block network-online.target until it is ready. The aim is to block as long as we know networking is not fully configured, but no longer. This will allow systemd-networkd-wait-online.service to be enabled on any system, even if we don't know whether networkd is the main/only network manager. Even in the case networking is fully configured by networkd, the default behavior may not be sufficient: if two links need to be configured, but the first is fully configured before the second one appears we will assume the network is up. To work around that, we allow specifying specific devices to wait for before considering the network up. This unit is enabled by default, just like systemd-networkd, but will only be pulled in if anyone pulls in network-online.target.
2014-04-22remove bus-driverd, the interface is now handled natively by bus-proxydKay Sievers
2014-04-19nss-myhostname: port to sd-rtnlTom Gundersen
2014-04-17build-sys: do not try to build test-rtnl-manual w/o kmodZbigniew Jędrzejewski-Szmek
2014-04-17build-sys: add libkmod flags for test_rtnl_manualŁukasz Stelmach
2014-04-13udev: remove seqnum API and all assumptions about seqnumsKay Sievers
The way the kernel namespaces have been implemented breaks assumptions udev made regarding uevent sequence numbers. Creating devices in a namespace "steals" uevents and its sequence numbers from the host. It confuses the "udevadmin settle" logic, which might block until util a timeout is reached, even when no uevent is pending. Remove any assumptions about sequence numbers and deprecate libudev's API exposing these numbers; none of that can reliably be used anymore when namespaces are involved.
2014-04-10bus: update kdbus.hKay Sievers
2014-04-10cgls: fix running with -M optionLukas Nykryn
systemd-machined doesn't store cgroup path in a state file anymore. Let's figure it out from the scope.
2014-04-02build-sys: remove no longer needed user/org.freedesktop.DBus.busnameKay Sievers
2014-03-28sd-rtnl: rework rtnl type systemTom Gundersen
Use a static table with all the typing information, rather than repeated switch statements. This should make it a lot simpler to add new types. We need to keep all the type info to be able to create containers without exposing their implementation details to the users of the library. As a freebee we verify the types of appended/read attributes. The API is extended to nicely deal with unions of container types.
2014-03-26build-sys: update "linkcheck"Kay Sievers
<kay> ssuominen: and drop --no-as-needed from the linkcheck? <kay> ssuominen: i expect it all triggers without the gc-sections thing alone <ssuominen> if the intention is to make it strict as possible, to catch undefined references caused by missing -lfoo in linker line, then LDFLAGS="-Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--no-gc-sections"
2014-03-26build-sys: rename "check-broken" to "linkcheck"Kay Sievers
2014-03-26build-sys: split "make upload" and "make tango"Kay Sievers
2014-03-26bus: provide org.freedesktop.systemd1.busname for systemd --userKay Sievers
2014-03-26build-sys: disable test-cgroup-mask, it mangles valid user data in ↵Kay Sievers
/run/user/$UID/ $ ./test-cgroup-mask ... rmdir("/run/user/2702/systemd/generator") = 0 open("/run/user/2702/systemd/generator.late", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_NOFOLLOW|O_NOATIME|O_CLOEXEC) = 5 fstat(5, {st_mode=S_IFDIR|0755, st_size=3200, ...}) = 0 fcntl(5, F_GETFL) = 0x78800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_NOFOLLOW|O_NOATIME) fcntl(5, F_SETFD, FD_CLOEXEC) = 0 getdents(5, /* 160 entries */, 32768) = 10072 unlinkat(5, "org.gnome.Weather.Application.busname", 0) = 0 unlinkat(5, "dbus-org.gnome.Weather.Application.service", 0) = 0 ...
2014-03-26build-sys: add "make check-broken" to find limited-toolchain link errorsKay Sievers
2014-03-25build-sys: fix library link ordersystemd/v212Kay Sievers
2014-03-25build-sys: split-off internal libsystemd-resolveKay Sievers
2014-03-25build-sys: prepare 212Lennart Poettering
2014-03-25sd-rtnl: add support for tunnel attributesSusant Sahani
Added support for tunneling netlink attrributes (ipip, gre, sit). These works with kernel module ipip, gre and sit . The test cases are moved to a separate file and manual test as well because they require respective kernel modules as well.
2014-03-24core: remove tcpwrap supportLennart Poettering
tcpwrap is legacy code, that is barely maintained upstream. It's APIs are awful, and the feature set it exposes (such as DNS and IDENT access control) questionnable. We should not support this natively in systemd. Hence, let's remove the code. If people want to continue making use of this, they can do so by plugging in "tcpd" for the processes they start. With that scheme things are as well or badly supported as they were from traditional inetd, hence no functionality is really lost.
2014-03-21libsystemd-network: move network-utils from src/sharedTom Gundersen
This does not belong in shared as it is mostly a detail of our networking subsystem. Moreover, now we can use libudev here, which will simplify things.
2014-03-19busname: introduce Activating directiveDaniel Mack
Add a new config 'Activating' directive which denotes whether a busname is actually registered on the bus. It defaults to 'yes'. If set to 'no', the .busname unit only uploads policy, which will remain active as long as the unit is running.
2014-03-17build-sys: move sd-login src/login → src/libsystemd/sd-loginLennart Poettering
After all, it is ultimately linked to libsystems.so anyway, thus belongs there and shares very little with the rest of logind, hence let's move this away.
2014-03-17journal-remote: HTTP(s) supportZbigniew Jędrzejewski-Szmek
The whole tool is made dependent on µhttpd availability. It should be easy to make the µhttpd parts conditional, but since transfer over HTTP seems to be the primary use case, currently this is not done. Current implementation uses nested epoll loops: sd-event is used for the external event loop, and µhttpd uses epoll in its own loop. Unfortunately µhttpd does not expose enough information to add the descriptors it uses to the external event loop. This means that starvation of other events is possible, if one of the inner µhttpd loops is constantly busy. This means that µhttpd servers should not be mixed with other sources. The TLS authentication parts haven't been really tested properly, and should not be take too seriously.
2014-03-17journal-remote: tool to receive messages over the networkZbigniew Jędrzejewski-Szmek
2014-03-17journal-gatewayd: log to journal from gnutlsZbigniew Jędrzejewski-Szmek
Prefix "gnutls: " is added. Some semi-random mapping of gnutls levels to syslog levels is done, but since gnutls levels seem to be used rather loosely, most end up as debug.
2014-03-15zsh completion: Install _sd_machines with _machinectlWieland Hoffmann
_machinectl uses _sd_machines to provide a list of all available machines.
2014-03-14journald: add support for wall forwardingSebastian Thorarensen
This will let journald forward logs as messages sent to all logged in users (like wall). Two options are added: * ForwardToWall (default yes) * MaxLevelWall (default emerg) 'ForwardToWall' is overridable by kernel command line option 'systemd.journald.forward_to_wall'. This is used to emulate the traditional syslogd behaviour of sending emergency messages to all logged in users.
2014-03-14logind: automatically remove SysV + POSIX IPC objects when the users owning ↵Lennart Poettering
them fully log out
2014-03-14timedated: add SNTP client/query hookup (unused for now)Kay Sievers
2014-03-12build-sys: make sure we rebuild manpages when doing releasesZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=76056
2014-03-11build-sys: Fix move-to-rootlibdirsystemd/v211Mike Gilbert
Since we now use ln -s --relative, using this sed statement is redundant and causes broken symlinks to be installed.
2014-03-11build-sys: add libsystemd-label to network/dhcp usersKay Sievers
2014-03-11build-sys: we still want to rebuild the tarball though on uploadLennart Poettering
2014-03-11build-sys: when I upload the tarball, don't run the whole distcheck thing againLennart Poettering
I run this anyway, and given how slow it is now due to -flto, let's make my workflow a bit faster...
2014-03-11build-sys: prepare release 211Lennart Poettering
2014-03-11build-sys: sign releasesZbigniew Jędrzejewski-Szmek
2014-03-10nspawn: add --image= switch to boot GPT disk images that follow the ↵Lennart Poettering
Discoverable Partitions Specification
2014-03-07build-sys: Don't distribute generated udev ruleArmin K
It contains hardcoded path to systemd-sysctl executable which is /usr/lib/systemd/systemd-sysctl on latest stable release and as such it will complain at runtime if rootprefix != prefix [zj: readd the file to nodist_udevrules_DATA]
2014-03-06generators: rework mount generatorsLennart Poettering
- Add support for finding and mounting /srv based on GPT data, similar to how we already handly /home. - Share the fsck logic between GPT, EFI and fstab generators - Make sure we never run the EFI generator inside containers - Drop DefaultDependencies=no from EFI mount units - Other fixes
2014-03-04add bash completion for systemd-catThomas Hindoe Paaboel Andersen
2014-03-03build-sys: work around broken ln --relative -s -fLennart Poettering
As it appears "ln -s --relative" in conjunction with "-f" is broken, let's work around that by explicitly remove the destination of the symlink before we create it. https://bugzilla.redhat.com/show_bug.cgi?id=1072103
2014-03-03sd-network: IPv4 link-local support [v2]Umut Tezduyar Lindskog
Implements IPv4LL with respect to RFC 3927 (http://tools.ietf.org/rfc/rfc3927.txt) and integrates it with networkd. Majority of the IPv4LL state machine is taken from avahi (http://avahi.org/) project's autoip. IPv4LL can be enabled by IPv4LL=yes under [Network] section of .network file. IPv4LL works independent of DHCP but if DHCP lease is aquired, then LL address will be dropped. [tomegun: removed a trailing newline and a compiler warning]
2014-03-03add bash completion for systemd-detect-virtThomas Hindoe Paaboel Andersen
2014-03-03core: move ShowStatus type into the coreLennart Poettering
Let's make the scope of the show-status stuff a bit smaller, and make it private to the core, rather than shared API in shared/.
2014-03-03build-sys: prefer using ln --relative -s where appropriateLennart Poettering
By using --relative symlinks look nicer when dealing with OS image trees that are placed in arbitrary places of the OS.
2014-03-03Fix systemd-stdio-bridge symlinkMike Gilbert
The symlink is created in bindir (/usr/bin), and points to a binary which lives in rootlibexecdir (/lib/systemd or /usr/lib/systemd). A relative symlink does not work here.
2014-03-03bus: add sd_bus_track object for tracking peers, and port core over to itLennart Poettering
This is primarily useful for services that need to track clients which reference certain objects they maintain, or which explicitly want to subscribe to certain events. Something like this is done in a large number of services, and not trivial to do. Hence, let's unify this at one place. This also ports over PID 1 to use this to ensure that subscriptions to job and manager events are correctly tracked. As a side-effect this makes sure we properly serialize and restore the track list across daemon reexec/reload, which didn't work correctly before. This also simplifies how we distribute messages to broadcast to the direct busses: we only track subscriptions for the API bus and implicitly assume that all direct busses are subscribed. This should be a pretty OK simplification since clients connected via direct bus connections are shortlived anyway.