- Nov 07, 2022
-
-
Luca Bruno authored
journal: add StderrIsJournalStream function
-
WGH authored
To ensure that StderrIsJournalStream properly works in real conditions, this test re-executes itself with systemd-run, and observes exit code and logged entries.
-
WGH authored
A test that will be added in a latter commit requires systemd-run --wait, which is not available on Ubuntu 16.04. DEBIAN_FRONTEND=noninteractive prevents hang on "Setting up tzdata" that became a problem on Ubuntu 20.04 (though something similar could happen on any Debian/Ubuntu version).
-
WGH authored
See discussion in https://github.com/coreos/go-systemd/pull/410
-
Luca Bruno authored
internal/dlopen: fix test and run in CI
-
Luca BRUNO authored
This adds one missing file that was forgotten during the initial porting. Without that, the test could not even be built. The internal package is now also properly tested by CI. Source file is taken verbatim from https://github.com/coreos/pkg/tree/c7d1c02cb6cf99162b9cdbcad2a6a5c10af2ddca/dlopen.
-
- Nov 05, 2022
-
-
WGH authored
This function can be used for automatic protocol upgrade described in [1]. Both unit tests and runnable example are included. Only the latter requires systemd, as unit tests are self-sufficient, and only test that JOURNAL_STREAM environment variable is checked properly. [1] https://systemd.io/JOURNAL_NATIVE_PROTOCOL/#automatic-protocol-upgrading
-
- Sep 16, 2022
-
-
Luca Bruno authored
login1: add methods to get session/user properties
-
- Aug 31, 2022
-
-
ilyam8 authored
-
Luca Bruno authored
login1: add context-aware ListSessions and ListUsers methods
-
- Aug 30, 2022
-
-
ilyam8 authored
-
- Aug 10, 2022
-
-
Luca Bruno authored
workflows: add Go 1.19; update actions versions
-
Benjamin Gilbert authored
-
- Aug 09, 2022
-
-
Benjamin Gilbert authored
Pin to the last patch release of a Go minor, rather than the first.
-
Benjamin Gilbert authored
-
- Apr 01, 2022
-
-
Luca Bruno authored
ci: add testing using 1.16/1.17/1.18
-
Luca BRUNO authored
-
- Mar 25, 2022
-
-
Micah Abbott authored
-
Micah Abbott authored
Go 1.17 introduced the new build constraint format[1] and `gofmt` now complains if the new constraint format isn't present when the old format is found. [1] https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md
-
- Feb 03, 2022
-
-
Luca Bruno authored
journal: remove implicit initialization
-
- Feb 01, 2022
-
-
Nicola Murino authored
some application could log to journald conditionally, the implicit initialization will always create a socket on init. We now create the socket only if necessary Signed-off-by:
Nicola Murino <nicola.murino@gmail.com>
-
- Jan 24, 2022
-
-
Luca Bruno authored
dbus: add Connected methods to check connections status
-
- Jan 17, 2022
-
-
Shiming Zhang authored
-
- Dec 13, 2021
-
-
Luca Bruno authored
dbus: add support for querying unit by PID
-
Dylan Ratcliffe authored
PID-based queries can now return either a name or a path
-
Dylan Ratcliffe authored
Allows users to get the unit name by PID. Similar to `systemctl status {pid}`
-
- Jul 29, 2021
-
-
Luca Bruno authored
workflows: limit permissions to reading repo contents
-
- Jul 28, 2021
-
-
Benjamin Gilbert authored
-
- Jun 16, 2021
-
-
Luca Bruno authored
dbus: implement support for cgroup freezer APIs
-
- Jun 14, 2021
-
-
Michal Sekletar authored
-
- Jun 08, 2021
-
-
Benjamin Gilbert authored
CONTRIBUTING: drop obsolete mailing list and IRC channel
-
- May 27, 2021
-
-
Benjamin Gilbert authored
-
- May 11, 2021
-
-
Benjamin Gilbert authored
*: rename master branch to main
-
- May 07, 2021
-
-
Benjamin Gilbert authored
-
Benjamin Gilbert authored
These docs are long gone.
-
Benjamin Gilbert authored
-
- May 03, 2021
-
-
Luca Bruno authored
dbus: fix deprecated marks and docs
-
- Apr 30, 2021
-
-
Kir Kolyshkin authored
1. Fix "Deprecated:" annocations. They must be at the start of a new paragraph (IOW it needs an empty line before), otherwise tools (linters etc.) don't see them. 2. It is weird that the deprecated functions are documented, while the non-deprecated ones just refer to the deprecated ones. Move the documentation to non-deprecated functions. 3. Address some nits in docs: - add missing documentation for some methods; - add missing punctuation; - fix bad formatting (in particular, markdown is not supported); - minor rewording in a few places. Fixes: 7172a8db ("dbus: add context-aware methods") Fixes: c51f0924 ("dbus: add context to open functions") Signed-off-by:
Kir Kolyshkin <kolyshkin@gmail.com>
-
- Apr 15, 2021
-
-
Luca Bruno authored
journal: close unix socket after successful probe
-
Jeremy Gill authored
This is done to ensure unix sockets aren't left dangling after each Enabled() call, which can lead to eventual process resource exhaustion. Fixes #366.
-