Source: libcgroup
Version: 0.38-1
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

Trying to configure pam_cgroup using /etc/cgrules.conf

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Documentation says:
 %u in cgrules.conf is username, uid if unavailable
 %U in cgrules.conf is uid
 %g in cgrules.conf is groupname, gid if unavailable
 %G in cgrules.conf is gid

   * What was the outcome of this action?
 %u in cgrules.conf is uid
 %U in cgrules.conf is username
 %g in cgrules.conf is gid
 %G in cgrules.conf is groupname

 Basically, u/U vs g/G swapped. Code seems to indicate p/P
 (pid/processname) being swapped too.
 src/api.c: line 2695 and on.

   * What outcome did you expect instead?

Documentation and code agreeing on which is which. Probably best to make
the documentation match code/config.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to