Bug 1031026

Summary: systemd-tmpfiles-setup{,-dev} services fail to start on clean install
Product: Red Hat Enterprise Linux 7 Reporter: Martin Kletzander <mkletzan>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: mschmidt, systemd-maint-list
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-15 14:21:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Kletzander 2013-11-15 13:49:47 UTC
Description of problem:
When booting from installation ISO image, there are two "[FAILED]" messages and after clean installation, the problem persists (visible with every boot).

Version-Release number of selected component (if applicable):
# rpm -qa systemd\*
systemd-207-7.el7.x86_64
systemd-sysv-207-7.el7.x86_64
systemd-libs-207-7.el7.x86_64


How reproducible:
I haven't tried installing it more than once, but it happens 100% of starts.

Steps to Reproduce:
1. Boot "boot.iso" parameters for booting: 'text console=ttyS0 utf8'
2. Do minimal install, I used text installation in console
3. Boot the installed system

Actual results:
[FAILED] Failed to start Create static device nodes in /dev.
See 'systemctl status systemd-tmpfiles-setup-dev.service' for details.

[FAILED] Failed to start Recreate Volatile Files and Directories.
See 'systemctl status systemd-tmpfiles-setup.service' for details.


Expected results:
Starting Create static device nodes in /dev...      [ OK ]
Starting Recreate Volatile Files and Directories... [ OK ]

(Not exactly, but you get the gist)

Additional info:
# systemctl status -l systemd-tmpfiles-setup-dev.service
systemd-tmpfiles-setup-dev.service - Create static device nodes in /dev
   Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service; static)
   Active: failed (Result: exit-code) since Fri 2013-11-15 13:05:58 CET; 1min 53s ago
     Docs: man:tmpfiles.d(5)
           man:systemd-tmpfiles(8)
  Process: 217 ExecStart=/usr/bin/systemd-tmpfiles --prefix=/dev --create (code=exited, status=1/FAILURE)
 Main PID: 217 (code=exited, status=1/FAILURE)

Nov 15 13:05:57 rhel7-testday systemd[1]: Starting Create static device nodes in /dev...
Nov 15 13:05:58 rhel7-testday systemd-tmpfiles[217]: [/usr/lib/tmpfiles.d/systemd.conf:27] Unknown file type 'm'.
Nov 15 13:05:58 rhel7-testday systemd-tmpfiles[217]: [/usr/lib/tmpfiles.d/systemd.conf:28] Unknown file type 'm'.
Nov 15 13:05:58 rhel7-testday systemd-tmpfiles[217]: [/usr/lib/tmpfiles.d/systemd.conf:29] Unknown file type 'm'.
Nov 15 13:05:58 rhel7-testday systemd-tmpfiles[217]: [/usr/lib/tmpfiles.d/systemd.conf:30] Unknown file type 'm'.
Nov 15 13:05:58 rhel7-testday systemd[1]: systemd-tmpfiles-setup-dev.service: main process exited, code=exited, status=1/FAILURE
Nov 15 13:05:58 rhel7-testday systemd[1]: Failed to start Create static device nodes in /dev.
Nov 15 13:05:58 rhel7-testday systemd[1]: Unit systemd-tmpfiles-setup-dev.service entered failed state.


# systemctl status -l systemd-tmpfiles-setup.service
systemd-tmpfiles-setup.service - Recreate Volatile Files and Directories
   Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
   Active: failed (Result: exit-code) since Fri 2013-11-15 13:06:00 CET; 1min 38s ago
     Docs: man:tmpfiles.d(5)
           man:systemd-tmpfiles(8)
  Process: 344 ExecStart=/usr/bin/systemd-tmpfiles --create --remove --exclude-prefix=/dev (code=exited, status=1/FAILURE)
 Main PID: 344 (code=exited, status=1/FAILURE)

Nov 15 13:06:00 rhel7-testday systemd[1]: Starting Recreate Volatile Files and Directories...
Nov 15 13:06:00 rhel7-testday systemd-tmpfiles[344]: [/usr/lib/tmpfiles.d/systemd.conf:27] Unknown file type 'm'.
Nov 15 13:06:00 rhel7-testday systemd-tmpfiles[344]: [/usr/lib/tmpfiles.d/systemd.conf:28] Unknown file type 'm'.
Nov 15 13:06:00 rhel7-testday systemd-tmpfiles[344]: [/usr/lib/tmpfiles.d/systemd.conf:29] Unknown file type 'm'.
Nov 15 13:06:00 rhel7-testday systemd-tmpfiles[344]: [/usr/lib/tmpfiles.d/systemd.conf:30] Unknown file type 'm'.
Nov 15 13:06:00 rhel7-testday systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
Nov 15 13:06:00 rhel7-testday systemd[1]: Failed to start Recreate Volatile Files and Directories.
Nov 15 13:06:00 rhel7-testday systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.

Comment 2 Michal Schmidt 2013-11-15 14:21:28 UTC

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