Comments (6)
I guess this is somewhat similar to #27373 by the way (Except this one is for paths instead of unix sockets)
from systemd.
This is intentional: https://github.com/systemd/systemd/blob/main/src/core/exec-credential.c#L500
from systemd.
To give an anecdote about why this bit me:
Nix uses the existence of the signing key whether packaging signing is enabled or not after building a package. So a missing credential caused my packages not to be signed. We can brush that off as "Nix made a stupid design choice there" but that's why I ran into this.
I'm fine with documenting this as "expected behaviour" by the way. and perhaps that means we can close #27373 with the same reason
from systemd.
Hmm, I think #27373 can serve as a valid RFE?
from systemd.
Well. If we can agree on "Hey it's up to the application to actually check that the credential exists" then we can just make all LoadCredential=
stanzas work the same. That is: Always succeed silently if the credential doesn't exist. Then people do not get surprised. And then we do not need to change the AF_UNIX
protocol to handle "Credential does not exist" scenario"
from systemd.
This is intended, the idea is that we import creds down the tree that are specified, but gracefully handle the ones that aren't.
from systemd.
Related Issues (20)
- option to set up full disk encryption during first boot HOT 4
- Start background process with systemd-run that still logs to the current TTY HOT 2
- systemd-analyze: Please show initrd time for initrds that do not use systemd
- TEST-46-HOMED is flaky in Github Actions HOT 5
- TEST-55-OOMD is flaky in Github Actions
- TEST-15-DROPIN is flaky in Github Actions
- systemd-creds allow per-service custom decryption keys
- systemd-portabled fails to start service with "Failed to set up mount namespacing: Permission denied" HOT 3
- Configure compression in repart.d file (squashfs, erofs, btrfs)
- Service log rate limiting doesn't work HOT 4
- TEST-38-FREEZER is flaky in Github Actions HOT 2
- Add support for WS-Discovery protocol HOT 3
- systemd.path: DirectoryNotEmpty doesn't trigger for files starting with . HOT 2
- Fix Positivo N14EPE and N15EPE key toggle touchpad and search key
- Deleting "$HOME"/.identity Prevents Logging in to systemd-homed User Account HOT 3
- setuid on polkit HOT 9
- shutdown disrepects dry-run (e.g. shutdown -k 120, shutdown -k -c)
- systemd-repart very slow creation of partitions with `Encrypt=` HOT 1
- systemd-sysext refuses to mount any extension if one is wrongly signed, even if its extension-release does not match os-release HOT 2
- .updated stamps get modification time of systemd-sysext.service start time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from systemd.