[Triage-desktop] [Bug 6091] gnome R5 fail after update

bugzilla-daemon bugzilla-daemon at rosalab.ru
Tue Aug 25 16:14:39 MSK 2015


http://bugs.rosalinux.ru/show_bug.cgi?id=6091

a.lahin at ntcit-rosa.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a.lahin at ntcit-rosa.ru

--- Comment #3 from a.lahin at ntcit-rosa.ru ---
We have following script in systemd.spec:
    # Try to read default runlevel from the old inittab if it exists
    runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }'
/etc/inittab 2> /dev/null)
    if [ -z "$runlevel" ] ; then
        target="/lib/systemd/system/graphical.target"
    else
        target="/lib/systemd/system/runlevel$runlevel.target"
    fi

    # And symlink what we found to the new-style default.target
    /bin/ln -sf "$target" %{_sysconfdir}/systemd/system/default.target 2>&1 ||
:

And /etc/inittab contains:
# Default runlevel. The runlevels used by Mandriva are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:3:initdefault:
...

So the script creates symlink: default.target -> runlevel3.target

We can remove this script as we don't support upgrade from pre-systemd systems.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rosalab.ru/pipermail/triage-desktop/attachments/20150825/2e1713e1/attachment.html>


More information about the Triage-desktop mailing list