Bug 1196974 - Autorelabel doesn't work
Summary: Autorelabel doesn't work
Keywords:
Status: CLOSED DUPLICATE of bug 1049656
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-27 08:54 UTC by Jaroslav Škarvada
Modified: 2015-06-10 18:48 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-03-04 09:09:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Journal with debug (115.29 KB, application/x-gzip)
2015-02-27 09:37 UTC, Jaroslav Škarvada
no flags Details

Description Jaroslav Škarvada 2015-02-27 08:54:19 UTC
Description of problem:
Autorelabel stopped working after installation of some update.

Version-Release number of selected component (if applicable):
initscripts-9.56.1-6.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. touch /.autorelabel
2. reboot
3. systemctl status fedora-autorelabel.service

Actual results:
Autorelabel doesn't run, following error:

* fedora-autorelabel.service - Relabel all filesystems, if necessary
   Loaded: loaded (/usr/lib/systemd/system/fedora-autorelabel.service; static)
   Active: failed (Result: exit-code) since Fri 2015-02-27 09:46:16 CET; 6min ago
  Process: 1026 ExecStart=/lib/systemd/fedora-autorelabel (code=exited, status=208/STDIN)
 Main PID: 1026 (code=exited, status=208/STDIN)

Feb 27 09:46:16 yarda systemd[1]: fedora-autorelabel.service: main process exited, code=exited, status=208/STDIN
Feb 27 09:46:16 yarda systemd[1]: Failed to start Relabel all filesystems, if necessary.
Feb 27 09:46:16 yarda systemd[1]: Unit fedora-autorelabel.service entered failed state.
Feb 27 09:46:16 yarda systemd[1]: fedora-autorelabel.service failed.

Expected results:
Autorelable runs, no error

Additional info:

Comment 1 Lukáš Nykrýn 2015-02-27 09:18:38 UTC
Hmm weird, can you add set -x to /usr/lib/systemd/fedora-autorelabel boot with debug on kernel cmdline and post here output of journal?

Comment 2 Jaroslav Škarvada 2015-02-27 09:37:14 UTC
Failed at step STDIN spawning /lib/systemd/fedora-autorelabel: Inappropriate ioctl for device

Maybe there is dupe bug 1049656.

Attaching the whole journal for reference.

Comment 3 Jaroslav Škarvada 2015-02-27 09:37:43 UTC
Created attachment 995955 [details]
Journal with debug

Comment 4 Lukáš Nykrýn 2015-02-27 11:00:07 UTC
Hmm this looks more like a problem with systemd
úno 27 10:30:01 yarda systemd[1033]: Failed at step STDIN spawning /lib/systemd/fedora-autorelabel: Inappropriate ioctl for device

Comment 5 Jan Synacek 2015-03-04 09:09:11 UTC

*** This bug has been marked as a duplicate of bug 1049656 ***


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