summaryrefslogtreecommitdiffstats
path: root/mkosi.conf.d (unfollow)
Commit message (Collapse)AuthorFilesLines
15 hoursmeson: bump C std to gnu17Mike Yuan3-8/+8
GCC 8.4 (our baseline) defaults to gnu17 already.
15 hoursudev-rules: add trace logs for GOTO and parent conditionsYu Watanabe1-5/+43
15 hoursudev-rules: update log messagesYu Watanabe1-185/+248
This also adds trace logs about token result, and skipping assignment caused by final value already assigned.
15 hoursudev-rules: ignore whole command result if it is too long and does not ↵Yu Watanabe1-2/+5
contain newline
15 hoursudev-rules: introduce udev_replace_chars_and_log()Yu Watanabe1-35/+39
And logs about replacement only when trace logging is enabled.
15 hoursudev-rules: add more trace logs for string matchYu Watanabe1-16/+65
15 hoursudev-rules: logs result of format substitutionYu Watanabe1-138/+105
This also drops redundant token string in log message on truncation. No functional change, but should improve debuggability.
15 hoursudev-rules: show original token string in log_event_error() and friendsYu Watanabe1-208/+250
This also makes - make many loggers refactored, - log_event_error() and friends UdevEvent object, - introduces log_event_trace(). No functional change, just refactoring and preparation for later commits.
15 hoursudevadm-test: introduce -v/--verbose option to show verbose log messagesYu Watanabe6-14/+36
Currently this does not show any extra log messages. In later commits, more verbose log messages will be added.
18 hourshexdump: if size is SIZE_MAX, use strlen()Lennart Poettering2-0/+7
Similar how we do this as various places: if SIZE_MAX is specified as size determine the size automatically via strlen().
24 hoursnspawn: assorted coding style fixesLennart Poettering2-5/+3
24 hourstree-wide: switch various uses of mkdtemp() over to mkdtemp_malloc()Lennart Poettering3-53/+38
36 hoursmkosi: update fedora commit referenceZbigniew Jędrzejewski-Szmek1-1/+1
* c7fecc18eb Skip test_sysusers_defined on upstream builds * f257050ddd Add a .editorconfig file * aa5546e9ed Add a few mkosi artifact directories to .gitignore * 01e5bc1c93 Set SBAT in sd-boot when building on OBS * a7eec4d33d Run upstream integration test suite with Fedora CI
37 hoursREADME: add sgx to list of required groupsZbigniew Jędrzejewski-Szmek1-2/+2
Follow-up for c9c4899f4444d9586e541b5e72597a37f949433a.
37 hoursdocs/HACKING: use 'run0' to indicate which commands require privilegesZbigniew Jędrzejewski-Szmek1-6/+6
37 hoursupdate TODOLennart Poettering1-0/+2
37 hoursREADME: update requirementsYu Watanabe1-6/+21
38 hoursudev: set clock group for PTP and RTC devicesMiroslav Lichvar5-1/+8
Add a new group for clock devices to enable applications like linuxptp to open clocks without root privileges.
39 hoursfundamental-macro: conditionalize several gcc warning pragmasYu Watanabe3-5/+26
This fixes the following error: In file included from ../src/basic/macro.h:13, from ../src/basic/env-util.h:9, from ../src/nss-systemd/nss-systemd.c:7: ../src/fundamental/macro-fundamental.h:61:9: error: option ‘-Wzero-as-null-pointer-constant’ is valid for C++/ObjC++ but not for C [-Werror=pragmas] 61 | _Pragma("GCC diagnostic ignored \"-Wzero-as-null-pointer-constant\"") | ^~~~~~~ ../src/nss-systemd/nss-systemd.c:106:1: note: in expansion of macro ‘DISABLE_WARNING_ZERO_AS_NULL_POINTER_CONSTANT’ 106 | DISABLE_WARNING_ZERO_AS_NULL_POINTER_CONSTANT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
39 hoursnss-systemd: work around -Werror=zero-as-null-pointer-constant issue with ↵Lennart Poettering2-0/+8
PTHREAD_MUTEX_INITIALIZER This fixes builds on Fedora: ../src/nss-systemd/nss-systemd.c:105:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 105 | .mutex = PTHREAD_MUTEX_INITIALIZER, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/nss-systemd/nss-systemd.c:105:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] ../src/nss-systemd/nss-systemd.c:109:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 109 | .mutex = PTHREAD_MUTEX_INITIALIZER, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/nss-systemd/nss-systemd.c:109:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] ../src/nss-systemd/nss-systemd.c:113:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 113 | .mutex = PTHREAD_MUTEX_INITIALIZER, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/nss-systemd/nss-systemd.c:113:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] ../src/nss-systemd/nss-systemd.c:117:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] 117 | .mutex = PTHREAD_MUTEX_INITIALIZER, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/nss-systemd/nss-systemd.c:117:18: error: zero as null pointer constant [-Werror=zero-as-null-pointer-constant] cc1: all warnings being treated as errors
39 hoursfundamental: unify gcc warning pragmas at one placeLennart Poettering5-26/+17
This also drops HAVE_WSTRINGOP_TRUNCATION as the corresponding option was introduced in GCC 8, and our baseline is GCC 8.4.
44 hourstest: add link to Ubuntu autopkgtest status page in READMELuca Boccassi1-0/+4
Known issues will be listed there by the team managing the infra
47 hoursprocess-util: slightly update comment in freeze()Lennart Poettering1-1/+2
47 hoursprocess-util: port pid_from_same_root_fs() to pidref, and port three places ↵Lennart Poettering6-50/+123
over to it
47 hourstest-process-util: don't run rest of test suite in forked off childLennart Poettering1-1/+1
We left the test suite running in the child after forking off a temporary child for testing. That's bad. fix it.
47 hoursprocess-util: introduce new FORK_FREEZE flag for safe_fork()Lennart Poettering4-32/+14
Often we want to fork off a process that just hangs until we kill it, let's add a simple flag to create one of this type, and use it at various places.
47 hourspidref: various shortcuts to pidref_equal()Lennart Poettering1-0/+10
This adds some shortcuts to pidref_equal(), so that we don't have to query the pidfs id if there's no need.
48 hoursnamespace-util: don't reset UID/GIDs in namespace_enter() unless we enter a ↵Lennart Poettering1-2/+4
userns The reset of UID/GID only really makes sense if we enter a userns, hence let#s restrict it to that.
2 daysshared/bus-util: add missing `set.h` includeJan Macku1-0/+1
``` In file included from ../src/shared/bus-get-properties.c:4: ../src/shared/bus-message-util.h:22:60: error: unknown type name ‘Set’ 22 | int bus_message_append_string_set(sd_bus_message *m, const Set *s); | ^~~ ../src/shared/bus-get-properties.c: In function ‘bus_property_get_string_set’: ../src/shared/bus-get-properties.c:178:9: error: unknown type name ‘Set’ 178 | Set **s = ASSERT_PTR(userdata); | ^~~ ``` follow-up to https://github.com/systemd/systemd/commit/91080bc9733b5b2478bfc0ed58f6a7ae5da7e639
2 daysshell-completions: add systemctl sleepDuncan Overbruck2-1/+2
2 daysmeson: enable -Wzero-as-null-pointer-constantMike Yuan33-29/+76
Support for C added in gcc 15: https://github.com/gcc-mirror/gcc/commit/236c0829ee21a179c81b83f0d7f112ca23c47a4d
2 daystree-wide: remove unnecessary gcc >= 7 version checkMike Yuan17-35/+3
Our baseline is gcc 8.4.
2 daysRevert "OBS: build Fedora/Debian/Ubuntu x86_64 packages on PRs"Luca Boccassi1-33/+0
This does not work yet, as we configure multiple git sources, and the workflow service gets confused. We need to update one (the actual code repo) and leave the recipe repos intact, but this is not supported right now. This reverts commit 01f05f0087204914e489057baf12317815325956.
2 daysOBS: build Fedora/Debian/Ubuntu x86_64 packages on PRsLuca Boccassi1-0/+33
Start with a subset of what is built from main, can be expanded as needed
2 dayslog: check isempty for object_field and extra_fieldhanjinpeng1-2/+2
3 dayspid1: add GracefulOptions= setting to .mount unitsLennart Poettering10-9/+161
This new setting can be used to specify mount options that shall only be added to the mount option string if the kernel supports them. This shall be used for adding "usrquota" to tmp.mount without breaking compat, but is generally be useful.
3 daysrandom-util: fix compilation errorYu Watanabe1-1/+1
Fixes the following error: ``` ../src/basic/random-util.c: In function "fallback_random_bytes": ../src/basic/random-util.c:45:26: error: initializer-string for array of "char" is too long [-Werror=unterminated-string-initialization] 45 | .label = "systemd fallback random bytes v1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ```
3 daysuserdb: optionally parse numeric UIDs/GIDs where a username is expectedLennart Poettering3-10/+18
Let's move this logic from userdbctl into generic code so that we can use it elsewhere.
3 daysanalyze: fix assignment of object_fieldYu Watanabe1-4/+5
Prompted by #36000.
3 dayscurl-util: use curl_getdate instead of implementing http specjane4001-18/+9
Available since curl 7.1, which is less than the version required in meson.build https://curl.se/libcurl/c/curl_getdate.html
3 daysterminal-util: drop unused open_terminal_in_namespace()Mike Yuan4-71/+0
With our baseline including TIOCGPTPEER we now systematically open pty peer through ioctl(), i.e. this sits unused since 1d522f1a866f911980b5eaad87182bf58c58fa32. Kill it!
3 daysrun: with TIOCGPTPEER there's no longer need to acquire pty peer through IPCMike Yuan1-20/+6
3 daysrun: correct log level for pty_open_peer() errorMike Yuan1-1/+1
Everything around it logs loudly.
3 dayslogind: improve log message we generate when a user logs inLennart Poettering1-1/+7
Mention the session type and class both in the human readable string and in the structured log.
3 daysrun0: allow explicit control of service manager activation for run0 sessionsLennart Poettering5-0/+93
This adds a new --lightweight=yes/no switch which allows controlling whether the invoked service will have the service manager around or not. Moreover, this changes that if the target user is root it will now support to the lightweight mode, i.e. run0 towards root will no longer pull in the service manager (a real tty login via getty still will though!). My thinking here is that quickly raising privileges via run0 probably shouldn't be considered a proper login but just something short lived, temporary for a single command or similar.
3 daysrun: fire sd_notify("READY=1") when in service mode and the unit is properly ↵Lennart Poettering1-16/+79
started Let's make sure systemd-run itself works nicely as a service that tells the caller when it is ready. Note that we don't fire the same message in scope mode, since in that case want to leave sd_notify() handling to the invoked process.
3 dayslogind: introduce "user-light" session classLennart Poettering10-25/+113
This new session class is to "user" what "background" is to "background-light": it doesn't cause the per-user service manager to start. This new session class is now the default if no session class was provided at session registration time and the following conditions hold: 1. The session is not graphical 2. The user is not a regular user (but not root) Or in other words root and system users won't get a service manager started automatically if they go through a PAM session as part of things like cron or ftp. They will however still get one if they log in graphically. This changes behaviour a bit, but hopefully in OK was. This also makes "background-light" for system users incl. root. This addresses one of the ideas discussed in #34988.
3 dayslogind: introduce macro for the last session class condition checkLennart Poettering2-1/+4
For all checks regarding the properties of sessoin classes we have SESSION_CLASS_CAN_XYZ() style macros. Except for one. Convert that one too.
3 dayspam-systemd: downgrade log message we handle gracefully to LOG_WARNING as ↵Lennart Poettering1-2/+1
per coding style
3 daysmkosi: disable multipathd by defaultYu Watanabe1-0/+11
Hopefully fixes #36008.