[sles-beta] SLES12 RC2 x86_64 Login possible even though autoyast init-script is still runing

Ronny Pretzsch ronny.pretzsch at dfs.de
Wed Sep 17 06:31:34 MDT 2014


On Tue, 2014-08-26 at 13:23 +0000, urs.frey at post.ch wrote:
> Hi
>  
> When trying to install SLES12 Rc2 x86_64 using autoyast with
> init-scripts within autoinst.xml the installation process does not
> wait until init-script has terminated.
> So I can already see the final login screen even though my init-script
> within autoinst.xml is still running
>  
> This is wrong.
> I mean under SLES11-SP3 the autoinst.xml init-script does terminate
> and ONLY after termination of this init-script the services get
> restarted and the login gets visible
>  
> I consider this as bug.
> Please fix this within autoyast

Hello,

I reported this bug on the list with beta 9 or so.

Stefan Schubert told us to report a bug which we did:

https://bugzilla.novell.com/show_bug.cgi?id=891144

Unfortunately the very same Stefan closed this bug with a useless cite
of the documentation:

------
Summary: SLE12 RC1- autoyast init-script is still executed while at
login prompt 
Collapse All Comments - Expand All Comments 
________________________________________________________________________
[reply] [-] Description Brian King 2014-08-08 20:40:30 UTC 
Autoyast init-script is still being executed while the login prompt (tty 1-6)
appears.  Thus the user thinks the system is ready when it really is not.
[reply] [-] Comment 3 Stefan Schubert 2014-08-20 08:54:21 UTC 
The docu says:
"These scripts are executed when YaST has finished, during the initial boot
process after the network has been initialized. These final scripts are
executed using a special init.d script executed only once."

So init scripts are intent to run independent.
------

I am very happy to see not only we (DFS) have the simple requirement to
run a script after autoyast installation but before allowing user login
but also Urs Frey and others do.

We use the init-script to run puppet and make the system ready for
usage, which takes some minutes. I think this is a standard use case.
During this puppet phase a log-in *must* be avoided.

What is the official statement from SUSE regarding this topic?

For us the feature "init-script" is considered not-working with SLE12
currently.

Regards,

Ronny Pretzsch



DFS Deutsche Flugsicherung GmbH
Am DFS-Campus
D - 63225 Langen

Tel.: +49-(0)6103-707-0

Sitz der Gesellschaft: Langen/Hessen
Zuständiges Registergericht: AG Offenbach am Main, HRB 34977
Vorsitzender des Aufsichtsrates: Michael Odenwald
Geschäftsführer: Prof. Klaus-Dieter Scheurle (Vors.), Robert Schickling, Dr. Michael Hann

Internet: http://www.dfs.de
Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc <http://www.dfs.de/dfs/public_key.asc>


More information about the sles-beta mailing list