Re: Kickstart hangs on at the end of postinstall

Andrew Simpson <[email protected]> Thu, 29 Sep 2016 09:27:20 -0400
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CAFzrdOwFX5EdYvAGyAW1t0ieoa08Ef0UP=ccXoFddCcNDPx2NA@mail.gmail.com>
--===============3134294200894693178==
Content-Type: multipart/alternative; boundary=001a11489596fcde72053da56f7b

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

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 the
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
>

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

<div dir=3D"ltr">are you logging the post section that you&#39;re installin=
g it in?=C2=A0 Assuming you&#39;re seeing the logs/output and this is the l=
ast message, it&#39;s probably not hanging on that RPM.=C2=A0 It&#39;s prob=
ably 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 w=
hat&#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 the rpm spec file.=C2=A0=
 The were likely be a log of that somewhere under /tmp or /var/log/anaconda=
/</div><div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmai=
l_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Andrew Sim=
pson</div></div></div>
<br><div class=3D"gmail_quote">On Thu, Sep 29, 2016 at 5:03 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>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Hello everybody,<u></u><u></u><=
/span></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.<u></u><u></u></span></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 anacond=
a is waiting for something to be released.
 Do you know what could prevent anaconda from rebooting?<u></u><u></u></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0=C2=A0 Best regards.<u></=
u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></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"><span>26 Avenue JF Champollion
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span>B.P.52309<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span>31023 TOULOUSE Cedex 1 =E2=80=93 France<u></u>=
<u></u></span></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<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 f=
orbidden. Thank you in advance for your cooperation.
<br><br>
Please consider the environment before printing this email.</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>

--001a11489596fcde72053da56f7b--


--===============3134294200894693178==
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
--===============3134294200894693178==--