Zbigniew Jędrzejewski-Szmek
855a86a349
systemctl: fix assert for failed mktime conversion
...
mktime returns -1 on error, so checking for != 0 is not useful.
2018-07-04 23:54:43 +02:00
Zbigniew Jędrzejewski-Szmek
df8701a3f2
journal: store the original syslog input as SYSLOG_RAW=
...
This allows the original stream to be recreated and/or verified. The new field
is written if any stripping was done or if the input message contained embeded
NULs.
$ printf '<13>Sep 15 15:07:58 HOST: x\0y' | nc -w1 -u -U /run/systemd/journal/dev-log
$ journalctl -o json-pretty ...
{
...
"MESSAGE" : "x",
"SYSLOG_RAW" : [ 60, 49, 51, 62, 83, 101, 112, 32, 49, 53, 32, 49, 53, 58, 48, 55, 58, 53, 56, 32, 72, 79, 83, 84, 58, 32, 120, 0, 121 ]
}
$ journalctl -o export ... | cat -v
...
MESSAGE=x
SYSLOG_RAW
^]^@^@^@^@^@^@^@<13>Sep 15 15:07:58 HOST: x^@y
This mostly fixes #4863 .
2018-07-04 18:18:04 +02:00
Zbigniew Jędrzejewski-Szmek
c3950a9bbe
journal: optimize the common case where whitespace stripping is not needed
...
If we can just use the original data, let's do that.
2018-07-04 18:02:50 +02:00
Zbigniew Jędrzejewski-Szmek
8ce2809248
Merge the "boot loader specification" wiki page
2018-06-19 14:03:25 +02:00
Zbigniew Jędrzejewski-Szmek
889cb0ab75
Add description of field correspondence
2018-06-19 13:53:42 +02:00
Hans de Goede
520741d08e
units: Add new system-update-pre.target
...
systemd offline-updates allows dropping multiple system update units
to be added to system-update.target.wants.
As documented in systemd.offline-updates(7) only 1 of these units
should actually be active (based on the /system-update symlink) and
when that unit is done it should reboot the system.
In some cases it is desirable to run a unit whenever booting in
offline-updates mode indepedent of which update unit is going to
handle the update. One example of this is integration with bootloader
code which checks if the previous boot was succesful.
Since the active unit will reboot the system when it is done, there
is no guarantee that adding such a unit to system-update.target.wants
will get it executed always.
This commit adds a system-update-pre.target which can be used for
units which should always run when booting in offline-updates mode.
2018-06-19 13:42:19 +02:00
Zbigniew Jędrzejewski-Szmek
bc2e7c84e1
Also add link to the systemd-boot man page
...
Note that the link is dead right now, because we haven't released v239
which contains the rename sd-boot → systemd-boot.
2018-06-19 13:15:25 +02:00
Zbigniew Jędrzejewski-Szmek
5be7bfbcb9
Add a description of unified kernel images
2018-06-19 13:15:25 +02:00
Zbigniew Jędrzejewski-Szmek
0e73c3faaf
Rename sd-boot to systemd-boot
...
C.f. 70c8db7555 .
2018-06-19 13:12:31 +02:00
Zbigniew Jędrzejewski-Szmek
6e6b351b2a
Wording and formatting updates
...
UTF-8 is not a character set. Unicode is the character set. UTF-* are encodings.
2018-06-19 13:12:29 +02:00
Hannes Reinecke
c0373eb019
scsi_id: Fixup prefix for pre-SPC inquiry reply
...
The prefix for EMC Symmetrix pre-SPC VPD inquiry reply
is always SCSI_ID_NAA, so we need to hardcode it to
avoid false values here.
Signed-off-by: Hannes Reinecke <hare@suse.com >
2018-06-19 12:46:24 +02:00
Zbigniew Jędrzejewski-Szmek
eba6b1508d
BLS: allow /boot, /efi, and mention /boot/efi
2018-06-19 12:36:21 +02:00
Zbigniew Jędrzejewski-Szmek
59716390d4
BLS: remove trailing whitespace
2018-06-19 12:36:21 +02:00
Zbigniew Jędrzejewski-Szmek
c9eed57e53
Reference sd-boot/bootctl instead of gummiboot
...
https://github.com/systemd/systemd/issues/2751
2018-06-19 12:36:21 +02:00
Harald Hoyer
71d6ef5500
Update link to grub2 patch
2018-06-19 12:36:21 +02:00
Lennart Poettering
e1fe8be687
Require a VFAT filesystem
2018-06-19 12:36:21 +02:00
Lennart Poettering
c3c5eeca0f
Rename back to "The Boot Loader Specification"
2018-06-19 12:36:21 +02:00
Lennart Poettering
bfd88d9615
Add table of GPT identifiers
2018-06-19 12:36:21 +02:00
Lennart Poettering
5b41167575
Rename to "The Discoverable Partitions Specification"
2018-06-19 12:36:21 +02:00
Kay Sievers
0d69e91384
Drop 'fdt', 'devicetreedir', 'fdtdir' description again
2018-06-19 12:36:21 +02:00
Harald Hoyer
a69d65000a
Update 'devicetreedir' description
2018-06-19 12:36:21 +02:00
Harald Hoyer
91515d280f
Add fdt, devicetreedir and fdtdir
2018-06-19 12:36:21 +02:00
Kay Sievers
06614a224c
Add 'devicetree'
2018-06-19 12:36:21 +02:00
Kay Sievers
4bf77b763b
Update formatting
2018-06-19 12:36:21 +02:00
Colin Guthrie
d786567d09
Fix Fedora Grub2 Boot Loader Speficiation patch
2018-06-19 12:36:21 +02:00
Kay Sievers
fb6475c28f
Add links
2018-06-19 12:36:21 +02:00
Harald Hoyer
9b58043453
Split paragraphs
2018-06-19 12:36:21 +02:00
Harald Hoyer
86b70d7288
fixed example file
2018-06-19 12:36:21 +02:00
Harald Hoyer
2dd8d4a144
moin2mdwn: convert page Specifications/BootLoaderSpec
...
[zj: change file path and name and extension]
2018-06-19 12:35:50 +02:00
Jérémy Rosen
14c1abccf0
add _AUDIT_TYPE_NAME field to audit records in the journal
2018-06-19 10:48:38 +02:00
Zbigniew Jędrzejewski-Szmek
1183320594
resolved: move dot to end of sentence
...
Noticed in #9285 .
2018-06-19 16:14:48 +09:00
Zbigniew Jędrzejewski-Szmek
f8fde9abb5
man: avoid "predicate" in coredumpctl match description
...
"Predicate" might not be clear to everyone, it is a CS term.
Fixes #9324 .
2018-06-19 16:14:48 +09:00
Yu Watanabe
22509a8df0
sd-bus: fix typo in comment
2018-06-19 08:44:55 +02:00
Yu Watanabe
31d99bd172
tree-wide: do not assign values if not used
2018-06-19 08:44:55 +02:00
Zbigniew Jędrzejewski-Szmek
496ab389cc
Merge pull request #9330 from yuwata/ja-po-portable
...
portable: update polkit messages
2018-06-19 08:37:36 +02:00
Yu Watanabe
980982da62
mount: do not output (null) in option
...
Fixes #9327 .
2018-06-19 08:27:47 +02:00
Yu Watanabe
b909a22c73
po: update Japanese translations
2018-06-19 13:27:15 +09:00
Yu Watanabe
9c7f1abbe2
portable: update polkit messages
2018-06-19 13:21:17 +09:00
Chris Lamb
3fe910794b
Correct a number of trivial typos.
2018-06-18 22:44:44 +02:00
Sergey Ptashnick
4f03608b51
po: update Russian translation
...
Portable service stuff.
Translated "inspect portable service" as "прочитать образ переносимой
службы" ("read the portable service image"), because there is no exact
Russian analog for "inspect" ("инспектировать" has a slightly different
meaning). I think reading (some data from) images is the main job for
bus_image_common_get_metadata and bus_image_common_get_os_release, so
this translation will be more or less correct.
2018-06-18 22:31:13 +02:00
Jérémy Rosen
ed563b609c
do not filter out deprecated USER audit messages
2018-06-18 14:48:09 +02:00
Ronny Chevalier
98008caa94
shared: do not include ~ when appending syscall filters property
...
The method already uses a boolean argument to determine whether it is in
whitelist mode or not. The code that will parse the string of filters
does not expect the ~, since it already has the boolean argument. Thus,
it will fail to parse the list of filters.
2018-06-18 13:12:20 +02:00
petur
4b65002175
Fix orientation sensor position for Lenovo Miix 510
...
Looks like the Miix 510 has the same sensor and placement as the Miix 320
(put it separate for clarity)
Verified on own hardware
2018-06-18 09:48:41 +02:00
Mladen Pejaković
953d7ef2ab
hwdb: fix backlash/pipe on Librem 13v3
2018-06-18 09:26:43 +02:00
Zbigniew Jędrzejewski-Szmek
db13f206db
Merge pull request #9307 from yuwata/man-sd-boot
...
man: use systemd-boot instead of sd-boot
2018-06-15 16:17:28 +02:00
Zbigniew Jędrzejewski-Szmek
88f375b8c2
Merge pull request #8766 from poettering/syscall-filter-service
...
add a new `@system-service` syscall group that is good as a starting point for whitelisting syscalls
2018-06-15 11:34:44 +02:00
Yu Watanabe
1e8c7bd55c
namespace: drop protect_{home,system}_or_bool_from_string()
...
The functions protect_{home,system}_from_string() are not used
except for defining protect_{home,system}_or_bool_from_string().
This makes protect_{home,system}_from_string() support boolean
strings, and drops protect_{home,system}_or_bool_from_string().
2018-06-15 11:32:27 +02:00
Yu Watanabe
c779b82a50
man: re-format man page for bootctl
2018-06-15 15:40:12 +09:00
Yu Watanabe
70c8db7555
man: use systemd-boot instead of sd-boot
2018-06-15 14:27:37 +09:00
Yu Watanabe
3177e14c4d
Merge pull request #9303 from poettering/busctl-fixlets
...
tiny busctl fixlets
2018-06-15 12:11:44 +09:00