summaryrefslogtreecommitdiffstats
path: root/docs/HACKING.md (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-02-28docs: say XBOOTLDR instead of just giving the GPT identifierZbigniew Jędrzejewski-Szmek1-8/+8
Fixes #14832. Also, say "MBR partition table" and not "MBR disk label". "disk label" doesn't seem to mean anything.
2020-02-28meson: explain GIT_VERSION and PROJECT_VERSIONZbigniew Jędrzejewski-Szmek2-2/+11
Fixes #11415.
2020-02-28man: fix links to ssh(1) and sshd(8)Zbigniew Jędrzejewski-Szmek2-3/+3
'openssh' wasn't even defined.
2020-02-28man: add explanation where environment.d are inheritedZbigniew Jędrzejewski-Szmek1-4/+31
This is far from trivial, I guess. Fixes #14714.
2020-02-28network: assume Scope=host when Address= is loopback addressYu Watanabe2-0/+5
Fixes #14903.
2020-02-27systemctl: be more specific when emitting warning about rotated journalZbigniew Jędrzejewski-Szmek3-3/+22
See inline comment for disucssion. Fixes #14281.
2020-02-27conf-parser: fix line number in error messageYu Watanabe1-1/+3
Fixes #14929.
2020-02-27hwdb: add cube i7Rocka1-0/+4
2020-02-27udevadm: show more error message during exporting databaseYu Watanabe1-4/+4
Closes #14959.
2020-02-27pstore: Don't start systemd-pstore.service in containersBalint Reczey1-0/+1
Usually it is not useful and can also fail making boot-and-services autopkgtest fail.
2020-02-27network: remove redundant %m in error messageYu Watanabe1-2/+2
2020-02-27udev-builtin-input_id: any i2c mouse is a pointing stickPeter Hutterer1-2/+26
Where we have a device that looks like a mouse and is connected over i2c, tag it as pointing stick. There is no such thing as a i2c mouse. Even touchpads that aren't recognized by the kernel will not show up as i2c mouse - either the touchpad follows the Win8.1 specs in which case the kernel switches it to multitouch mode and it shows up like a touchpad. The built-in trackpoint, if any, is then the i2c mouse device. Where the touchpad doesn't follow the spec, the kernel will not handle it and the touchpad remains on the PS/2 legacy bus - not i2c. Hence we can assume that any i2c mouse device is really a pointing stick.
2020-02-27userdb: make groupdb_all() always set iterator when it returns >= 0Yu Watanabe1-8/+2
2020-02-27userdb: drop unnecessary gotoYu Watanabe1-2/+0
2020-02-27fix ACCEL_MOUNT_MATRIX for Thinkpad Yoga 11e 3rd genLukas K1-1/+1
the modalias reported by udev is acpi:BOSC0200:BOSC0200: but the rules only matched acpi:BOSC0200:BOSC0200 (without the trailing colon) change to acpi:BOSC0200* as in other models
2020-02-27userdb: allow dots in usernameMike Gilbert3-6/+6
This prevents an error in pam_systemd when logging in. sshd[2623165]: pam_unix(sshd:session): session opened for user tony.stark(uid=10001) by (uid=0) sshd[2623165]: pam_systemd(sshd:session): Failed to get user record: Invalid argument Bug: https://bugs.gentoo.org/708824
2020-02-27hwdb: Fix rotation for Nuvision Encite Split 11James Buren1-0/+4
Model number NES11-C432SSA
2020-02-27swap: finish the secondary swap units' jobs if deactivation of the primary ↵HATAYAMA Daisuke1-2/+8
swap unit fails Currently, if deactivation of the primary swap unit fails: # LANG=C systemctl --no-pager stop dev-mapper-fedora\\x2dswap.swap Job for dev-mapper-fedora\x2dswap.swap failed. See "systemctl status "dev-mapper-fedora\\x2dswap.swap"" and "journalctl -xe" for details. then there are still the running stop jobs for all the secondary swap units that follow the primary one: # systemctl list-jobs JOB UNIT TYPE STATE 3233 dev-disk-by\x2duuid-2dc8b9b1\x2da0a5\x2d44d8\x2d89c4\x2d6cdd26cd5ce0.swap stop running 3232 dev-dm\x2d1.swap stop running 3231 dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dyuXWpCCIurGzz2nkGCVnUFSi7GH6E3ZcQjkKLnF0Fil0RJmhoLN8fcOnDybWCMTj.swap stop running 3230 dev-disk-by\x2did-dm\x2dname\x2dfedora\x2dswap.swap stop running 3234 dev-fedora-swap.swap stop running 5 jobs listed. This remains endlessly because their JobTimeoutUSec is infinity: # LANG=C systemctl show -p JobTimeoutUSec dev-fedora-swap.swap JobTimeoutUSec=infinity If this issue happens during system shutdown, the system shutdown appears to get hang and the system will be forcibly shutdown or rebooted 30 minutes later by the following configuration: # grep -E "^JobTimeout" /usr/lib/systemd/system/reboot.target JobTimeoutSec=30min JobTimeoutAction=reboot-force The scenario in the real world seems that there is some service unit with KillMode=none, processes whose memory is being swapped out are not killed during stop operation in the service unit and then swapoff command fails. On the other hand, it works well in successful case of swapoff command because the secondary jobs monitor /proc/swaps file and can detect deletion of the corresponding swap file. This commit fixes the issue by finishing the secondary swap units' jobs if deactivation of the primary swap unit fails. Fixes: #11577
2020-02-27ata_id: Add support for host managed zone block devices (#14933)Ryan Attard1-1/+1
If the peripheral device type is that of a host managed zone block device (0x14), the device supports the same identification mechanisms as conventional disks (0x00).
2020-02-26units: add mount for tracefsNorbert Lange2-0/+25
Kernel 4.1 separated the tracing system from the debugfs, actual documentation already points to a different path that needs this new mount to exist. the old sysfs path will still be an automount in the debugfs, created by the kernel (for now). Signed-off-by: Norbert Lange <nolange79@gmail.com>
2020-02-26typo: stringy -> stringMark Deneen1-1/+1
2020-02-26po: update Japanese translation of "home area"Yu Watanabe1-12/+12
2020-02-26kernel-install: strip BOOT_IMAGE= from kernel optionsZbigniew Jędrzejewski-Szmek1-0/+1
https://bugzilla.redhat.com/show_bug.cgi?id=1716164.
2020-02-26userdb: fix memleakYu Watanabe1-1/+1
Fixes #14947.
2020-02-26userdb: make userdb_all() always set iterator when it returns >= 0Yu Watanabe1-6/+2
Fixes #14868.
2020-02-26po: fix confusion about what "it" is in Polish translationZbigniew Jędrzejewski-Szmek1-11/+9
2020-02-26tree-wide: replace "asked to inhibit it" with "is inhibiting this"Zbigniew Jędrzejewski-Szmek30-258/+258
The problem with the original form is that the subject of the sentence with passive void is "the system", and we're not inhibiting the system. In English the sense can be made out, but the form is gramatically incorrect. In fact, the Polish translation got this wrong: > msgid "Power off the system while an application is inhibiting this" > msgstr "Wyłączenie systemu, kiedy program zażądał jego wstrzymania" "jego" can only refer to "the system", because of gender mismatch with "power off". If our translators cannot grok the message, then we should probably reword it. Also, drop the "asked to" part. Everything we do is over IPC, so we only ever "ask" for things, and this adds no value.
2020-02-26tree-wide: replace present participle formsZbigniew Jędrzejewski-Szmek31-537/+537
Infinitive is shorter and sounds better too.
2020-02-26test-network: add one more test case for VRF=Yu Watanabe2-0/+25
2020-02-26po: update Polish translation of "home area"Zbigniew Jędrzejewski-Szmek1-12/+12
"Przestrzeń domowa" is awkward too, but "katalog domowy" is misleading.
2020-02-26tree-wide: s/home/home area/gZbigniew Jędrzejewski-Szmek10-82/+82
"home" is okay-ish in English, but rather awkward in many other languages. For example, even before this change, in fr.po we had "un espace personnel" as the translation everywhere. Let's use a less overloaded term. Fixes #14789.
2020-02-26network: use VRF's route table if VRF= is setYu Watanabe1-1/+6
Fixes #14940.
2020-02-25man/systemd.unit: Add missing article to `Wants=` descriptionPaul Menzel1-1/+1
2020-02-20hwdb.d: actually install the 60-input-id.hwdbPeter Hutterer1-0/+1
This was added in ffac30349e9da91dbef7d4e0bf7cef58705c534e in 2017 but didn't get added to the meson.build thus never actually installing it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2020-02-18man: tmpfiles.d: z/Z ignore the argumentTopi Miettinen1-2/+2
The argument is not used for any MAC context by z and Z, so drop the confusing text from the table.
2020-02-18ci: pass max_total_time to libFuzzerEvgeny Vereshchagin1-1/+1
Since clang was updated to 9.0.1 libFuzzer has been exiting with 72 when it's run with timeout. Let's pass -max_total_time to it instead.
2020-02-17Change all fuzzing links to point to OSS-Fuzz siteLynn Kirby1-4/+2
2020-02-17docs: fix HACKING.md broken linksLynn Kirby1-3/+3
2020-02-17fixed typo in systemd.netdev Documentation for L2TPtsia1-1/+1
2020-02-15systemd: Fix busctl crash on aarch64 when setting output table formatAlin Popa8-14/+14
The enum used for column names is integer type while table_set_display() is parsing arguments on size_t alignment which may result in assert in table_set_display() if the size between types missmatch. This patch cast the enums to size_t. It also fixes all other occurences for table_set_display() and table_set_sort().
2020-02-15systemd: Fix busctl crash on aarch64 when setting output table formatAlin Popa1-2/+20
The enum used for column names is integer type while table_set_display() is parsing arguments on size_t alignment which may result in assert in table_set_display() if the size between types missmatch. This patch cast the enums to size_t. An alternative solution would be to change the table_set_display() function arguments to unsigned type.
2020-02-13makefs: strdup arguments to mkfsOliver Giles1-4/+9
Don't pass values from argv[] directly to child process forked using safe_fork, because it clears argv[]. strdup them first.
2020-02-10lgtm: use the system version of mesonFrantisek Sumsal1-6/+0
LGTM was upgraded to Ubuntu Eoan, so the meson there is pretty new. Also, the pip command didn't work anyway, since it didn't attempt to update the previously installed meson.
2020-02-10lgtm: set TMPDIR to /var/tmpFrantisek Sumsal1-0/+13
`/tmp` has `noexec` set in the LGTM infrastructure which breaks meson's compilation checks. Let's use `/var/tmp` for now, until the issue is properly resolved See: https://discuss.lgtm.com/t/meson-fails-to-determine-sizes-of-basic-data-types/2639
2020-02-10Revert "Support Plugable UD-PRO8 dock"Zbigniew Jędrzejewski-Szmek1-4/+1
This reverts commit 95f2b4dd237faa57fd3e93245d560e47cdedfc2c. Unfortunately the same usb hub is used in other places, and causes numerous regressions (#14822, https://bugzilla.redhat.com/show_bug.cgi?id=1800820). Let's revert until a non-regressing approach is found.
2020-02-10fix typo in object fieldChris Murphy1-1/+1
# homectl create hack --fs-type=btrfs Unexpected object field 'fileSytemType'.
2020-02-10network: Allow multiple IPv6Token 'static' items to generate addressesKevin P. Fleming4-52/+112
This patch allows multiple addresses using 'static' IPv6Tokens to be generated for a single network interface.
2020-02-10test-network: add tests for qdisc Handle=Yu Watanabe5-4/+8
2020-02-10network: add support for qdisc handleSusant Sahani5-1/+130
2020-02-10network: fix indentationYu Watanabe1-9/+9