Your message dated Tue, 14 Oct 2014 05:06:35 +0200
with message-id <[email protected]>
and subject line Re: Bug#764991: cgmanager: dbus-related assertion failure
has caused the Debian Bug report #764991,
regarding cgmanager: dbus-related assertion failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
764991: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764991
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cgmanager
Version: 0.32-4
Severity: important

Dear Maintainer,

after updating my testing-based system, cgmanager fails to start.  The
assertion failure occures always (start script invocation or directly on
the shell with '/sbin/cgmanager'):

        cgmanager:cgmanager.c:1379: Assertion failed in main: server != NULL

Do you need some more details about my system/installation?

Kind regards,
Nicolas


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cgmanager depends on:
ii  init-system-helpers  1.21
ii  libc6                2.19-11
ii  libcgmanager0        0.32-4
ii  libdbus-1-3          1.8.8-1+b1
ii  libnih-dbus1         1.0.3-4.3
ii  libnih1              1.0.3-4.3

cgmanager recommends no packages.

cgmanager suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Dear Serge,

> Drat.  Would you mind trying
> 
> sudo strace -f /sbin/cgmanager -m name=systemd --debug

thank you for that helpful hint.  I had two old (obsolete and 
interferend) entrie in my /etc/fstab:

        tmpfs           /sys/fs/cgroup  tmpfs   defaults        0       0
        cgroup          /sys/fs/cgroup  cgroup  cpu,cpuset      0       0

Removing these leads to an exemplary start of the 'cgmanager'.  For 
completeness the strace log and mount output: (cut-out 90 lines:)

        execve("/sbin/cgmanager", ["/sbin/cgmanager", "-m", 
        "name=systemd", "--debug"], [/* 15 vars */]) = 0
        [ Process PID=5888 runs in 32 bit mode. ]
        brk(0)                                  = 0xfffffffff8a4e000
        [...]
        uname({sys="Linux", node="larvik", ...}) = 0
        brk(0)                                  = 0xfffffffff8a4e000
        brk(0xf8a6f000)                         = 0xfffffffff8a6f000
        stat64("/sys/fs/cgroup", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
        clock_getres(CLOCK_MONOTONIC, {0, 1})   = 0
        getresuid32([0], [0], [0])              = 0
        getresgid32([0], [0], [0])              = 0
        socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
        connect(3, {sa_family=AF_LOCAL, 
sun_path="/sys/fs/cgroup/cgmanager/sock"}, 31) = -1 ENOENT (No such file or 
directory)
        close(3)                                = 0
        stat64("/sys/fs/cgroup/cgmanager/sock", 0xfff1fb20) = -1 ENOENT (No 
such file or directory)
        statfs("/sys/fs/cgroup", {f_type=0x27e0eb, f_bsize=0, f_blocks=0, 
f_bfree=0, f_bavail=1095216660480, f_files=17729625001984, f_ffree=0, 
f_fsid={0, 0}, f_namelen=115964116993, f_frsize=3221252719272525830}) = 0
        statfs("/sys/fs/cgroup", {f_type=0x27e0eb, f_bsize=0, f_blocks=0, 
f_bfree=0, f_bavail=1095216660480, f_files=17729625001984, f_ffree=0, 
f_fsid={0, 0}, f_namelen=17833007536467345411, f_frsize=18442798652326017956}) 
= 0
        stat64("/sys/fs/cgroup", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
        mkdir("/sys/fs/cgroup/cgmanager", 0755) = -1 EEXIST (File exists)
        socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
        stat64("/sys/fs/cgroup/cgmanager/sock", 0xfff1f8f0) = -1 ENOENT (No 
such file or directory)
        bind(3, {sa_family=AF_LOCAL, sun_path="/sys/fs/cgroup/cgmanager/sock"}, 
31) = -1 EPERM (Operation not permitted)
        close(3)                                = 0
        write(2, "cgmanager:cgmanager.c:1379: Asse"..., 
69cgmanager:cgmanager.c:1379: Assertion failed in main: server != NULL
        ) = 69
        rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
        tgkill(5888, 5888, SIGABRT)             = 0
        --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=5888, si_uid=0} 
---
        +++ killed by SIGABRT +++


Output of 'mount | grep /sys':

        sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
        pstore on /sys/fs/pstore type pstore (rw,relatime)
        fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
        tmpfs on /sys/fs/cgroup type tmpfs (rw,relatime)
        cgroup on /sys/fs/cgroup type cgroup (rw,relatime,cpuset,cpu)
        binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,nosuid,nodev,noexec,relatime)

Sorry for wasting your time and thanks for your help!

Kind regards,
Nicolas

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to