<div dir="ltr">Hi<div><br></div><div>If my email is TL;DR then the jist of my question/issue is:</div><div><br></div><div>On a headless machine, you are never presented with the prompt to set up a user or accept the license agreement. (initial-setup job/package).</div><div>I do run VNC server, and had gone through the GNOME welcome wizard, as a standard user and as root.</div><div>A systemd job keeps running on boot that&#39;s presumably outputting the initial-setup-text program to [somewhere] but there&#39;s no way (that I know of) to give it input to tell it to accept the agreement and continue.</div><div>The initial-setup-text systemd job means systemd-analyze outputs &quot;<span style="color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;white-space:pre-line">Bootup is not yet finished. Please try again later.&quot;</span></div><div>Manually running initial-setup-text and accepting the license agreement didn&#39;t seem to affect any change.  Running the program again just said the license agreement hadn&#39;t been accepted.</div><div>I just removed the initial-setup package via yum.</div><div>The systemd job went away and systemd-analyze now reports bootup in x seconds etc.</div><div><br></div><div>Are there any unforeseeable ramifications of doing this?  At least my machine isn&#39;t spontaneously rebooting...<br></div><div>Does the initial-setup package change/mark something somewhere that should perhaps be done manually?<br></div><div><br></div><div>----------</div><div>More detailed version:<br><div><br></div><div>Following a test upgrade from 6.5 to 7 on a headless server (worked fine btw) I ran into a bit of a SNAFU with systemd and services. I was trying to troubleshoot a couple of legacy init.d scripts for some programs that just wouldn&#39;t seem to start correctly via systemd using the chkconfig legacy compatibility &#39;thingy&#39;.</div><div><br></div><div>The systemd-analyze tool kept saying that my machine hadn&#39;t finished booting up.<br></div><div>I had performed the upgrade mid-September.<br></div><div>The server has been rebooted a few times, but even after 3 days, I still got that message.</div><div><br></div><div>BS I said.</div><div><br></div><div>I&#39;ve read the docs thoroughly on how to manage services, and, well, no services were really causing any problems (a couple were failing on start up, resolved most of those, still stuck on one but I could disable that) so I couldn&#39;t understand why systemd-analyze would keep reporting that my system hadn&#39;t &quot;finished booting&quot;.</div><div><br></div><div>I then stumbled upon the &quot;systemctl list-jobs&quot;.</div><div>This listed - among a couple of other jobs - an initial-setup-text program running as a job that was &quot;waiting&quot; (from memory).  Possibly waiting on input.  I can&#39;t remember.</div><div>Realizing what this was, I tried to run it manually from my ssh console.</div><div>Press 2, accepting the license agreement, c, c ... the job wouldn&#39;t &quot;go away&quot;.  The license also was never accepted.  I ran it again, accepted the agreement, c, went back again.  Still no change.</div><div><br></div><div>So I killed the job...</div><div><br></div><div><div>[root@trixie bin]# systemctl status initial-setup-text</div><div>initial-setup-text.service - Initial Setup configuration program (text mode)</div><div>   Loaded: loaded (/usr/lib/systemd/system/initial-setup-text.service; disabled)</div><div>   Active: active (exited) since Thu 2014-10-09 13:35:50 NZDT; 7min ago</div><div> Main PID: 993 (code=killed, signal=TERM)</div><div>   CGroup: /system.slice/initial-setup-text.service</div><div><br></div><div>..... and re-booted.</div><div><br></div><div>It came back (the job that is).  FFS.  Still couldn&#39;t really use systemd-analyze to try and find out what&#39;s going on with my &quot;legacy services&quot; that aren&#39;t playing nice.</div><div><br></div><div>So I...</div><div>yum remove initial-setup</div><div>[reboot]</div><div>... and now the job has gone.  YAY.  Maybe I should have done something differently,  Oh well.</div><div><br></div><div>My systemd-analyze now reports my system boots OK, and systemd list-jobs reports no jobs running.</div></div><div><br></div><div>So I guess my bug report would go something like....</div></div><div><br></div><div>The initial-setup-text systemd job keeps coming back after reboots.<br></div><div>There&#39;s no way (easy way that I could find) to provide input to the initial-setup-text systemd job on a headless system. Short of redirecting output to a com port and ... yeah... too hard.</div><div>systemd never reports a successful boot if you have a job that never completes (and that keeps coming back).<br></div><div>Removing the initial-setup-text package was the only way I could think of to get rid of it.<br></div><div>My system doesn&#39;t behave erratically after doing this.</div><div>I would suggest (if possible) that the initial-setup-text gets run when you SSH into your machine for the first time for you to accept the license agreement etc.</div><div>Maybe it&#39;s not even required.  I did see a couple of bugzilla reports (<a href="http://bugs.centos.org/view.php?id=7173">http://bugs.centos.org/view.php?id=7173</a>) that maybe suggested that.</div><div><br></div><div>Cheers,</div><div>Bert</div></div>