1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00
Commit Graph

25063 Commits

Author SHA1 Message Date
Thomas Hindoe Paaboel Andersen
662ea1b14a tree-wide: remove unused variables 2016-02-23 20:40:51 +01:00
Thomas Hindoe Paaboel Andersen
7c9337dae8 basic: mark unused variable as such 2016-02-23 20:40:51 +01:00
Lennart Poettering
c550f7a9b8 Merge pull request #2664 from zonque/bootchart-removal
Remove systemd-bootchart
2016-02-23 20:27:59 +01:00
Zbigniew Jędrzejewski-Szmek
51d97007ed Merge pull request #2723 from poettering/importd-man 2016-02-23 13:47:59 -05:00
Zbigniew Jędrzejewski-Szmek
ecb465354d man: style fixes 2016-02-23 13:47:30 -05:00
Lennart Poettering
9053aaad42 man: change recommended order of NSS modules in /etc/nsswitch.conf
So far we recommended placing "nss-mymachines" after "nss-resolve" in the order
of preference in /etc/nsswitch.conf. This change reverse this order.

Rationale: single-label names are resolved via LLMNR by resolved, which has to
time out if no peer by that name exists. By placing "nss-mymachines" first
(which always responds immediately) we avoid running into this timeout for most
containers. Both modules should return the same data if LLMNR is used by the
container anyway.

While we are at it, improve the man pages of the three NSS modules in other
ways a bit.
2016-02-23 18:26:35 +01:00
Lennart Poettering
d971033f6b Merge pull request #2708 from vcaputo/journal-restore-offline-state-on-error
journal: restore offline state on error
2016-02-23 16:55:16 +01:00
Lennart Poettering
0ab0c01490 Merge pull request #2717 from keszybz/networkctl-prettification
Networkctl prettification
2016-02-23 16:54:52 +01:00
Lennart Poettering
45bd485454 man: link some unit files to their online bus API documentation 2016-02-23 16:24:01 +01:00
Lennart Poettering
992afc106d man: add minimal man page for systemd-importd.service 2016-02-23 16:23:42 +01:00
Zbigniew Jędrzejewski-Szmek
4c3160f150 networkctl: only print lldp legend for capabilities that were actually seen 2016-02-23 08:50:52 -05:00
Zbigniew Jędrzejewski-Szmek
6b0132e4e7 basic: simplify ether_addr_is_null 2016-02-23 08:50:49 -05:00
Zbigniew Jędrzejewski-Szmek
953d28cc21 Fix two typos 2016-02-23 08:48:22 -05:00
Zbigniew Jędrzejewski-Szmek
1328bd9c3d man: update link to Fedora Cloud images
Better to use the mirror manager and https.
2016-02-23 08:48:22 -05:00
Daniel Mack
4c2bb6b3b3 architecture.h: remove PROC_CPUINFO_MODEL
This was only needed for bootchart, so it can go now.
2016-02-23 13:31:28 +01:00
Daniel Mack
232c84b2d2 Remove systemd-bootchart
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.
2016-02-23 13:30:09 +01:00
Martin Pitt
a9ae070941 Merge pull request #2709 from vcaputo/normalize_inc_dec_usage
tree-wide: make ++/-- usage consistent WRT spacing
2016-02-23 08:45:54 +01:00
Martin Pitt
16fe5e8b1d Merge pull request #2707 from teg/man-network
network: minor manpage clarifications
2016-02-23 08:25:13 +01:00
Martin Pitt
548bd139fe Merge pull request #2698 from poettering/personality
Personality fixes
2016-02-23 08:19:20 +01:00
Vito Caputo
313cefa1d9 tree-wide: make ++/-- usage consistent WRT spacing
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.
2016-02-22 20:32:04 -08:00
Vito Caputo
ec9ffa2cdd journal: restore offline state on error
If we fail to create the thread, technically we should leave the
offline_state as OFFLINE_JOINED, not OFFLINE_SYNCING.
2016-02-22 20:00:13 -08:00
Zbigniew Jędrzejewski-Szmek
c4bcaa4148 Merge pull request #2706 from whot/hwdb-updates
Lenovo T460 and P50 touchpad axis corrections
2016-02-22 19:56:23 -05:00
Tom Gundersen
788f37c725 man: link - add suggestion for debugging
udevadm test-builtin can be very useful for testing .link files, so add a reference.

Addresses issue #2406.
2016-02-23 01:25:32 +01:00
Tom Gundersen
2ae7505f01 man: network - clarify BindCarrier documentation
Make it clear that we are talking of links (in the sense used in networkd) and not ports.

