summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* boot: fix build with gnu-efi older than 3.0.5v243-rc1Yu Watanabe2019-07-303-0/+57
|
* Merge pull request #13119 from keszybz/unit-loading-2Lennart Poettering2019-07-3025-433/+962
|\ | | | | Rework unit loading to take into account all aliases
| * test-unit-file: allow printing of information about specific unitsZbigniew Jędrzejewski-Szmek2019-07-301-2/+22
| | | | | | | | Useful for manual debugging.
| * pid1: drop unit caches only based on mtimeZbigniew Jędrzejewski-Szmek2019-07-308-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 mapZbigniew Jędrzejewski-Szmek2019-07-301-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 aliasesZbigniew Jędrzejewski-Szmek2019-07-309-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 symlinksZbigniew Jędrzejewski-Szmek2019-07-304-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 aliasingZbigniew Jędrzejewski-Szmek2019-07-301-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-Szmek2019-07-3013-63/+63
| | | | | | | | | | Without this, repeated runs of "make -C TEST/... setup" fail when trying to create the symlink.
| * shared/install: typoZbigniew Jędrzejewski-Szmek2019-07-291-1/+1
| |
* | NEWS: more entries and some rewordingsZbigniew Jędrzejewski-Szmek2019-07-301-63/+93
| |
* | bash-completion: support "systemd-analyze exit-status"Yu Watanabe2019-07-301-1/+1
| |
* | Merge pull request #13189 from yuwata/network-initrd-generator-unitZbigniew Jędrzejewski-Szmek2019-07-308-6/+9
|\ \ | | | | | | unit: update initrd-network-generator.service
| * | unit: rename initrd-network-generator.service -> ↵Yu Watanabe2019-07-302-2/+5
| | | | | | | | | | | | systemd-network-generator.service
| * | network-generator: rename generated unit filesYu Watanabe2019-07-306-4/+4
| | | | | | | | | | | | The tool may be used in the initrd-less systems.
* | | networkctl: TABLE_BPS requires uint64_tYu Watanabe2019-07-301-1/+1
| | |
* | | docs: fix typoSimon Schricker2019-07-301-1/+1
| | |
* | | Merge pull request #13219 from poettering/named-exit-codes-tweaksZbigniew Jędrzejewski-Szmek2019-07-309-42/+45
|\ \ \ | | | | | | | | quick follow-up for the symbolic exit status PR #13207
| * | | analyze: clarify that 'exit-status' optionally takes argumentsLennart Poettering2019-07-291-1/+1
| | | |
| * | | man: remove trailing space in link in HTML outputLennart Poettering2019-07-291-2/+1
| | | |
| * | | analyze: right-align exit status columnLennart Poettering2019-07-291-0/+4
| | | |
| * | | analyze: rename "exit-codes" to "exit-status"Lennart Poettering2019-07-293-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 valuesLennart Poettering2019-07-291-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_LIBCLennart Poettering2019-07-295-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 TODOLennart Poettering2019-07-301-5/+15
| | |
* | | Merge pull request #13216 from poettering/busctl-format-tableLennart Poettering2019-07-293-98/+185
|\ \ \ | | | | | | | | port "busctl list" to format-table.h
| * | | busctl: port "busctl list" to format_table.hLennart Poettering2019-07-291-89/+122
| | | | | | | | | | | | | | | | | | | | Among generally being prettier this gives us JSON output for basically free.
| * | | format-table: add TABLE_PID cell typeLennart Poettering2019-07-291-0/+4
| | | |
| * | | format-table: automatically show empty cells in greyLennart Poettering2019-07-291-3/+16
| | | |
| * | | format-table: add table_fill_empty() to fill in empty cells until the ↵Lennart Poettering2019-07-292-0/+23
| | | | | | | | | | | | | | | | specified column is reached
| * | | format-table: if NULL is spcified as data, let's patch to an empty cellLennart Poettering2019-07-291-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 cellsLennart Poettering2019-07-292-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-updatesLennart Poettering2019-07-292-6/+4
|\ \ \ \ | | | | | | | | | | udev: warn if rules files are executable
| * | | | update TODOLennart Poettering2019-07-291-1/+2
| | | | |
| * | | | TODO: drop udev access mode item we just implementedLennart Poettering2019-07-291-2/+0
| | | | |
| * | | | udev: warn on rules files with weird access modesLennart Poettering2019-07-291-0/+2
| | | | |
| * | | | TODO: remove item implemented in f05e1ae6660Lennart Poettering2019-07-291-3/+0
| | | | |
* | | | | Merge pull request #13004 from shinygold/masterLennart Poettering2019-07-293-36/+102
|\ \ \ \ \ | | | | | | | | | | | | cryptsetup: Improve support for keyfiles on removable storage
| * | | | | cryptsetup: add keyfile-timeout to allow a keydev timeout and allow to ↵shinygold2019-07-172-35/+89
| | | | | | | | | | | | | | | | | | | | | | | | fallback to a password if it fails.
| * | | | | cryptsetup: add documentation for keyfile-timeoutshinygold2019-07-171-1/+13
| | | | | |
* | | | | | Merge pull request #13201 from yuwata/networkctl-merge-table_add_cellLennart Poettering2019-07-296-204/+477
|\ \ \ \ \ \ | | | | | | | | | | | | | | networkctl cleanups and improvements
| * | | | | | test-network: add tests for new entries in "networkctl status"Yu Watanabe2019-07-301-0/+12
| | | | | | |
| * | | | | | networkctl : Add support to display vxlan propertiesSusant Sahani2019-07-301-0/+89
| | | | | | |
| * | | | | | networkctl: Add support to display bridge propertiesSusant Sahani2019-07-301-1/+81
| | | | | | |
| * | | | | | time-util: introduce jiffies_to_usec()Yu Watanabe2019-07-292-4/+15
| | | | | | |
| * | | | | | table: add missing NULL initializationYu Watanabe2019-07-291-1/+1
| | | | | | |
| * | | | | | table: add TABLE_UINT8 or friendsYu Watanabe2019-07-292-0/+128
| | | | | | |
| * | | | | | table: add TABLE_IN_ADDR and TABLE_IN6_ADDRYu Watanabe2019-07-292-0/+45
| | | | | | |
| * | | | | | networkctl: merge multiple table_add_cell() by using table_add_many()Yu Watanabe2019-07-291-198/+106
| | | | | | |
* | | | | | | logind: notify dbus of changes to session StateThiebaud Weksteen2019-07-291-1/+1
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | This adds the option to monitor transitions between the state Opening -> Active.