Zbigniew Jędrzejewski-Szmek
d59be2cf70
man: reword description of Hostname=
...
Also add dots at the end of sentences.
2015-07-24 23:43:51 -04:00
Kay Sievers
c11ae0bace
bootctl: add missing newline
2015-07-25 03:26:32 +02:00
Daniel Mack
9525d75281
Merge pull request #718 from phomes/master
...
ata_id: remove unused union member
2015-07-25 02:08:00 +02:00
Thomas Hindoe Paaboel Andersen
7bea001ea4
ata_id: remove unused union member
...
The last use of octa was removed in 01f61d331b
2015-07-25 00:14:13 +02:00
Daniel Mack
816b4547da
resolved: fix DNS_TYPE_ANY vs DNS_CLASS_ANY confusion
...
Assigning a TPYE enum value to a class variable is certainly wrong.
However, they both have the same value, so the result was correct
nevertheless.
2015-07-24 19:54:00 +02:00
Daniel Mack
b83b298102
Merge pull request #704 from richardmaw-codethink/empty-arg-unquote
...
unquote_first_word: parse ` '' ` as an empty argument instead of no arg
2015-07-24 19:49:29 +02:00
Tom Gundersen
0b071992bb
Merge pull request #714 from zonque/automount
...
automount: do not start expiration timer for TimeoutIdleSec=0
2015-07-24 19:15:54 +02:00
Daniel Mack
93a3b53b2b
automount: do not start expiration timer for TimeoutIdleSec=0
...
The timer value for automount unit specified with TimeoutIdleSec= is rounded
up to one second if that directive is set to 0.
Fix this by bailing early in automount_enter_runnning() in case no timeout is
requested.
2015-07-24 18:33:52 +02:00
Lennart Poettering
408d84e50e
Merge pull request #713 from daurnimator/577-sd_bus-vtable-methods-do-not-have-offset
...
sd-bus: remove _VTABLE from new method vtable initialiser
2015-07-24 17:10:02 +02:00
daurnimator
29ddae7b78
sd-bus: remove _VTABLE from new method vtable initialiser
2015-07-24 22:59:19 +10:00
Lennart Poettering
a60d828052
Merge pull request #712 from daurnimator/577-sd_bus-vtable-methods-do-not-have-offset
...
sd-bus: Add offset member for vtable methods
2015-07-24 14:53:21 +02:00
daurnimator
09c8a7c63c
sd-bus: add 'offset' member for vtable methods
...
Defaults to zero, which retains the current behaviour.
Fixes #577
2015-07-24 22:22:54 +10:00
Daniel Mack
6cb22db330
Merge pull request #711 from zonque/const
...
tree-wide: do not use _cleanup_free_ on const pointers
2015-07-24 14:01:10 +02:00
Daniel Mack
45d9a30414
tree-wide: do not use _cleanup_free_ on const pointers
...
free() cannot be used with const pointers. However, our _cleanup_free_
handler features cast logic that hides that qualifier, so we don't get a
warning.
2015-07-24 13:52:30 +02:00
David Herrmann
95cdf5e3a9
sd-bus: don't treat KDBUS_ITEM_TIMESTAMP as unknown item
...
In bus_kernel_translate_message(), we print a DEBUG message on unknown
items. But right now, we also print this message for KDBUS_ITEM_TIMESTAMP
despite parsing it properly. Fix this!
2015-07-24 12:53:23 +02:00
Daniel Mack
603d5da504
Merge pull request #606 from dvdhrm/bus-proxy-pedantic-matches2
...
bus-proxy: never pass on unmatched broadcasts (v2)
2015-07-24 12:50:56 +02:00
Daniel Mack
77b7f80509
Merge pull request #695 from poettering/journal-fixes
...
Journal fixes
2015-07-24 12:04:30 +02:00
Daniel Mack
7121b2152a
Merge pull request #702 from ldzhong/fix
...
udev: fix parameter process
2015-07-24 11:59:30 +02:00
Richard Maw
14e685c29d
unquote_first_word: parse '' as an empty argument instead of no argument
2015-07-24 09:29:46 +00:00
Lidong Zhong
e14b6f211c
udev: fix parameter process
2015-07-24 16:39:55 +08:00
Daniel Mack
a20fbee75a
Merge pull request #699 from ysbnim/master
...
exit-status: add missing string for EXIT_SMACK_PROCESS_LABEL
2015-07-24 10:20:40 +02:00
Daniel Mack
b4c279bea7
Merge pull request #696 from poettering/automount-expiry-freq
...
automount: lower the idle polling frequency a bit
2015-07-24 10:09:06 +02:00
Daniel Mack
4026f52a24
Merge pull request #697 from poettering/service-bus-name
...
core: print a nicer warning when two units have the same BusName= set…
2015-07-24 10:08:44 +02:00
Sungbae Yoo
94b573bd1a
exit-status: add a missing string for EXIT_SMACK_PROCESS_LABEL
2015-07-24 14:51:05 +09:00
Lennart Poettering
fc1ba5d193
core: print a nicer warning when two units have the same BusName= setting
...
This should make issues like #609 easier to debug.
2015-07-24 03:50:36 +02:00
Lennart Poettering
dbf5cc473f
automount: lower the idle polling frequency a bit
...
The autofs kernel idle logic requires us to poll the kernel for
idleness. This is of course suboptimal, but cannot be fixed without
kernel change.
Currently the polling frequency is set to 1/10 of the idle timeout. This
is quite high, as seen in #571 . Let's lower this to 1/3.
2015-07-24 03:13:57 +02:00
Lennart Poettering
e80acc51ae
journal: uppercase first character in verify error messages
...
In the english language the first character of a sentence is supposed to
be uppercase. Let's make sure this also applies to the journal
verification error messages.
2015-07-24 02:18:13 +02:00
Lennart Poettering
02ab86c732
journalctl: properly detect empty journal files
...
When we encounter a journal file with exactly zero entries, print a nice
message and exit, and don't print a weird error message.
2015-07-24 02:10:32 +02:00
Lennart Poettering
bca9e39dfa
journal: explain the error when we find a non-DATA object that is compressed
...
Only objects of type DATA may be compressed, generate a message about
that, like we do for all other errros.
2015-07-24 02:02:07 +02:00
Lennart Poettering
8dc37a8525
journal: when verifying journal files, handle empty ones nicely
...
A journal file that carries no objects should be considered valid.
2015-07-24 02:00:43 +02:00
Lennart Poettering
dade37d403
journal: avoid mapping empty data and field hash tables
...
When a new journal file is created we write the header first, then sync
and only then create the data and field hash tables in them. That means
to other processes it might appear that the files have a valid header
but not data and field hash tables. Our reader code should be able to
deal with this.
With this change we'll not map the two hash tables right-away after
opening a file for reading anymore (because that will of course fail if
the objects are missing), but delay this until the first time we access
them. On top of that, when we want to look something up in the hash
tables and we notice they aren't initialized yet, we consider them
empty.
This improves handling of some journal files reported in #487 .
2015-07-24 01:55:45 +02:00
Lennart Poettering
45c047b227
journal-verify: don't hit SIGFPE when determining progress
...
If we determine the progress based on a number of objects available,
don't blindly devide by the number of objects, given that it might be 0.
2015-07-24 01:40:44 +02:00
Daniel Mack
43472ac4cc
Merge pull request #539 from poettering/tmpfiles-journal-acl
...
tmpfiles: don't recursively descend into journal directories in /var
2015-07-24 00:22:56 +02:00
Daniel Mack
39109ec08d
Merge pull request #694 from poettering/fileio-fixes
...
Fileio fixes
2015-07-24 00:04:49 +02:00
Lennart Poettering
03c55bc0b9
process: an empty environment block should be returned as such
...
An empty env block is completely valid, hence return it as such, and
don't turn it into an error.
2015-07-23 23:47:54 +02:00
Lennart Poettering
a644184a17
process: return ESRCH when a PID is not valid anymore
...
so far, when we read something from /proc/$PID we would pass on the
ENOENT from the kernel as error, if the process was missing. With this
change we systematically convert this to ESRCH, which is the more
appropriate error code, and what all the other glibc/syscalls like
kill() use.
All code that calls these functions should be fine with this change. In
fact, one invocation of get_process_exe() in bus-creds.c already assumed
ESRCH would be returned if a process is missing, and this assumption is
now validated after the change.
2015-07-23 23:44:40 +02:00
Lennart Poettering
901108257e
fileio: get_status_field() don't clobber arg on OOM
...
According to our coding style guidelines we shouldn't clobber
pass-by-ref arguments on failure, hence don't do so here either.
2015-07-23 23:36:36 +02:00
Daniel Mack
6fa7ec3b6b
Merge pull request #692 from poettering/fd-copy-directory-all
...
copy: when we recursively copy a directory tree, copy everything
2015-07-23 23:20:18 +02:00
Lennart Poettering
8420fa3acf
copy: when we recursively copy a directory tree, copy everything
...
Don't ignore hidden files and directories.
Fixes #386
2015-07-23 23:09:34 +02:00
Tom Gundersen
37b4859186
Merge pull request #683 from ssahani/tun1
...
networkd: ip6gre add support for flowlabel
2015-07-23 22:46:07 +02:00
Lennart Poettering
0ed5c799a6
Merge pull request #670 from floppym/ptsuid
...
nspawn: Don't pass uid mount option for devpts
2015-07-23 21:56:09 +02:00
Lennart Poettering
c5f44880ca
Merge pull request #678 from eworm-de/oracle-kvm
...
Oracle kvm
2015-07-23 21:38:01 +02:00
Daniel Mack
bd5ecd55c8
Merge pull request #691 from teg/networkd-after-sysctl
...
units: order networkd after sysctl
2015-07-23 21:23:49 +02:00
Christian Hesse
e32886e010
virt: handle Virtualbox 5.0 with kvm hypervisor
...
Virtualbox 5.0 now supports kvm hypervisor. In this case cpuid
identidies as "kvm", which breaks units depending on
ConditionVirtualization=oracle.
So return "oracle" even with kvm hypervisor.
2015-07-23 21:18:55 +02:00
Lennart Poettering
28a5679cdc
Merge pull request #682 from ssahani/bridge
...
networkd: add bridge link properties
2015-07-23 21:07:57 +02:00
Tom Gundersen
d2d1e36bee
units: order networkd after sysctl
...
This way networkd will correctly and race-freely inherit the default settings
applied by sysctl.
Suggested in issue #468 .
2015-07-23 21:04:58 +02:00
Susant Sahani
165c41a99a
man: add man for bridge params
2015-07-23 23:33:40 +05:30
Susant Sahani
eb7ff4dd5f
networkd: add bridge link properties
...
new bridge properties
br.network
[Match]
Name=enp0s25
[Network]
Bridge=br-test
[Bridge]
Cost=332
BPDUGuard = true
HairPin = true
FastLeave = true
RootBlock = true
UnicastFlood = true
2015-07-23 23:31:58 +05:30
Lennart Poettering
3964118f5a
Merge pull request #604 from heftig/master
...
build-sys: Use slim LTO objects if possible
2015-07-23 19:02:34 +02:00
Lennart Poettering
f252ccdb9e
Merge pull request #690 from teg/resolved-fixes-2
...
resolved: assorted fixes v2
2015-07-23 18:48:25 +02:00