On 16 June 2011 11:50, Michal Schmidt <mschmidt(a)redhat.com> wrote:
On 06/16/2011 11:20 AM, Frank Murphy wrote:
> nfs mounted local repo from an attached NAS.
> (supplies a number of boxes)
> yum-updateonboot used to update on boot. (sans rhgb quiet)
>
> In level 3, login prompt appears before update finished.
> level 5 --ditto--
>
> The only way currently to know if update is finished,
> is by typing "yum update" and waiting.
>
> How can I allow yum-update to finish before login?
You could add an ordering dependency to systemd-user-sessions.service:
After=yum-updateonboot.service
It works for a single boot,
then removes itself from:
/lib/systemd/system/systemd-user-sessions.service
so the Alert has to be entered again between boots.
Michal
--
Regards,
Frank Murphy
UTF_8 Encoded
Friend of Fedora