Re: Playing a sound when initrd wants a password
On Sat, Jan 27, 2024 at 05:07:37PM -0000, Curt wrote:
> On 2024-01-26, Nicolas George wrote:
> > Curt (12024-01-26):
> >> A play-sound.timer unit file in /usr/lib/systemd/system-generators/initrd
> >> directory.
> >
> > I see no mention of this directory on the web. Where did yo find the
> > idea of using it, I want to check the doc.
>
> I guess that path should've been /usr/local/lib/systemd/system-generators/*.
Emphasing "guess"
> https://manpages.debian.org/testing/systemd/systemd.generator.7.en.html
Text from that URL:
Generators are small executables placed in
/lib/systemd/system-generators/ and other directories listed
above. systemd(1) will execute these binaries very early at bootup and
at configuration reload time — before unit files are loaded. Their
main purpose is to convert configuration and execution context
parameters that are not native to the service manager into dynamically
generated unit files, symlinks or unit file drop-ins, so that they
can extend the unit file hierarchy the service manager subsequently
loads and operates on.
> > And what should I put in the timer file to express “when a password is
> > asked”?
>
> > In fact, what relation do you see between a timer and cryptsetup asking
> > for a password?
> >
>
} Harmfull text
>
> (Anyway, this is what my personal robot explained to me
Do mankind a favor and next time start with expressing that.
> and may be subject to imperfection and error.)
I'm fairly sure it is an error.
And the first two laws of Clarke say I should not have sent this email.
Groeten
Geert Stappers
[1] https://en.wikipedia.org/wiki/Clarke%27s_three_laws
--
Silence is hard to parse
Reply to: