summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove systemd-bootchartDaniel Mack2016-02-2320-3265/+0
| | | | | | | This commit rips out systemd-bootchart. It will be given a new home, outside of the systemd repository. The code itself isn't actually specific to systemd and can be used without systemd even, so let's put it somewhere else.
* Merge pull request #2709 from vcaputo/normalize_inc_dec_usageMartin Pitt2016-02-2384-222/+222
|\ | | | | tree-wide: make ++/-- usage consistent WRT spacing
| * tree-wide: make ++/-- usage consistent WRT spacingVito Caputo2016-02-2384-222/+222
| | | | | | | | | | | | Throughout the tree there's spurious use of spaces separating ++ and -- operators from their respective operands. Make ++ and -- operator consistent with the majority of existing uses; discard the spaces.
* | Merge pull request #2707 from teg/man-networkMartin Pitt2016-02-232-7/+11
|\ \ | | | | | | network: minor manpage clarifications
| * | man: link - add suggestion for debuggingTom Gundersen2016-02-231-0/+4
| | | | | | | | | | | | | | | | | | udevadm test-builtin can be very useful for testing .link files, so add a reference. Addresses issue #2406.
| * | man: network - clarify BindCarrier documentationTom Gundersen2016-02-231-5/+3
| | | | | | | | | | | | | | | | | | Make it clear that we are talking of links (in the sense used in networkd) and not ports. Addresses issue #964.
| * | man: network - improve IPv6Token documentationTom Gundersen2016-02-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Enabling router advertisement may even trigger SLAAC or DHCPv6 to be used to configure IPv6 addresses on the link. It may not be obvious that only in the SLAAC case will the Token have an effect. Clarify this in the man page. Addresses issue #863.
* | | Merge pull request #2698 from poettering/personalityMartin Pitt2016-02-238-64/+68
|\ \ \ | |_|/ |/| | Personality fixes
| * | github: CONTRIBUTING.md moved, let's fix the link to itLennart Poettering2016-02-221-1/+1
| | |
| * | tests: add personality testsLennart Poettering2016-02-221-0/+26
| | |
| * | util-lib: simplify personality() string matchingLennart Poettering2016-02-222-104/+13
| | |
| * | virt: make sure we don't ignore some errorsLennart Poettering2016-02-221-0/+2
| | |
| * | man: extend the Personality= documentationLennart Poettering2016-02-221-8/+11
| | | | | | | | | | | | | | | Among other fixes, add information about more architectures that are supported these days.
| * | util-lib: support various ppc archs in personality logicLennart Poettering2016-02-221-0/+59
| | |
| * | util-lib: use the architecture ids from architecture.h for personalitiesLennart Poettering2016-02-221-23/+28
| | | | | | | | | | | | We have this ids, hence let's use them universally.
| * | build-sys: move shared/architecture.[ch] into basic/Lennart Poettering2016-02-223-2/+2
| | | | | | | | | | | | | | | After all, it is pretty generic, has no external deps besides libc, and is very similar to virt.[ch] which is also in basic/
* | | Merge pull request #2706 from whot/hwdb-updatesZbigniew Jędrzejewski-Szmek2016-02-231-4/+18
|\ \ \ | |_|/ |/| | Lenovo T460 and P50 touchpad axis corrections
| * | hwdb: reshuffle Lenovo entries to sort alphabetically by modelPeter Hutterer2016-02-231-5/+5
| | |
| * | hwdb: add axis range corrections for the Lenovo T460 and P50Peter Hutterer2016-02-231-0/+14
|/ /
* | Merge pull request #2701 from keszybz/udev-rulesLennart Poettering2016-02-222-3/+10
|\ \ | |/ |/| udev-rules cleanup fix
| * udev-rules: fix querying of attributesZbigniew Jędrzejewski-Szmek2016-02-221-3/+3
| | | | | | | | | | | | faccessat returns 0 on success. A cosmetic fix is also included: the slash was doubled unnecessarily.
| * udev-test.pl: add --strace optionZbigniew Jędrzejewski-Szmek2016-02-221-0/+7
| | | | | | | | | | | | It's useful when trying to see what the tests are doing. I hardcoded '-efile' as the option to strace, but in the future it might be useful to make this configurable.
* | Merge pull request #2704 from poettering/lldp-internal-fixMartin Pitt2016-02-221-0/+1
|\ \ | | | | | | build-sys: add missing header file to Makefile.am
| * | build-sys: add missing header file to Makefile.amLennart Poettering2016-02-221-0/+1
|/ / | | | | | | Fixes: #2700
* | Merge pull request #2685 from poettering/lldp-fixes2Tom Gundersen2016-02-2296-3054/+2816
|\ \ | |/ |/| lldp fixes, second iteration
| * man: document the new EmitLLDP= .network settingLennart Poettering2016-02-211-2/+22
| | | | | | | | Also, beef up the LLDP documentation a bit.
| * update TODOLennart Poettering2016-02-211-1/+8
| |
| * sd-lldp: beef up callback logicLennart Poettering2016-02-214-38/+88
| | | | | | | | | | | | | | Instead of just notifying about the fact that something changed in the database, actually inform the callback what precisely changed. This is useful, so that the LLDP tx logic can be put into "fast" mode as soon as a previously unknown peer appears, as suggested by the LLDP spec.
| * networkctl: ellipsize long LLDP fields in table outputLennart Poettering2016-02-211-0/+25
| |
| * networkctl: add missing newline to printf() format stringLennart Poettering2016-02-211-1/+1
| |
| * network: turn on LLDP tx+rx for the default container network configurationLennart Poettering2016-02-212-0/+4
| | | | | | | | | | Containers are relatively trusted and the veth tunnels are small networks, hence let's turn on LLDP both ways for them.
| * networkd: add basic LLDP transmission supportLennart Poettering2016-02-219-4/+439
| | | | | | | | | | | | Let's add some minimalistic LLDP sender support. The idea is that this is either on or off, and all fields determined automatically rather than configured explicitly.
| * sd-lldp: filter out LLDP messages coming from our own MAC addressLennart Poettering2016-02-216-1/+55
| | | | | | | | | | Let's not get confused should we be connected to some bridge that mirrors back our packets.
| * import: don't claim we had copied a settings file if we didn'tLennart Poettering2016-02-212-4/+8
| |
| * man: update references to fedora cloud imageLennart Poettering2016-02-211-4/+4
| | | | | | | | We are now at F23, hence let's use that as example.
| * networkd: make a couple of functions staticLennart Poettering2016-02-212-15/+22
| | | | | | | | | | These functions are nowadays used only within networkd-link.c, hence ther's no point in littering our public namespace with them.
| * networkd: rework when LLDP reception is enabledLennart Poettering2016-02-211-16/+29
| | | | | | | | | | | | | | Being on the link-layer LLDP is nothing we should turn on only when there's a link beat. Instead, turn it on, whenever the iface is UP regardless if there's a link beat or not. This closes the race between a link beat being available and us subscribing to LLDP as a result.
| * networkctl: print a nice warning when networkd isn't runningLennart Poettering2016-02-211-0/+10
| |
| * networkctl: if there's no data from networkd about an iface show as "unmanaged"Lennart Poettering2016-02-211-2/+6
| | | | | | | | | | | | | | | | After all, if we know that an interface exists but networkd did not store any info about it, then it's definitely unmanaged by it. (Note that we add this fix-up to networkctl, and not to sd-network, simply because a missing file might also be result of the interface not existing.)
| * sd-network: use xsprintf() instead of asprintf() where we canLennart Poettering2016-02-211-14/+13
| |
| * networkctl: add a couple of (void) castsLennart Poettering2016-02-211-17/+17
| | | | | | | | Where we knowingly ignore possible error results, let's cast to void.
| * networkd: rework how carrier bindings are serializedLennart Poettering2016-02-214-38/+117
| | | | | | | | | | Instead of serializing the interface name, expose the interface index, since that's the only stable identifier.
| * networkd: turn on LLDP reception by default, in "routers-only" modeLennart Poettering2016-02-212-1/+3
| | | | | | | | | | | | | | | | This way "networkctl status" becomes a bit more useful by default, as router information is just visible, without any further configuration. LLDP reception is fully passive and relatively low simple and low traffic, hence this should be safe to enable by default.
| * networkctl: extend "networkctl status" per-interface output to include LLDP infoLennart Poettering2016-02-211-33/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a small and useful field to the "systemctl status" output: the router(s) the interface is connected to as reported via LLDP. Example output: ● 2: enp0s25 Link File: /usr/lib/systemd/network/99-default.link Type: ether State: degraded (configured) Path: pci-0000:00:19.0 Driver: e1000e Connected To: GS1900 on port 2 (foobar) i.e. the last line is the relevant one.
| * networkctl: make use of xsprintf() where we canLennart Poettering2016-02-211-3/+3
| |
| * networkctl: simplify networkctlLennart Poettering2016-02-211-62/+52
| | | | | | | | | | Move decode_and_sort_links() into acquire_info_all() which is the only place this is used. The result is then nicely symmetric to acquire_info_strv().
| * networkctl: rework interface data acquisitionLennart Poettering2016-02-211-139/+81
| | | | | | | | | | | | Let's always use the same calls to acquire interface data. Specifically port "networkctl status" to use acquire_link_info_strv() and acquire_link_info_all() like the other calls.
| * networkctl: extend "networkctl list" and "networctl lldp" to optionally take ↵Lennart Poettering2016-02-212-49/+135
| | | | | | | | | | | | | | interface names This way, the output may be reduced to only show data about the specified interfaces.
| * networkctl: add new call that unifies link data acquisition between "status" ↵Lennart Poettering2016-02-211-30/+30
| | | | | | | | and "lldp" verbs
| * networkctl: fix dispatch_verb() tableLennart Poettering2016-02-211-3/+3
| | | | | | | | VERB_DEFAULT may only appear once.