Lennart Poettering
8090763d76
Merge pull request #890 from fsateler/special-docs-v2
...
man: Clarify the difference between sysinit.target and basic.target
2015-08-06 10:08:40 +03:00
Lennart Poettering
f003a1fa80
Merge pull request #893 from zonque/networkd
...
libsystemd-network: plug memory leak
2015-08-06 10:06:15 +03:00
Daniel Mack
92d0218ed1
libsystemd-network: plug memory leak
...
Coverity #1315324
2015-08-06 08:54:29 +02:00
Zbigniew Jędrzejewski-Szmek
b747102da7
Merge pull request #889 from keszybz/man-systemctl-quiet
...
man: update description of --quiet
2015-08-05 21:15:17 -04:00
Zbigniew Jędrzejewski-Szmek
73974f6768
Merge branch 'hostnamectl-dot-v2'
...
Manual merge of https://github.com/systemd/systemd/pull/751 .
2015-08-05 21:02:41 -04:00
Zbigniew Jędrzejewski-Szmek
90365b043a
hostname-util: ignore case when checking if hostname is localhost
2015-08-05 20:49:21 -04:00
Zbigniew Jędrzejewski-Szmek
ae691c1d93
hostname-util: get rid of unused parameter of hostname_cleanup()
...
All users are now setting lowercase=false.
2015-08-05 20:49:21 -04:00
Zbigniew Jędrzejewski-Szmek
17eb9a9ddb
hostnamectl: allow trailing dot on fqdn
...
When the user requests to set hostname, and we are setting both
pretty and static hostnames, and the name is a valid FQDN, we
use it as the static hostname, and unset the pretty hostname.
The change is that a FQDN with a trailing dot is accepted and ignored.
https://bugzilla.redhat.com/show_bug.cgi?id=1238246
Lowercasing of the static name is not done anymore.
$ hostnamectl set-hostname Foobar.
=> static is "Foobar", pretty is "Foobar."
$ hostnamectl set-hostname Foobar.org.
=> static is "Foobar.org", pretty is unset
$ hostnamectl set-hostname Foobar.org..
=> static is "Foobar.org", pretty is "Foobar.org.."
2015-08-05 20:49:21 -04:00
Zbigniew Jędrzejewski-Szmek
79f17ea6f8
networkd: allow trailing dot on fqdn in config file
2015-08-05 20:49:20 -04:00
Zbigniew Jędrzejewski-Szmek
34ad609010
firstboot: allow a trailing dot on fqdn
2015-08-05 20:49:20 -04:00
Zbigniew Jędrzejewski-Szmek
8fb4944358
hostname-util: add relax parameter to hostname_is_valid
...
Tests are modified to check behaviour with relax and without relax.
New tests are added for hostname_cleanup().
Tests are moved a new file (test-hostname-util) because there's
now a bunch of them.
New parameter is not used anywhere, except in tests, so there should
be no observable change.
2015-08-05 20:49:20 -04:00
Felipe Sateler
913a986914
man: Clarify difference between basic.target and sysinit.target
2015-08-05 21:26:11 -03:00
Felipe Sateler
1abc8ae604
man: Clarify that basic.target does not pull in remote filesystems
...
Also note /var, /tmp or /var/tmp as special cases, should either of
those be a remote filesystem.
2015-08-05 21:26:11 -03:00
Zbigniew Jędrzejewski-Szmek
bbd46aadf3
man: update description of --quiet
...
This description should provide the general rule, without
listing all the subcommands, which is bound to get out of date
too often.
https://github.com/systemd/systemd/issues/216
2015-08-05 20:21:19 -04:00
Zbigniew Jędrzejewski-Szmek
a5ba84b7f2
build-sys: allow skipping installation of completions
...
./configure --with-bashcompletiondir=no or --without-bashcompletiondir
now works as expected. Similarly for zsh.
https://github.com/systemd/systemd/issues/533
2015-08-05 20:16:34 -04:00
Daniel Mack
4306d66f59
Merge pull request #885 from keszybz/logitech-g500
...
hwdb: add Logitech G500 (another version)
2015-08-06 02:13:37 +02:00
Zbigniew Jędrzejewski-Szmek
3d5c0e15b0
hwdb: add Logitech G500 (another version)
...
https://github.com/systemd/systemd/issues/562
2015-08-05 19:15:05 -04:00
Daniel Mack
e6898d854d
Merge pull request #881 from jrobeson/remove-fedup-todos
...
TODO: remove obsolete fedup related todos
2015-08-06 01:13:21 +02:00
Daniel Mack
7c43bfecfa
Merge pull request #883 from phomes/bool_vs_error_codes
...
tree-wide: do not return error codes as bool
2015-08-06 01:12:45 +02:00
Daniel Mack
c2f147382d
Merge pull request #882 from phomes/indentation
...
tree-wide: fix indentation
2015-08-06 01:12:05 +02:00
Thomas Hindoe Paaboel Andersen
756775814c
tree-wide: do not return error codes as bool
2015-08-06 00:49:45 +02:00
Thomas Hindoe Paaboel Andersen
7d6884b65e
tree-wide: fix indentation
2015-08-06 00:44:19 +02:00
Johnny Robeson
caaf2d1f19
TODO: remove obsolete fedup related todos
...
Fedup is being replaced by a dnf plugin that relies on systemd offline
updates as per
https://fedoraproject.org/wiki/Changes/DNF_System_Upgrades
2015-08-05 17:28:29 -04:00
Tom Gundersen
511d2ffc8c
Merge pull request #878 from poettering/network-dhcp-array-fix
...
network: make enough space for string
2015-08-05 22:58:55 +02:00
Lennart Poettering
30afef872e
network: make enough space for string
...
Follow-up for PR #877 .
2015-08-05 22:25:14 +03:00
Lennart Poettering
b5a306ef73
Merge pull request #877 from crawford/dhcp-private-options-v4
...
networkd: save private-zone DHCP options
2015-08-05 22:20:36 +03:00
Kay Sievers
8dbf626535
udev: uaccess - do not log error when device node disappears
...
https://github.com/systemd/systemd/issues/875
2015-08-05 20:33:48 +02:00
Alex Crawford
9b57d9aee4
networkd: clean up duplicate code
2015-08-05 09:00:57 -07:00
Alex Crawford
a073309fb7
networkd: serialize the private options
...
Save the private options along side the rest of the options in the lease
files.
2015-08-05 09:00:57 -07:00
Alex Crawford
7e753d9d28
networkd: add private options to lease struct
...
This stores private-zone DHCP options inside of their respective DHCP
lease. These options aren't used by networkd (what would it do with
them?), but saving them will allow other programs to query the values.
To improve performance, the options are stored in ascending order by
tag.
2015-08-05 09:00:57 -07:00
Lennart Poettering
b7cefda16a
Merge pull request #876 from zonque/logind
...
logind: switch to sd_bus_track helper
2015-08-05 18:48:45 +03:00
Daniel Mack
3cde9e8fa0
logind: switch to sd_bus_track helper
...
Let logind use the sd_bus_track helper object to track the controllers of
sessions. This does not only remove quite some code but also kills the
unconditional matches for all NameOwnerChanged signals.
The latter is something we should never ever do, as it wakes up the daemon
every time a client connects, which doesn't scale.
2015-08-05 17:06:45 +02:00
Lennart Poettering
652f0e397f
Merge pull request #874 from richardmaw-codethink/doc-nspawn-machine-search-path-v2
...
man: Reference the canonical location of the search path in systemd-nspawn's documentation of the --machine option. (v2)
2015-08-05 15:11:27 +03:00
Richard Maw
32b64cce23
man: point nspawn --machine to machinectl search-path
...
The --machine option used to describe searching for machines in
/var/lib/machines, which is not the whole story, so let's link to where
it's described in more detail.
2015-08-05 12:01:16 +00:00
Daniel Mack
94029f6c3e
Merge pull request #871 from poettering/journald-meta-fields
...
journald: fix count of object meta fields
2015-08-05 11:09:48 +02:00
Lennart Poettering
2f6dbdb408
Merge pull request #864 from phomes/master
...
hwdb: add Logitech LX8 DPI and wheel click settings
2015-08-05 11:40:34 +03:00
Lennart Poettering
704e4fe7a1
journald: fix count of object meta fields
...
There are 12 object meta fields created in dispatch_message_real(), but
we only allocated space for 11. Fix this.
Fixes #866 .
2015-08-05 11:31:52 +03:00
Daniel Mack
075b226673
Merge pull request #869 from poettering/tmpfiles-enoent
...
sysctl: reword warning message a bit
2015-08-05 10:12:29 +02:00
Lennart Poettering
384c5b44fe
sysctl: reword warning message a bit
...
Let's make this less dramatic, in order to not confuse people too much
making them think that this was something to actually fix.
2015-08-05 11:02:24 +03:00
Lennart Poettering
b2627f5ac4
Merge pull request #868 from jsynacek/jsynacek/sysctl
...
sysctl: bump loglevel when attempting to write invalid values [v2]
2015-08-05 10:58:54 +03:00
Jan Synacek
9bcfdd74fc
sysctl: bump loglevel when attempting to write invalid values
2015-08-05 09:42:50 +02:00
Daniel Mack
9ae742ea4f
Merge pull request #865 from mattst88/alpha-getxpid
...
Use getxpid syscall on alpha for raw_getpid()
2015-08-05 07:38:08 +02:00
Matt Turner
a242a99d42
Use getxpid syscall on alpha for raw_getpid()
...
Alpha does not have a getpid syscall, but rather has getxpid to match
OSF/1.
2015-08-04 14:47:52 -07:00
Lennart Poettering
b736ee0b0c
Merge pull request #855 from richardmaw-codethink/machinectl-copy-to-from-relative-paths-v2
...
Allow relative paths in `machinectl copy-{from,to}` (v2)
2015-08-05 00:13:27 +03:00
Thomas Hindoe Paaboel Andersen
1ae2285324
gpt-auto-generator: remove unused variable
2015-08-04 22:36:21 +02:00
Thomas Hindoe Paaboel Andersen
75440a51b2
hwdb: add Logitech LX8 DPI and wheel click settings
2015-08-04 22:15:30 +02:00
Kay Sievers
5386501fcc
Merge pull request #857 from dvdhrm/proxy-reload
...
bus-proxy: add ExecReload=
2015-08-04 17:26:20 +02:00
Daniel Mack
ee80b4b297
Merge pull request #860 from walyong/smack_v11
...
Smack v11: set only the default smack process label if the command path has no execute label
2015-08-04 14:27:09 +02:00
Daniel Mack
5977db2a3a
Merge pull request #858 from dvdhrm/proxy-env
...
bus-proxy: discard invalid environment updates
2015-08-04 14:23:17 +02:00
WaLyong Cho
e419a0e310
core: set default process label only exec label is none
...
When command path has access label and no SmackProcessLabel= is not
set, default process label will be set. But if the default process
label has no rule for the access label of the command path then smack
access error will be occurred.
So, if the command path has execute label then the child have to set
its label to the same of execute label of command path instead of
default process label.
2015-08-04 21:11:24 +09:00