Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-3134

OpenRC update in OpenVZ containers removes interface from runlevel.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical (System) Critical (System)
    • None
    • None
    • None

      openrc update in openvz containers removes network interface from default runlevel.
      Update from openrc-0.12.4-r4, which was the version before openrc-0.18.3-r1 makes netif.eth0 interface removed from runlevel and hence networking is down after update.
      openrc-0.12.4-r4 has networking scripts incorporated with openrc.
      openrc-0.18.3-r1 has no networking scripts, because they moved into a separate package sys-apps/corenetwork. netif.eth0 is present in runlevel.

      oleg-gnome-test / # ls -l /etc/runlevels/default/
      total 0
      lrwxrwxrwx 1 root root 17 Feb  1 08:14 local -> /etc/init.d/local
      lrwxrwxrwx 1 root root 22 Feb 21 19:44 netif.eth0 -> /etc/init.d/netif.eth0
      lrwxrwxrwx 1 root root 20 Feb  1 08:14 netmount -> /etc/init.d/netmount
      lrwxrwxrwx 1 root root 19 Feb  1 10:28 postfix -> /etc/init.d/postfix
      lrwxrwxrwx 1 root root 16 Feb  1 11:05 sshd -> /etc/init.d/sshd
      oleg-gnome-test / #
      

      During update in container, corenetwork installation happens prior to openrc:

      oleg-gnome-test / # emerge -av openrc
      
       * IMPORTANT: 3 news items need reading for repository 'gentoo'.
       * Use eselect news read to view new items.
      
      
      These are the packages that would be merged, in order:
      
      Calculating dependencies... done!
      [ebuild  N     ] sys-apps/corenetwork-1.5.6::gentoo  0 KiB
      [ebuild     U  ] sys-apps/openrc-0.18.3-r1::gentoo [0.12.4-r4::gentoo] USE="ncurses pam unicode -audit% -debug -netifrc% -newnet% (-prefix) (-selinux) -static-libs -tools%" 0 KiB
      [blocks b      ] <=sys-apps/openrc-0.12.4-r4 ("<=sys-apps/openrc-0.12.4-r4" is blocking sys-apps/corenetwork-1.5.6)
      
      Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 KiB
      Conflict: 1 block
      
      Would you like to merge these packages? [Yes/No]
      

      this soft block should also make portage remove older openrc instance, so newer files installed by corenetwork replaced the ones installed by openrc.

            Unassigned Unassigned
            oleg oleg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: