Re: Boot Prompt Text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 18, 2014 at 12:33:49 CET, Richard Z wrote:
> On Mon, Feb 17, 2014 at 06:57:25PM +0100, Arno Wagner wrote:
> > On Mon, Feb 17, 2014 at 15:39:01 CET, Arno Wagner wrote:
> > > > Actually, it's systemd's doing:
> > > > 
> > > > http://cgit.freedesktop.org/systemd/systemd/tree/src/cryptsetup/cryptsetup.c#n266
> > > 
> > > Ah, that evil monster. For that I would say those that 
> > > use systemd shall suffer from the complexity they chose.
> > > That this is in a c-file, not an easily changed shell-
> > > skript, already explains quite a bit of what is wrong
> > > with systemd.
> > > 
> > > So fixing this goes something like this:
> > >  - create a patch for the c-code
> > >  - recompile and reinstall systemd
> > >  - and maintain your patch forever
> > > 
> > > Pity. With a sane init system, it would just be a change to
> > > some shell-skript, i.e. 2 minutes with a text editor. 
> > 
> > Aparently, I was wrong. It seems the correct process to
> > do this (according to a personal communication from
> > Thomas Bächler) is as follows:
> > 
> > - Find a solution for the problem that
> >   a) is generic enough to fit your use case and satisfy others
> >   b) can be implemented by the admin using appopriate configuration
> >      files (without further editing shell scripts or binaries).
> > - Implement that solution in the code.
> > - Get the patch merged into systemd.
> 
> seems there are other ways to do it because on my Fedora 19 with 
> out of the box encrypted hard disk I do not see any prompt - just 
> an entry box without any text where I can type the password.

Interesting. Can you find out what the difference is?
The OP might want to know.
 
> > How that has any business replacing
> > 
> > - Start editor
> > - Fiddle with init-script until you like the prompt
> > - Enjoy _your_ solution to the problem, no matter what 
> >   anybody else thinks about it
>  
> not always quite so easy, some distros have some kind of initial 
> ram disk. I would rather patch systemd than mess with the initial
> ramdisk every time a new kernel is installed.

How difficult messing with the initrd is depends on the
distro: Some have commands that allow you to change things
easily and persistently, others will make that very hard.

If you are able to patch systemd, then there is nothing 
wrong with doing so IMO, and you can try to get the patch
into the upstream version as well. 

Arno
-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@xxxxxxxxxxx
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -  Plato
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt





[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux