[Pkg-utopia-maintainers] Bug#639866: /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy: Config files in /usr should be in /etc

Johan Walles johan.walles at gmail.com
Wed Aug 31 07:05:53 UTC 2011


Package: consolekit
Version: 0.4.5-1
Severity: serious
File: /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy
Justification: Policy 10.7.2


Consolekit stores configuration files under
/usr/share/polkit-1/actions.

According to the Debian Policy Manual, config files must be stored
under /etc:
http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.2

Please move the config files to /etc.

The reason I ran into this was that I wanted to enable non-root users
to reboot / shut down the system from within GNOME even though there
were other people logged in.

To achieve this I had to update
/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy, but
that file will most likely get messed up by the next package upgrade.

If there is a better way to achieve this I'd of course like to hear
about that as well, but the main point in this bug is that config
files should be in /etc.

  Regards //Johan

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages consolekit depends on:
ii  dbus                    1.4.14-1         simple interprocess messaging syst
ii  libc6                   2.13-16          Embedded GNU C Library: Shared lib
ii  libck-connector0        0.4.5-1          ConsoleKit libraries
ii  libdbus-1-3             1.4.14-1         simple interprocess messaging syst
ii  libdbus-glib-1-2        0.94-4           simple interprocess messaging syst
ii  libglib2.0-0            2.28.6-1         The GLib library of C routines
ii  libpolkit-gobject-1-0   0.102-1          PolicyKit Authorization API
ii  libx11-6                2:1.4.4-1        X11 client-side library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages consolekit recommends:
ii  libpam-ck-connector           0.4.5-1    ConsoleKit PAM module

consolekit suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy (from consolekit package)





More information about the Pkg-utopia-maintainers mailing list