Add support for sending ssh_authorized_keys info into the journald log
sohankunkerkar opened this issue · comments
Tagging coreos/fedora-coreos-tracker#279 issue for more visibility here.
In order to solve the above issue, there's one bullet point that talks about displaying information related to ssh_authorized_keys that were added by the afterburn
process. After having some discussion around this topic(coreos/fedora-coreos-config#344 (review)), it appears that sending a journal entry makes more sense here. Ideally, we need to use https://github.com/lucab/libsystemd-rs library to support this feature.
But it looks like (lucab/libsystemd-rs#34) isn't present in the latest release. It would be really helpful if we cut a new release of that library to support this feature.
For development, you can directly use the master
branch from git as shown here: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories.
I'll work out a new libsystemd
release in the meanwhile, but it would be good to confirm the existing logic doesn't have hidden bugs.
There is actually one missing piece in the library that needs to be implemented first, see lucab/libsystemd-rs#43