Bug 1088990 - Acount service doesn't start on liveCD
Summary: Acount service doesn't start on liveCD
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-17 15:07 UTC by Petr Schindler
Modified: 2014-05-05 19:20 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-05 19:20:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Boot output (without quiet) (12.87 KB, text/plain)
2014-04-18 08:24 UTC, Petr Schindler
no flags Details

Description Petr Schindler 2014-04-17 15:07:33 UTC
Description of problem:
Every boot of Desktop (gnome) liveCD (built in 20140416) ends with message: "Failed to start Accounts Service"

After a while screen goes dark and nothing more happens.


Version-Release number of selected component (if applicable):
I guess it's accountsservice-0.6.35-2.fc21.x86_64 (it is version from the day after liveCD was built)

How reproducible:
100%

Steps to Reproduce:
1. Boot liveCD

Actual results:
It will end with black screen.

Expected results:
Live system boots and the default user is logged in

Additional info:

Comment 1 Petr Schindler 2014-04-18 08:24:35 UTC
Created attachment 887459 [details]
Boot output (without quiet)

some relevant parts:
....
[   11.395170] accounts-daemon[675]: segfault at 10 ip 00007f5a67eac4a1 sp 00007fff580cb6d8 error 4 in libpthread-2.19.90.so[7f5a67ea3000+17000]
[FAILED] Failed to start Accounts Service.
....
         Starting Authorization Manager...
[   14.448444] accounts-daemon[886]: segfault at 10 ip 00007fd9ac8e64a1 sp 00007fffcb2c42f8 error 4 in libpthread-2.19.90.so[7fd9ac8dd000+17000]
[   14.714115] polkitd[897]: segfault at 10 ip 00007f1cc7b794a1 sp 00007fff385be688 error 4 in libpthread-2.19.90.so[7f1cc7b70000+17000]
[FAILED] Failed to start Authorization Manager.
See 'systemctl status polkit.service' for details.
[FAILED] Failed to start Accounts Service.

Comment 2 Miloslav Trmač 2014-04-18 23:01:37 UTC
(In reply to Petr Schindler from comment #0)
> Description of problem:
> Every boot of Desktop (gnome) liveCD (built in 20140416)

What image is this?  Google find nothing obvious, and neither can I find a live image browsing download.fedoraproject.org.  Could you provide an exact URL, please?

Comment 4 Josh Boyer 2014-04-25 19:24:32 UTC
I'm seeing the same with a locally built live image.  This still seems to be a problem.

Comment 5 Colin Walters 2014-04-25 19:50:59 UTC
I'm pretty sure this is actually a SELinux policy issue.  polkit was hitting a denial and it just wasn't ready for it.  I don't have the AVC to hand.

Comment 6 Josh Boyer 2014-04-25 19:53:30 UTC
Yeah.  Booting the local live image with enforcing=0 seems to get past the issue.

Comment 7 Josh Boyer 2014-04-25 20:04:08 UTC
OK, looking at the logs it seems we're getting AVC denials on /dev/urandom

type=AVC msg=audit(1398455505.523:17): avc:  denied  { read } for  pid=683 comm="accounts-daemon" name="urandom" dev="devtmpfs" ino=6267 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file
type=AVC msg=audit(1398455505.523:17): avc:  denied  { open } for  pid=683 comm="accounts-daemon" path="/dev/urandom" dev="devtmpfs" ino=6267 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file

type=AVC msg=audit(1398455506.150:26): avc:  denied  { read } for  pid=735 comm="polkitd" name="urandom" dev="devtmpfs" ino=6267 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file
type=AVC msg=audit(1398455506.150:26): avc:  denied  { open } for  pid=735 comm="polkitd" path="/dev/urandom" dev="devtmpfs" ino=6267 scontext=system_u:system_r:policykit_t:s0 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file

Colin pointed to 1081429 for the SELinux issue.  That's probably one problem, but polkitd probably shouldn't segfault.

Comment 8 Adam Williamson 2014-04-29 17:11:26 UTC
Are folks still seeing this? I just booted the 0428 nightly in a VM and it booted fine.

Josh, did you build your image from an F20 or F21 host? I've found that SELinux pain can sometimes result when trying to build lives 'cross-release', it always seems to work better to match up the host and image version.

Comment 9 Daniel Walsh 2014-05-05 19:19:55 UTC
Looks like this is fixed in selinux-policy-3.13.1-48.fc21.noarch


Note You need to log in before you can comment on or make changes to this bug.