Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38285 - [xbmc,polkit] Installing polkit after xbmc leaves rules.d owner wrong

Attached to Project: Community Packages
Opened by George Klein (GeorgeK) - Thursday, 26 December 2013, 13:02 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 08 January 2014, 11:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I had trouble shutting down my computer from xbmc. I traced this to /etc/polkit-1/rules.d being owned by root rather than polkitd as it should. This happens ONLY IF polkit is installed AFTER xbmc.


Additional info:
* package version(s)
xbmc 12.3-1
polkit 0.112-1

* config and/or log files etc.
/tmp/poltest/pacman.conf
[options]
#CacheDir = /var/cache/pacman/pkg/
HoldPkg = pacman glibc
Architecture = x86_64
NoExtract = usr/share/doc/*
NoExtract = usr/share/gtk-doc/*
NoExtract = usr/share/licenses/*
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist

Steps to reproduce:
# pacstrap -C /tmp/poltest/pacman.conf -c -d /tmp/poltest base xbmc polkit
# arch-chroot /tmp/poltest/
sh-4.2# ls -l /etc/polkit-1
total 0
drwx------ 2 root root 80 Dec 26 12:54 rules.d

# pacstrap -C /tmp/poltest/pacman.conf -c -d /tmp/poltest base polkit xbmc
# arch-chroot /tmp/poltest/
sh-4.2# ls -l /etc/polkit-1
total 0
drwx------ 2 polkitd root 80 Dec 26 13:00 rules.d
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 08 January 2014, 11:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  in testing
Comment by Marc van Gend (marcvangend) - Friday, 03 January 2014, 01:05 GMT
Thanks, I can confirm this bug. I was able to fix the problem with `chown -R polkitd:root /etc/polkit-1/` and a reboot.

Loading...