Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-14 | sd-event: do not arm timers unnecessarily | Tom Gundersen | |
Rather than recalculating the next timeout on every loop, we only do it when something changed. | |||
2014-08-14 | networkctl: also use the same color logic when running "networkctl status" ↵ | Lennart Poettering | |
without arguments | |||
2014-08-14 | networkctl: add the same color logic to "list" and "status" outputs | Lennart Poettering | |
And always put operational state first, setup state second. | |||
2014-08-14 | networkctl: name setup state variable setup_state | Lennart Poettering | |
2014-08-14 | networkctl: update column header to new 'setup' state naming | Lennart Poettering | |
2014-08-14 | resolved: enable LLMNR | Lennart Poettering | |
THis was accidentally broken, as we truned off LLMNR far to frequently, where we only wanted to turn off LLMNr on IPV6 on kernels lacking support for it. | |||
2014-08-14 | resolved: allow passing on which protocol, family and interface to look ↵ | Lennart Poettering | |
something up Also, return on which protocol/family/interface we found something. | |||
2014-08-13 | sd-networkd: rename link_get_state to link_get_setup_state | Tom Gundersen | |
Suggested by Kay and Lennart. | |||
2014-08-13 | sd-network: rename operstates 'down' -> 'off' and 'up' -> 'no-carrier' | Tom Gundersen | |
Suggested by Lennart and Kay. | |||
2014-08-13 | sd-network: /_get_link_/_link_get_/ | Tom Gundersen | |
The link is the 'object', so make this in line with our usual naming convention. Suggested by Kay and Lennart. | |||
2014-08-13 | networkctl: color status dump without link name | Daniel Buch | |
Lets mimic colored operational state dump as if link name is appiled | |||
2014-08-13 | timesyncd: don't trip up if networkd isn't running and can't tell us any NTP ↵ | Lennart Poettering | |
servers | |||
2014-08-13 | journald: Fix off-by-one error in "Missed X kernel messages" warning | Eelco Dolstra | |
On receiving a message, "kernel_seqnum" is set to "serial + 1". So subtracting 1 will cause messages like "Missed 0 kernel messages", which should be "Missed 1 kernel messages". | |||
2014-08-13 | sd-network: bring comments up-to-date | Lennart Poettering | |
2014-08-13 | mount-setup: fix counting of early mounts without SMACK | Lennart Poettering | |
http://lists.freedesktop.org/archives/systemd-devel/2014-August/021772.html | |||
2014-08-13 | switch-root: not only mkdir the parents but the target dir | Harald Hoyer | |
switch-root would only mkdir the parents of the mount move directories. With this patch, the mount move target directory is created to make switch-root to an empty root directory work. | |||
2014-08-13 | bus-bloom: Fix bloom filter calculation | Denis Kenzior | |
i is being used incorrectly. It is used to refer to the number of indexes calculated so far (out of k). However, it is also incremented when a new hash key is being used. This means that the results are inconsistent with the desired behavior described in PORTING-DBUS1 document. The expected result is that for the default values of m and k (512, 8) the 1st hash key should produce 4 indexes. The second hash key is used for the next 4 and overall 8 indexes into m are calculated. The current behavior results in 6 indexes being calculated, 4 coming from hash key 1 and 2 others from hash key 5. | |||
2014-08-13 | networkctl: add colors to admin state and fix alignment | Tom Gundersen | |
It is useful to color in the admin state both to easily spot failed links, but also to quickly distinguish between links that are fully configured and in degraded mode (only IPv4LL) or in degraded mode and still waiting for DHCP. | |||
2014-08-13 | sd-network: rename state INITALIZING to PENDING and expose as any other state | Tom Gundersen | |
This is the state when we are waiting for udev to initialize the device, and waiting for libudev and rtnl to be in sync. In the future we probably will also be waiting for nl80211. At this point we do not yet have enough information to know whether or not networkd should be handling the device. | |||
2014-08-13 | resolved: skip IPv6 LLMNR if IPv6 is not available | Lennart Poettering | |
2014-08-13 | login: share VT-signal handler between sessions | David Herrmann | |
sd-event does not allow multiple handlers for a single signal. However, logind sets up signal handlers for each session with VT_PROCESS set (that is, it has an active controller). Therefore, registering multiple such controllers will fail. Lets make the VT-handler global, as it's mostly trivial, anyway. This way, the sessions don't have to take care of that and we can simply acknowledge all VT-switch requests as we always did. | |||
2014-08-12 | networkd: dhcp4 - fix copy-paste error | Tom Gundersen | |
Reported by poma. | |||
2014-08-12 | networkd: disable ipv4ll default routes by default | Tom Gundersen | |
This causes machines without connectivity to hang where they would otherwise fail. Keep it opt-in for now, but consider whether we sholud just drop it. | |||
2014-08-12 | sd-network: split the operstate 'unknown' into 'down' and 'up' | Tom Gundersen | |
2014-08-12 | networkd: link - split out dhcp4 handling | Tom Gundersen | |
2014-08-12 | udev: link-config - fix naming policy | Tom Gundersen | |
Don't exit the name-finding loop when the 'kernel' policy is detected. We should still find a fallback name if possible in the (very likely) case that no kernel name is set at all. | |||
2014-08-12 | udev: link-config - whitespace | Tom Gundersen | |
Don't overflow 80 cols unneccessarily (we are ok with doing it when it improves readability, but that's not the case here). | |||
2014-08-12 | networkd: link - fix IN_SET usage | Tom Gundersen | |
2014-08-12 | networkd: link - split out ipv4ll handling | Tom Gundersen | |
2014-08-12 | networkd: link - make check for whether addresses/routes are being ↵ | Tom Gundersen | |
configured implicit | |||
2014-08-12 | networkd: split out networkd-link.h | Tom Gundersen | |
2014-08-12 | timesyncd: beef up NTP server selection logic, and acquire NTP servers from DHCP | Lennart Poettering | |
2014-08-12 | resolved: return exit code of event loop | Lennart Poettering | |
2014-08-12 | resolved: unify logic how we flush out DNS servers we learnt | Lennart Poettering | |
2014-08-12 | sd-resolve: scale number of threads by queries currently being processed, ↵ | Lennart Poettering | |
rather than number of queries currently referenced This way a query that blocks for a longer time, and whose reference has been dropped won't block subsequent lookups from finishing. | |||
2014-08-12 | sd-resolve: fix allocation if query ids, never reuse them | Lennart Poettering | |
2014-08-12 | sd-resolve: keep floating query referenced while we access it | Lennart Poettering | |
2014-08-12 | timesyncd: split up into multiple source file | Lennart Poettering | |
The source file got much too large, hence split up the sources into multiple per-object files, similar in style to resolved. | |||
2014-08-12 | networkctl: make networkctl status without link name show all local IP addresses | Lennart Poettering | |
2014-08-12 | networkctl: when outputing a list fo links, sort them by ifindex | Lennart Poettering | |
2014-08-12 | networkctl: add a bit of color to the output | Lennart Poettering | |
2014-08-12 | networkctl: add new switch "-a" to "networkctl status" to show verbose ↵ | Lennart Poettering | |
status of all local links | |||
2014-08-12 | networkctl: properly format MAC addresses | Lennart Poettering | |
2014-08-12 | sd-network: add API to output all collected system-wide NTP and DNS servers | Lennart Poettering | |
Also, output the collected information in "networkctl". | |||
2014-08-12 | timesyncd: move the generic sockaddr_equal() call to socket-util.h | Lennart Poettering | |
2014-08-12 | networkd: expose a global list of DNS and NTP servers in the state file | Lennart Poettering | |
2014-08-12 | resolved: filter out duplicate DNS servers when writing resolv.conf | Lennart Poettering | |
2014-08-12 | networkd: update manager_save() to use fflush_and_check() to simplify things ↵ | Lennart Poettering | |
a bit | |||
2014-08-12 | resolved: initialize counter | Thomas Hindoe Paaboel Andersen | |
introduced in: a407657425a3e47fd2b559cd3bc800f791303f63 | |||
2014-08-12 | networkd: fix build | Lennart Poettering | |