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#39011 - [xbmc] Missing poweroff / restart actions...

Attached to Project: Community Packages
Opened by Benjamin Robin (benjarobin) - Sunday, 23 February 2014, 18:22 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 06 March 2014, 09:17 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
On a clean install, I did install these packages (The full list is attached) :
base, base-devel, polkit-qt, samba, upower, vlc, xbmc, xf86-video-intel, xorg-server.

After testing xorg, I did activate xbmc.service and reboot.
Xbmc is starting without problem, but I cannot shutdown the PC, I have only the EXIT button.

I did create my own service and everything is working properly (At least the basics).
And now XBMC does start on the right TTY : vt7
The service is attached.

Additional info:
* package version(s)
xbmc 12.3-8
polkit 0.112-1
upower 0.9.23-2
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 06 March 2014, 09:17 GMT
Reason for closing:  Fixed
Comment by Benjamin Robin (benjarobin) - Sunday, 23 February 2014, 18:37 GMT
I forget to say that if I install "extra/udisks 1.0.4-8" and remove xbmc from disk group, reboot, USB key auto mount is working properly
But this part is related to https://bugs.archlinux.org/task/37939

With this new .service, the configuration file /usr/share/polkit-1/rules.d/10-xbmc.rules is no longer necessary (at least with my setup)

On my opinion we should remove xbmc from the groups: disk, storage and power (tested and everything is working properly).
Comment by Benjamin Robin (benjarobin) - Wednesday, 26 February 2014, 07:00 GMT
  • Field changed: Percent Complete (100% → 0%)
Still not working... I don't see how your service file can works, you do not obtain a seat if you don't use PAMName=login. Without a seat (loginctl) polkit does not give the right to do anything...
Comment by Sergej Pupykin (sergej) - Wednesday, 26 February 2014, 11:07 GMT
I've added pamname to service and even returned polkit rules, because of I cannot make it works on my machine without polkit rules.
Comment by Benjamin Robin (benjarobin) - Wednesday, 05 March 2014, 09:23 GMT
  • Field changed: Percent Complete (100% → 0%)
Well, why did you close this ticket, there is obviously a problem... And the problem is that you did not specified a tty, without a vt you cannot obtain a seat (vt7 in the service file attached : https://bugs.archlinux.org/task/39011?getfile=11521).
Why not using the service file attached since the origin ? I may have make a mistake or another reason that I don't known, but please explain...
Comment by Sergej Pupykin (sergej) - Wednesday, 05 March 2014, 09:25 GMT
I did not understand that you want to avoid using polkit rules by adding vt7 to .service. It is fixed in 12.3-11.

Loading...