New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: introduce BindJournalSockets= #32487
base: main
Are you sure you want to change the base?
Conversation
c920712
to
618ae5e
Compare
618ae5e
to
db3070d
Compare
Important An -rc1 tag has been created and a release is being prepared, so please note that PRs introducing new features and APIs will be held back until the new version has been released. |
581b586
to
9705498
Compare
9705498
to
7110b3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the portable profiles and the integration tests to stop using ReadOnlyPaths=
to bind in the journal log sockets as well? And maybe set the option explicitly in a few cases in TEST-50-DISSECT so we have some extra coverage.
7110b3f
to
384fcba
Compare
4d7e18f
to
324f71e
Compare
This comment was marked as resolved.
This comment was marked as resolved.
in conjunction with either <varname>RootDirectory=</varname> or <varname>RootImage=</varname>.</para> | ||
|
||
<xi:include href="version-info.xml" xpointer="v257"/></listitem> | ||
</varlistentry> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't grok the usecase for an explicit switch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, so in the majority of cases this would be implied, but it feels very weird to me if this is directly bound to MountAPIVFS=yes
. E.g. people might use TemporaryFileSystem=/
, and for that they might only want the journal sockets but no other API file systems. Also, if they use something like StandardOutput/Error=null
, they'll probably also close down journal socket access.
324f71e
to
562559e
Compare
ddbfb96
to
ad2b388
Compare
c1e51d5
to
c8bcbf3
Compare
c8bcbf3
to
3a38914
Compare
3a38914
to
c73f5a5
Compare
(where BindJournalSockets=yes is implied)
c73f5a5
to
50a8171
Compare
As requested in #32478.
Note that I cannot reproduce the mentioned problem, i.e. sd-executor logs fine for me even when using the said combinations. However, this setting is generally useful IMO.