Re: Playing a sound when initrd wants a password

2024-01-28 Thread Max Nikulin
On 28/01/2024 00:07, Curt wrote: (Anyway, this is what my personal robot explained to me and may be subject to imperfection and error.) I find it over-sophisticated and, being put after the recipe, extremely unfriendly to those who get it in search engine results. Unfortunately bootup(7) is r

Re: Playing a sound when initrd wants a password

2024-01-28 Thread Stefan Monnier
[ Sorry, didn't read the actual post, just answering the Subject: ] What makes you think initrd will be satisfied with a sound? Stefan 🙂

Re: Playing a sound when initrd wants a password

2024-01-27 Thread Nicolas George
David Wright (12024-01-26): > It looks as if the root directory is decrypted by > /usr/share/initramfs-tools/scripts/local-top/cryptroot > and, from its prereqs, that this script makes sure it > is the last to run from scripts/local-top, by actually > being run from scripts/local-block/cryptroot. >

Re: Playing a sound when initrd wants a password

2024-01-27 Thread Nicolas George
Curt (12024-01-27): > (Anyway, this is what my personal robot explained to me and may be subject to > imperfection and error.) I started explaining all the ways this answer is obviously nonsensical, but I got fed up and deleted it. If I wanted the answers from a stupid AI, I could have asked dire

Re: Playing a sound when initrd wants a password

2024-01-27 Thread Geert Stappers
On Sat, Jan 27, 2024 at 05:07:37PM -, 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 o

Re: Playing a sound when initrd wants a password

2024-01-27 Thread Curt
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 b

Re: Playing a sound when initrd wants a password

2024-01-26 Thread David Wright
On Fri 26 Jan 2024 at 16:13:26 (+0100), Nicolas George wrote: > Hi. > > Yet another strange question. Is there a supported¹ way to have > cryptsetup play a specific sound when it asks the password for the root > partition from the initrd? > > I think brttty (braille) is already running at this po

Re: Playing a sound when initrd wants a password

2024-01-26 Thread Nicolas George
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. And what should I put in the timer file to express “when a password is asked

Re: Playing a sound when initrd wants a password

2024-01-26 Thread Curt
On 2024-01-26, Nicolas George wrote: > Curt (12024-01-26): >> I guess a systemd timer unit constitutes a hack. > > A systemd timer in the initrd? Can you elaborate? > A play-sound.timer unit file in /usr/lib/systemd/system-generators/initrd directory. A play-sound.service file in the same direct

Re: Playing a sound when initrd wants a password

2024-01-26 Thread Nicolas George
Curt (12024-01-26): > I guess a systemd timer unit constitutes a hack. A systemd timer in the initrd? Can you elaborate? -- Nicolas George

Re: Playing a sound when initrd wants a password

2024-01-26 Thread Curt
On 2024-01-26, Nicolas George wrote: > Hi. > > Yet another strange question. Is there a supported¹ way to have > cryptsetup play a specific sound when it asks the password for the root > partition from the initrd? > > I think brttty (braille) is already running at this point (no occasion > to test

Playing a sound when initrd wants a password

2024-01-26 Thread Nicolas George
Hi. Yet another strange question. Is there a supported¹ way to have cryptsetup play a specific sound when it asks the password for the root partition from the initrd? I think brttty (braille) is already running at this point (no occasion to test yet), but a recognizable sound would be something n