Addresses issue #964.
2016-02-23 01:25:32 +01:00
Tom Gundersen
eb142d8ec1 man: network - improve IPv6Token documentation
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.
2016-02-23 01:25:32 +01:00
Peter Hutterer
401e559135 hwdb: reshuffle Lenovo entries to sort alphabetically by model 2016-02-23 09:52:21 +10:00
Peter Hutterer
26f667eac1 hwdb: add axis range corrections for the Lenovo T460 and P50 2016-02-23 09:52:07 +10:00
Lennart Poettering
4d080d7798 Merge pull request #2701 from keszybz/udev-rules
udev-rules cleanup fix
2016-02-22 23:25:36 +01:00
Lennart Poettering
13f41f6266 github: CONTRIBUTING.md moved, let's fix the link to it 2016-02-22 23:23:06 +01:00
Lennart Poettering
26fbedd7dc tests: add personality tests 2016-02-22 23:23:06 +01:00
Lennart Poettering
0c0fea07b8 util-lib: simplify personality() string matching 2016-02-22 23:23:06 +01:00
Lennart Poettering
d5b687e7c2 virt: make sure we don't ignore some errors 2016-02-22 23:23:06 +01:00
Lennart Poettering
7882632d5a man: extend the Personality= documentation
Among other fixes, add information about more architectures that are supported
these days.
2016-02-22 23:23:06 +01:00
Lennart Poettering
f2d1736c60 util-lib: support various ppc archs in personality logic 2016-02-22 23:23:06 +01:00
Lennart Poettering
6e5f1b5742 util-lib: use the architecture ids from architecture.h for personalities
We have this ids, hence let's use them universally.
2016-02-22 23:23:06 +01:00
Lennart Poettering
0f9ae7d73d build-sys: move shared/architecture.[ch] into basic/
After all, it is pretty generic, has no external deps besides libc, and is very
similar to virt.[ch] which is also in basic/
2016-02-22 23:23:06 +01:00
Martin Pitt
9fe436ae7d Merge pull request #2704 from poettering/lldp-internal-fix
build-sys: add missing header file to Makefile.am
2016-02-22 23:21:46 +01:00
Lennart Poettering
13b3cdb91f build-sys: add missing header file to Makefile.am
Fixes: #2700
2016-02-22 21:55:22 +01:00
Zbigniew Jędrzejewski-Szmek
916a8d4341 udev-rules: fix querying of attributes
faccessat returns 0 on success.

A cosmetic fix is also included: the slash was doubled unnecessarily.
2016-02-22 13:21:32 -05:00
Zbigniew Jędrzejewski-Szmek
587751eb66 udev-test.pl: add --strace option
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.
2016-02-22 13:21:32 -05:00
Tom Gundersen
7c7c0cbe64 Merge pull request #2685 from poettering/lldp-fixes2
lldp fixes, second iteration
2016-02-22 17:38:34 +01:00
Lennart Poettering
a4ae7f1d73 Merge pull request #2695 from mustrumr/fix-calendarspec-skip
calendarspec: fix find_next skipping times
2016-02-22 16:16:05 +01:00
Zbigniew Jędrzejewski-Szmek
83ea2049fc Merge pull request #2692 from ssahani/tunnel
networkd: tunnel fix tunnel address
2016-02-22 08:59:39 -05:00
Lennart Poettering
3535ed5949 Merge pull request #2694 from zonque/proxyarp-missing
missing.h: Explicitly check for IFLA_BRPORT_PROXYARP
2016-02-22 14:33:27 +01:00
Hristo Venev
a022d76e6a calendarspec: fix find_next skipping times
reset usec when bumping hours/minutes
2016-02-22 08:02:48 -05:00
Daniel Mack
26c34ab4ee missing.h: Explicitly check for IFLA_BRPORT_PROXYARP
RHEL explicitly disables IFLA_BRPORT_PROXYARP by renaming the enum value.

In order to support unpatched builds, we have two options:

a) redefine the enum value through missing.h and ignore the fact that it
   is really unsupported, or

b) omit that enum value on rtnl_prot_info_bridge_port_types[]

As we are not actually using this netlink type anywhere, and because it
is only hooked up for the sake of completeness, this patch opts for the
former.
2016-02-22 13:22:30 +01:00
Daniel Mack
357726c8be Merge pull request #2687 from poettering/resolved-fix-2683
networkd: make sure we allocate the NTA set before we add items to it
2016-02-22 09:59:07 +01:00
Daniel Mack
2c0608a33d Merge pull request #2686 from poettering/github-templates
add github issue template
2016-02-22 09:58:23 +01:00
Zbigniew Jędrzejewski-Szmek
493070f3dc Merge pull request #2688 from poettering/calendar-fix-2678
A fix for #2678
2016-02-21 21:29:41 -05:00
Lennart Poettering
e308ddcae2 util-lib: fix returned error code
Make sure we propagate errors properly.
2016-02-21 23:27:20 +01:00