Bug 813160 - Starts to early for network services.
Summary: Starts to early for network services.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ian Kent
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-17 06:11 UTC by Robin Laing
Modified: 2012-09-20 00:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 04:12:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robin Laing 2012-04-17 06:11:47 UTC
Description of problem:
Autofs starts before all network services are ready.  Remote drives are not selected until autofs is restarted.

Version-Release number of selected component (if applicable):
autofs-5.0.6-5.fc16.x86_64

How reproducible:
Every reboot.

Steps to Reproduce:
1. Shutdown or restart machine.
2. Try to login using ldap and remote home directories.
3. Home directory not found.
  
Actual results:
Home directory is not mounted as expected.

Expected results:
Home directory should be mounted via autofs after a reboot without having to restart the service.

Additional info:
Once the boot/reboot sequence is completed, if I restart autofs (service autofs restart).  Everything works as expected.  In the past I would just change the number for the boot start-up but it has been changed back on a reboot or upgrade.

Comment 1 Ian Kent 2012-04-17 09:47:22 UTC
Assuming you are using NetworkManager, try enabling the 
NetworkManager-wait-online.service.

I believe NetworkManager will return control to systemd
before the network is actually available.

Comment 2 Robin Laing 2012-05-15 04:12:15 UTC
I finally got a chance to test this on the affected machine.

NetworkManager-wait-online.service

Seems to have fixed the problem.  I guess there are lots of things to learn with the move to systemd.

I guess this is really not a bug but a change in how the system boots.  Changing the process number didn't work as before.

Comment 3 Ian Kent 2012-09-20 00:56:42 UTC
*** Bug 858848 has been marked as a duplicate of this bug. ***


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