Re: Kickstart hangs on at the end of postinstall

Andrew Simpson <[email protected]> Fri, 30 Sep 2016 09:53:37 -0400
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CAFzrdOwG2EvPHGMV-3wMHW26=fQY4NY=iFsJfbiBgDtobpj9Cg@mail.gmail.com>
--===============3964990770964560729==
Content-Type: multipart/alternative; boundary=001a114225e2de793a053db9ebf0

--001a114225e2de793a053db9ebf0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

so we would unfortunately need to see the entire set of logs to find what's
stopping the install from rebooting/completing.

Andrew Simpson

On Fri, Sep 30, 2016 at 8:42 AM, Jacquet Romain <
[email protected]> wrote:

> Hi Andrew,
>
>     Thank you very much for answer. Yes, I=E2=80=99m logging the post-ins=
tall with
> =E2=80=9C%post --logfile /var/log/ks-post.log=E2=80=9D. When the installe=
r is stuck I can
> see the ouput in /mnt/sysimage/var/log/ks-post.log. The extract looks
> like:
>
>     [=E2=80=A6] // very long stuff
>
>      rpm =E2=80=93Uv my-daemon-ftp.rpm // faulty RPM
>
>      [=E2=80=A6] // very long stuff again
>
>     End of postinstallation // echo at the end the installation
>
>
>
>   So the daemon installation does not stop the post-installation. Another
> workaround is to stop the daemon just after the update in the kickstart
> file. So it is like anaconda cannot restart with the daemon running. Do y=
ou
> have another idea? Is it possible to have a more detailed log of anaconda=
?
>
>
>
>   Best regards.
>
>
>
>
>
>
>
> *De :* Andrew Simpson [mailto:[email protected]]
> *Envoy=C3=A9 :* jeudi 29 septembre 2016 15:27
> *=C3=80 :* Discussion list about Kickstart
> *Objet :* Re: Kickstart hangs on at the end of postinstall
>
>
>
> are you logging the post section that you're installing it in?  Assuming
> you're seeing the logs/output and this is the last message, it's probably
> not hanging on that RPM.  It's probably hanging on the next command in th=
e
> post section, which hasn't been printed out yet.  comment out the RPM
> install  portion and see what's hanging.  If it is indeed hanging on the
> rpm, then there's probably an issue with one of the scriptlets in the rpm
> spec file.  The were likely be a log of that somewhere under /tmp or
> /var/log/anaconda/
>
>
> Andrew Simpson
>
>
>
> On Thu, Sep 29, 2016 at 5:03 AM, Jacquet Romain <
> [email protected]> wrote:
>
> Hello everybody,
>
>     I=E2=80=99m struggling to find a bug caused by a RPM update in the po=
stinstall
> section. The line looks like: =E2=80=9Crpm =E2=80=93Uvh my-daemon-package=
=E2=80=9D and update a
> daemon. I=E2=80=99m using a CentOS 6.6 and its anaconda 13.21.229.
>
> With this line in the kickstart, anaconda never ends. The only way to sto=
p
> anaconda is to use the shell in the virtual terminal (Alt+Ctrl+F2) and ki=
ll
> the daemon. It is like anaconda is waiting for something to be released. =
Do
> you know what could prevent anaconda from rebooting?
>
>
>
>    Best regards.
>
>
>
>
>
> -- Romain JACQUET --
>
> IT Infrastructure manager
>
> Phone : 05 34 35 21 46
>
> Telespazio France
>
> 26 Avenue JF Champollion
>
> B.P.52309
>
> 31023 TOULOUSE Cedex 1 =E2=80=93 France
>
>
>
>
>
> WARNING: This message contains confidential and/or proprietary informatio=
n
> which may be subject to privilege or immunity and which is intended for t=
he
> use of its addressee only. Should you receive this message in error, you
> are kindly requested to inform the sender and to definitively remove it
> from any paper or electronic format. Any other use of this e-mail is
> strictly forbidden. Thank you in advance for your cooperation.
>
> Please consider the environment before printing this email.
>
>
> _______________________________________________
> Kickstart-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/kickstart-list
>

--001a114225e2de793a053db9ebf0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">so we would unfortunately need to see the entire set of lo=
gs to find what&#39;s stopping the install from rebooting/completing.</div>=
<div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_signa=
ture" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Andrew Simpson</d=
iv></div></div>
<br><div class=3D"gmail_quote">On Fri, Sep 30, 2016 at 8:42 AM, Jacquet Rom=
ain <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">





