Zbigniew Jędrzejewski-Szmek
6829d8ce69
Merge pull request #15253 from DaanDeMeyer/object-vtable-error-docs
...
sd-bus: Add error handling info to sd_bus_add_object_vtable docs
2020-04-01 12:25:34 +02:00
Zbigniew Jędrzejewski-Szmek
e6a4e25a82
man: add note that --no-hostname has limited effect
...
Clearly there is some confusion about the intent of this option, let's add
a short note.
https://bugzilla.redhat.com/show_bug.cgi?id=1819313
2020-04-01 09:25:50 +02:00
Lennart Poettering
9e76a88faf
man: mention that stdout logging works the same as stderr logging
...
Apparently people wondered about that:
https://lists.freedesktop.org/archives/systemd-devel/2020-March/044091.html
2020-04-01 00:15:41 +02:00
Daan De Meyer
47203ed085
sd-bus: sd_bus_call docs improvements
2020-04-01 00:15:11 +02:00
Daan De Meyer
e3e5a6eebd
sd-bus: Add sd_bus_get/set_priority docs + fixes
2020-04-01 00:11:33 +02:00
Daan De Meyer
9b62e232ea
sd-bus: Add note about sd_bus_reply_method_return to SD_BUS_METHOD docs
2020-03-31 20:38:54 +02:00
Daan De Meyer
fc91667d77
sd-bus: Add sd_bus_add_object and callback docs
2020-03-31 20:16:30 +02:00
Daan De Meyer
6ba8071ca1
sd-bus: Fix typos in sd_bus_add_object_vtable docs
2020-03-31 20:16:30 +02:00
Daan De Meyer
50b88e87c8
sd-bus: Wrap add_object_vtable docs at 100 columns
2020-03-31 20:16:30 +02:00
Susant Sahani
7b8d23a9bb
network: DHCPv4 - introduce The Manufacturer Usage Description (MUD)
2020-03-30 20:27:48 +02:00
Lennart Poettering
1f4faf21e8
Merge pull request #15197 from ssahani/smtp-dhcp
...
DHCP4: Add support to emit and receive SMTP servers.
2020-03-30 18:58:26 +02:00
Lennart Poettering
01262d0d9e
Merge pull request #13084 from ddstreet/log_time
...
log: add support for prefixing console log messages with current timestamp
2020-03-30 17:57:34 +02:00
Susant Sahani
f6269fe7bb
network: DHCP - add support to emit and receive SMTP server information
2020-03-29 22:59:11 +02:00
Zbigniew Jędrzejewski-Szmek
4a874560c5
Merge pull request #15217 from keszybz/beef-up-sd-path
...
Export sd-path functions and beef up systemd-path to show more items
2020-03-29 22:57:53 +02:00
Daan De Meyer
45069c67ce
sd-bus: Add sd_bus_slot_get_current_* docs
2020-03-29 21:36:55 +02:00
Susant Sahani
284e8fd0d7
DHCP: Add support to emit and retrieve POP3 server
2020-03-28 03:34:27 +01:00
Zbigniew Jędrzejewski-Szmek
2e09fa8906
sd-path: handle case of missing runtime dir in test
...
Also document it in the man page.
2020-03-27 20:12:45 +01:00
Zbigniew Jędrzejewski-Szmek
f52b9131e5
man: fix typo
2020-03-27 20:12:45 +01:00
Zbigniew Jędrzejewski-Szmek
f1bb691a5a
sd-path: export "systemd-network-path"
...
Inspired by https://lists.freedesktop.org/archives/systemd-devel/2020-March/044169.html .
2020-03-27 20:12:45 +01:00
Zbigniew Jędrzejewski-Szmek
96d33e4ac0
Rename _PATH variables to _DIR when they refer to a directory
...
We were very inconsistent in this, but in general _PATH signifies
a search path (separated with :), and _DIR signifies a single directory.
2020-03-27 20:12:45 +01:00
Zbigniew Jędrzejewski-Szmek
9c5bb2033d
path: show various systemd directories and search paths too
...
So far we had various ad hoc APIs to query search paths:
systemd-analyze unit-paths, lookup_paths_log(), the pkgconfig file,
debug logs emitted by systemd-analyze cat-config.
But answering a simple question "what is the search path for tmpfiles,
sysusers, .network files, ..." is surprisingly hard.
I think we should have an api that makes it easy to query this. Pkgconfig is
not bad, but it is primarily a development tool, so it's not available in many
context. Also it can't provide support for paths which are influenced by
environment variables, and I'd like to be able to answer the question "what is
the search path for ..., assuming that VAR_FOO=... is set?".
Extending sd-path to support more of our internal paths seems to be most
flexible solution. We already have systemd-path which provides a nice
way to query, and we can add stuff like optional descriptions later on.
We we essentially get a nice programmatic and commmandline apis for the price
of one.
2020-03-27 20:12:45 +01:00
Zbigniew Jędrzejewski-Szmek
b35ed5530b
man: add sd_path_lookup(3)
2020-03-27 20:12:44 +01:00
Zbigniew Jędrzejewski-Szmek
3919ecc553
meson: run a no-op build to generate man rules
...
When a new page is added using man/update-man-rules, ninja doesn't know
about the new target until a build is initiated, so build/man/man and
build/man/html would fail. Force a trivial build to regenerate the rules
before calling 'ninja -t'.
2020-03-27 20:12:44 +01:00
Zhu Li
9520a0308d
Remove stale doc about PrivateNetwork and type
2020-03-27 18:40:31 +01:00
Susant Sahani
c30ffcee9b
networkctl: Add support to set link up and down
2020-03-26 19:42:03 +01:00
ml
992622c428
man: fix typo in loader.conf(5)
2020-03-22 20:22:03 +01:00
Daan De Meyer
b0f4c02e2d
sd-bus: Add sd_bus_send docs + cleanups.
2020-03-22 20:21:11 +01:00
Daan De Meyer
60ef094297
sd-bus: Add sd_bus_reply_method_return docs + cleanups
2020-03-19 20:51:17 +01:00
Daan De Meyer
4bd859be95
sd-bus: add sd_bus_message_seal docs + cleanups
2020-03-19 14:27:56 +01:00
Zbigniew Jędrzejewski-Szmek
677ceb0c2f
Merge pull request #15153 from keszybz/man-bus-address
...
Add two man pages for sd-bus
2020-03-19 09:11:14 +01:00
David Wood
7354900ddd
network: Fix split in SendOption= on client and server
...
When specifying `DHCPv4.SendOption=`, it is used by systemd-networkd to
set the value of that option within the DHCP request that is sent out.
This differs to setting `DHCPServer.SendOption=`, which will place all
the options together as suboptions into the vendor-specific information
(code 43) option.
This commit adds two new config options, `DHCPv4.SendVendorOption=` and
`DHCPServer.SendVendorOption=`. These both have the behaviour of the old
`DHCPServer.SendOption=` flag, and set the value of the suboption in the
vendor-specific information option.
The behaviour of `DHCPServer.SendOption=` is then changed to reflect
that of `DHCPv4.SendOption=`. It will set the value of the corresponding
option in the DHCP request.
2020-03-19 09:08:40 +01:00
Daan De Meyer
cc46b9d913
sd-bus: sd_bus_set/get_method_call_timeout docs + cleanups.
2020-03-18 20:07:45 +01:00
Zbigniew Jędrzejewski-Szmek
9178398f2e
man: say "is" not "has been"
2020-03-18 19:57:44 +01:00
Zbigniew Jędrzejewski-Szmek
92b6df1d68
man: mention sd_bus_is_anonymous() and sd_bus_is_trusted()
2020-03-18 19:57:44 +01:00
Zbigniew Jędrzejewski-Szmek
9783b59bf6
man: describe sd_bus_default_flush_close()
2020-03-18 19:57:43 +01:00
Zbigniew Jędrzejewski-Szmek
3f549982a5
man: add sd_bus_set_address(3)
2020-03-18 19:57:43 +01:00
Zbigniew Jędrzejewski-Szmek
27622235c4
man: add sd_bus_start(3)
2020-03-18 19:57:43 +01:00
Zbigniew Jędrzejewski-Szmek
8c357762c7
Merge pull request #14749 from msekletar/cpu-aff-numa-v3
...
core: add support for setting CPUAffinity= to special "numa" value
2020-03-18 13:35:58 +01:00
Daan De Meyer
953ee402cb
sd-bus: sd_bus_call/sd_bus_call_async_docs + cleanups.
2020-03-18 10:45:14 +01:00
Joerg Behrmann
1f667d8a7c
docs: Add syntax for templated units to systemd.preset man page
...
This documents the syntax
enable template@.service foo bar baz
that was introduced in #9901 to preset templated units.
2020-03-17 17:12:06 +01:00
Zbigniew Jędrzejewski-Szmek
34bc838f15
Merge pull request #15136 from yuwata/network-dhcp4-use-gateway
...
network: add a flag to ignore gateway provided by DHCP server
2020-03-17 16:51:18 +01:00
Daan De Meyer
9735c644be
sd-bus: Add sd_bus_method_call/sd_bus_method_call_async docs + cleanups.
2020-03-17 17:12:58 +09:00
Daan De Meyer
aff618c769
sd-bus: Remove unused man cite of sd_bus_slot_new_signal.
2020-03-16 19:52:40 +01:00
Yu Watanabe
74f0fb9095
network: can: add support for listen-only mode
...
Closes #15129 .
2020-03-17 00:32:35 +09:00
Yu Watanabe
b453122789
network: add a flag to ignore gateway provided by DHCP server
...
Closes #15117 .
2020-03-16 19:34:43 +09:00
Michal Sekletár
e2b2fb7f56
core: add support for setting CPUAffinity= to special "numa" value
...
systemd will automatically derive CPU affinity mask from NUMA node
mask.
Fixes #13248
2020-03-16 08:57:28 +01:00
Daan De Meyer
aaf6c75061
sd-bus: Add sd_bus_set_fd documentation along with some cleanups.
2020-03-16 12:31:27 +09:00
Anita Zhang
557b9716f6
Merge pull request #15097 from keszybz/job-logging-and-news-update
...
Job logging and news update
2020-03-12 13:01:00 -07:00
nabijaczleweli
567a530760
fstab-generator: handle systemd.swap= command-line argument
...
Don't generate swap units if set to false
The inverse of this argument is present as "noswap" on Debian sysvinit
Ref:
https://salsa.debian.org/debian/sysvinit/blob/4422988cb41c3022eee7444378cac3b2e36eac28/debian/vars.sh#L34
https://salsa.debian.org/debian/sysvinit/blob/4422988cb41c3022eee7444378cac3b2e36eac28/debian/src/initscripts/etc/init.d/mountall.sh#L78
Fixes https://github.com/systemd/systemd/issues/6686
2020-03-12 17:52:43 +01:00
Yu Watanabe
f344a492d1
man: use include directive for Parent= or friends
2020-03-12 18:33:15 +09:00