Bug 746933 - ./network-functions: line 228: cd: /var/run/netreport: No such file or directory
Summary: ./network-functions: line 228: cd: /var/run/netreport: No such file or directory
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-18 10:06 UTC by Albert Strasheim
Modified: 2011-10-19 10:10 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-19 10:10:18 UTC
Type: ---


Attachments (Terms of Use)

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.


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