<div lang=3D"FR" link=3D"blue" vlink=3D"purple">
<div class=3D"m_-6848184954716893252WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Andrew,=
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">=C2=A0=C2=
=A0=C2=A0 Thank you very much for answer. Yes, I=E2=80=99m logging the post=
-install with =E2=80=9C%post --logfile /var/log/ks-post.log=E2=80=9D. When =
the installer is stuck
 I can see the ouput in /mnt/sysimage/var/log/ks-post.<wbr>log. The extract=
 looks like:<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=C2=A0=C2=A0=C2=A0 [=E2=
=80=A6] // very long stuff<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">=C2=A0=C2=
=A0=C2=A0=C2=A0 rpm =E2=80=93Uv my-daemon-ftp.rpm // faulty RPM<u></u><u></=
u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">=C2=A0=C2=
=A0=C2=A0=C2=A0 [=E2=80=A6] // very long stuff again<u></u><u></u></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=C2=A0=C2=A0=C2=A0 End of=
 postinstallation // echo at the end the installation</span>
<u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">=C2=A0 So =
the daemon installation does not stop the post-installation. Another workar=
ound is to stop the daemon just after the update in the kickstart
 file. So it is like anaconda cannot restart with the daemon running. Do yo=
u have another idea? Is it possible to have a more detailed log of anaconda=
?<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=
=A0<u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">=C2=A0 Bes=
t regards.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=
=A0<u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=
=A0<u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=
=A0<u></u></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">De=C2=A0:</span></b><span style=3D"fo=
nt-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Andr=
ew Simpson [mailto:<a href=3D"mailto:[email protected]" target=3D"_blan=
k">[email protected]</a>]
<br>
<b>Envoy=C3=A9=C2=A0:</b> jeudi 29 septembre 2016 15:27<br>
<b>=C3=80=C2=A0:</b> Discussion list about Kickstart<br>
<b>Objet=C2=A0:</b> Re: Kickstart hangs on at the end of postinstall<u></u>=
<u></u></span></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">are you logging the post section that you&#39;re ins=
talling it in?=C2=A0 Assuming you&#39;re seeing the logs/output and this is=
 the last message, it&#39;s probably not hanging on that RPM.=C2=A0 It&#39;=
s probably hanging on the next command in the post section,
 which hasn&#39;t been printed out yet. =C2=A0comment out the RPM install =
=C2=A0portion and see what&#39;s hanging.=C2=A0 If it is indeed hanging on =
the rpm, then there&#39;s probably an issue with one of the scriptlets in t=
he rpm spec file.=C2=A0 The were likely be a log of that somewhere
 under /tmp or /var/log/anaconda/<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal">Andrew Simpson<u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">On Thu, Sep 29, 2016 at 5:03 AM, Jacquet Romain &lt;=
<a href=3D"mailto:[email protected]" target=3D"_blank">romain.j=
[email protected]</a><wbr>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Hello everybody,</span><u></u><=
u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0=C2=A0=C2=A0 I=E2=80=99m =
struggling to find a bug caused by a RPM update in the postinstall section.=
 The line looks like: =E2=80=9Crpm =E2=80=93Uvh my-daemon-package=E2=80=9D =
and update a daemon. I=E2=80=99m
 using a CentOS 6.6 and its anaconda 13.21.229.</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">With this line in the kickstart=
, anaconda never ends. The only way to stop anaconda is to use the shell in=
 the virtual terminal (Alt+Ctrl+F2) and kill the daemon.
 It is like anaconda is waiting for something to be released. Do you know w=
hat could prevent anaconda from rebooting?</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0=C2=A0 Best regards.</spa=
n><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span><u></u><u></u></p>
<p class=3D"MsoNormal">-- Romain JACQUET --<u></u><u></u></p>
<p class=3D"MsoNormal">IT Infrastructure manager<u></u><u></u></p>
<p class=3D"MsoNormal">Phone : 05 34 35 21 46<u></u><u></u></p>
<p class=3D"MsoNormal">Telespazio France<u></u><u></u></p>
<p class=3D"MsoNormal">26 Avenue JF Champollion
<u></u><u></u></p>
<p class=3D"MsoNormal">B.P.52309<u></u><u></u></p>
<p class=3D"MsoNormal">31023 TOULOUSE Cedex 1 =E2=80=93 France<u></u><u></u=
></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
WARNING: This message contains confidential and/or proprietary information =
which may be subject to privilege or immunity and which is intended for the=
 use of its addressee only. Should you receive this message in error, you a=
re kindly requested to inform the
 sender and to definitively remove it from any paper or electronic format. =
Any other use of this e-mail is strictly forbidden. Thank you in advance fo=
r your cooperation.
<br>
<br>
Please consider the environment before printing this email.<u></u><u></u></=
p>
</div>
<p class=3D"MsoNormal"><br>
______________________________<wbr>_________________<br>
Kickstart-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Kickstart-li=
[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/kickstart-list" target=
=3D"_blank">https://www.redhat.com/<wbr>mailman/listinfo/kickstart-<wbr>lis=
t</a><u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Kickstart-list mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><=
br>
<a href=3D"https://www.redhat.com/mailman/listinfo/kickstart-list" rel=3D"n=
oreferrer" target=3D"_blank">https://www.redhat.com/<wbr>mailman/listinfo/k=
ickstart-<wbr>list</a><br></blockquote></div><br></div>

--001a114225e2de793a053db9ebf0--


--===============3964990770964560729==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
--===============3964990770964560729==--