Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-6374 openrc/corenetwork improvements tracker
  3. FL-6510

/etc/init.d/xdm stop -- rc_cgroups cleanup error

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      This happens to me: 

      rocket ~/metro # /etc/init.d/xdm stop
       * Stopping gdm ...                                                                                                                                                                                          [ ok ]
       * starting cgroups cleanup ...
      /lib/rc/sh/rc-cgroup.sh: line 37: [: : integer expression expected   

      It's a bit messy.

      Changing /lib/rc/sh/rc-cgroup.sh like so should resolve it (needs testing):

        while read -r p; do
              [ "$p" = "$$" ] || pids="${pids} ${p}"
          done < "${cgroup_procs}"
      

      Maybe a bit of debug to make sure we aren't getting anything we shouldn't be getting.

            drobbins drobbins
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: