Bug 746933

Summary: ./network-functions: line 228: cd: /var/run/netreport: No such file or directory
Product: [Fedora] Fedora Reporter: Albert Strasheim <fullung>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: fullung, harald, iarlyy, johannbg, jonathan, kay, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-19 10:10:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Albert Strasheim 2011-10-18 10:06:30 UTC
Description of problem:

The following error is produces when running ifup during bootup:

./network-functions: line 228: cd: /var/run/netreport: No such file or directory

I think this is caused by systemd mounting a tmpfs at /var/run but not making a netreport directory or something

Version-Release number of selected component (if applicable):

initscripts-9.32-2.fc16.x86_64
systemd-37-1.fc16.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Boot a F16 system
  
Additional info:

Comment 1 Bill Nottingham 2011-10-18 15:56:21 UTC
I can't reproduce this here. We have a tmpfiles snippet of:

d /var/run/netreport 0775 root root -

Comment 2 Michal Schmidt 2011-10-18 16:07:04 UTC
Works for me. What is the output of these commands?:
rpm -V initscripts
systemctl status systemd-tmpfiles-setup.service

Comment 3 Albert Strasheim 2011-10-19 10:10:18 UTC
I had a custom udev rule that was starting a systemd service that was running ifup. I have added an After=systemd-tmpfiles-setup.service to this service. Sorry for the noise.