Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | boot: fix build with gnu-efi older than 3.0.5v243-rc1 | Yu Watanabe | 2019-07-30 | 3 | -0/+57 |
| | |||||
* | Merge pull request #13119 from keszybz/unit-loading-2 | Lennart Poettering | 2019-07-30 | 25 | -433/+962 |
|\ | | | | | Rework unit loading to take into account all aliases | ||||
| * | test-unit-file: allow printing of information about specific units | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 1 | -2/+22 |
| | | | | | | | | Useful for manual debugging. | ||||
| * | pid1: drop unit caches only based on mtime | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 8 | -16/+83 |
| | | | | | | | | | | | | | | | | | | v2: - do not watch mtime of transient and generated dirs We'd reload the map after every transient unit we created, which we don't need to do, since we create those units ourselves and know their fragment path. | ||||
| * | analyze: add "unit-files" to dump the unit fragment map | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 1 | -0/+50 |
| | | | | | | | | | | I'm not convinced that this is useful enough to be included... But it is certainly nice when debugging. | ||||
| * | pid1: use a cache for all unit aliases | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 9 | -378/+520 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reworks how we load units from disk. Instead of chasing symlinks every time we are asked to load a unit by name, we slurp all symlinks from disk and build two hashmaps: 1. from unit name to either alias target, or fragment on disk (if an alias, we put just the target name in the hashmap, if a fragment we put an absolute path, so we can distinguish both). 2. from a unit name to all aliases Reading all this data can be pretty costly (40 ms) on my machine, so we keep it around for reuse. The advantage is that we can reliably know what all the aliases of a given unit are. This means we can reliably load dropins under all names. This fixes #11972. | ||||
| * | shared/unit-file: add a function to validate unit alias symlinks | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 4 | -0/+112 |
| | | | | | | | | | | | | | | | | It turns out most possible symlinks are invalid, because the type has to match, and template units can only be linked to template units. I'm not sure if the existing code made the same checks consistently. At least I don't see the same rules expressed in a single place. | ||||
| * | TEST-15-DROPIN: add test for details of unit aliasing | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 1 | -1/+139 |
| | | | | | | | | | | | | | | I adjusted the tests to pass. I don't think the behaviour makes much sense, even if we ignore the issue with "lazy loading" of aliases. E.g. in the last section, the fact that dropins for yup@.service and yup@3.service are not loaded seems to be a plain old bug. | ||||
| * | test: use "ln -fs" | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 13 | -63/+63 |
| | | | | | | | | | | Without this, repeated runs of "make -C TEST/... setup" fail when trying to create the symlink. | ||||
| * | shared/install: typo | Zbigniew Jędrzejewski-Szmek | 2019-07-29 | 1 | -1/+1 |
| | | |||||
* | | NEWS: more entries and some rewordings | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 1 | -63/+93 |
| | | |||||
* | | bash-completion: support "systemd-analyze exit-status" | Yu Watanabe | 2019-07-30 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #13189 from yuwata/network-initrd-generator-unit | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 8 | -6/+9 |
|\ \ | | | | | | | unit: update initrd-network-generator.service | ||||
| * | | unit: rename initrd-network-generator.service -> ↵ | Yu Watanabe | 2019-07-30 | 2 | -2/+5 |
| | | | | | | | | | | | | systemd-network-generator.service | ||||
| * | | network-generator: rename generated unit files | Yu Watanabe | 2019-07-30 | 6 | -4/+4 |
| | | | | | | | | | | | | The tool may be used in the initrd-less systems. | ||||
* | | | networkctl: TABLE_BPS requires uint64_t | Yu Watanabe | 2019-07-30 | 1 | -1/+1 |
| | | | |||||
* | | | docs: fix typo | Simon Schricker | 2019-07-30 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #13219 from poettering/named-exit-codes-tweaks | Zbigniew Jędrzejewski-Szmek | 2019-07-30 | 9 | -42/+45 |
|\ \ \ | | | | | | | | | quick follow-up for the symbolic exit status PR #13207 | ||||
| * | | | analyze: clarify that 'exit-status' optionally takes arguments | Lennart Poettering | 2019-07-29 | 1 | -1/+1 |
| | | | | |||||
| * | | | man: remove trailing space in link in HTML output | Lennart Poettering | 2019-07-29 | 1 | -2/+1 |
| | | | | |||||
| * | | | analyze: right-align exit status column | Lennart Poettering | 2019-07-29 | 1 | -0/+4 |
| | | | | |||||
| * | | | analyze: rename "exit-codes" to "exit-status" | Lennart Poettering | 2019-07-29 | 3 | -29/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | waitid(2) and the libc function signature calls this "exit status", and uses "exit code" for something different. Let's stick to the same nomenclature hence. | ||||
| * | | | analyze: always use "int" to display exit status values | Lennart Poettering | 2019-07-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | That's what it actually is, hence let's use that and cast when the type is bigger. | ||||
| * | | | exit-status: rename EXIT_STATUS_GLIBC → EXIT_STATUS_LIBC | Lennart Poettering | 2019-07-29 | 5 | -10/+10 |
| |/ / | | | | | | | | | | | | | After all these two exit codes are defined by ISO C as part of the C library, and it's not the GNU implementation defines them. | ||||
* | | | update TODO | Lennart Poettering | 2019-07-30 | 1 | -5/+15 |
| | | | |||||
* | | | Merge pull request #13216 from poettering/busctl-format-table | Lennart Poettering | 2019-07-29 | 3 | -98/+185 |
|\ \ \ | | | | | | | | | port "busctl list" to format-table.h | ||||
| * | | | busctl: port "busctl list" to format_table.h | Lennart Poettering | 2019-07-29 | 1 | -89/+122 |
| | | | | | | | | | | | | | | | | | | | | Among generally being prettier this gives us JSON output for basically free. | ||||
| * | | | format-table: add TABLE_PID cell type | Lennart Poettering | 2019-07-29 | 1 | -0/+4 |
| | | | | |||||
| * | | | format-table: automatically show empty cells in grey | Lennart Poettering | 2019-07-29 | 1 | -3/+16 |
| | | | | |||||
| * | | | format-table: add table_fill_empty() to fill in empty cells until the ↵ | Lennart Poettering | 2019-07-29 | 2 | -0/+23 |
| | | | | | | | | | | | | | | | | specified column is reached | ||||
| * | | | format-table: if NULL is spcified as data, let's patch to an empty cell | Lennart Poettering | 2019-07-29 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | This should make various calls easier that currently generate either an empty cell or a regular cell depending on whether they have data to show. | ||||
| * | | | format-table: optionally show a specific string in empty cells | Lennart Poettering | 2019-07-29 | 2 | -6/+16 |
| | | | | | | | | | | | | | | | | | | | | For some cases it might make sense to show "-" instead of just spaces for empty cells. | ||||
* | | | | Merge pull request #13217 from poettering/TODO-updates | Lennart Poettering | 2019-07-29 | 2 | -6/+4 |
|\ \ \ \ | | | | | | | | | | | udev: warn if rules files are executable | ||||
| * | | | | update TODO | Lennart Poettering | 2019-07-29 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | TODO: drop udev access mode item we just implemented | Lennart Poettering | 2019-07-29 | 1 | -2/+0 |
| | | | | | |||||
| * | | | | udev: warn on rules files with weird access modes | Lennart Poettering | 2019-07-29 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | TODO: remove item implemented in f05e1ae6660 | Lennart Poettering | 2019-07-29 | 1 | -3/+0 |
| | | | | | |||||
* | | | | | Merge pull request #13004 from shinygold/master | Lennart Poettering | 2019-07-29 | 3 | -36/+102 |
|\ \ \ \ \ | | | | | | | | | | | | | cryptsetup: Improve support for keyfiles on removable storage | ||||
| * | | | | | cryptsetup: add keyfile-timeout to allow a keydev timeout and allow to ↵ | shinygold | 2019-07-17 | 2 | -35/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | fallback to a password if it fails. | ||||
| * | | | | | cryptsetup: add documentation for keyfile-timeout | shinygold | 2019-07-17 | 1 | -1/+13 |
| | | | | | | |||||
* | | | | | | Merge pull request #13201 from yuwata/networkctl-merge-table_add_cell | Lennart Poettering | 2019-07-29 | 6 | -204/+477 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | networkctl cleanups and improvements | ||||
| * | | | | | | test-network: add tests for new entries in "networkctl status" | Yu Watanabe | 2019-07-30 | 1 | -0/+12 |
| | | | | | | | |||||
| * | | | | | | networkctl : Add support to display vxlan properties | Susant Sahani | 2019-07-30 | 1 | -0/+89 |
| | | | | | | | |||||
| * | | | | | | networkctl: Add support to display bridge properties | Susant Sahani | 2019-07-30 | 1 | -1/+81 |
| | | | | | | | |||||
| * | | | | | | time-util: introduce jiffies_to_usec() | Yu Watanabe | 2019-07-29 | 2 | -4/+15 |
| | | | | | | | |||||
| * | | | | | | table: add missing NULL initialization | Yu Watanabe | 2019-07-29 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | table: add TABLE_UINT8 or friends | Yu Watanabe | 2019-07-29 | 2 | -0/+128 |
| | | | | | | | |||||
| * | | | | | | table: add TABLE_IN_ADDR and TABLE_IN6_ADDR | Yu Watanabe | 2019-07-29 | 2 | -0/+45 |
| | | | | | | | |||||
| * | | | | | | networkctl: merge multiple table_add_cell() by using table_add_many() | Yu Watanabe | 2019-07-29 | 1 | -198/+106 |
| | | | | | | | |||||
* | | | | | | | logind: notify dbus of changes to session State | Thiebaud Weksteen | 2019-07-29 | 1 | -1/+1 |
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | This adds the option to monitor transitions between the state Opening -> Active. |