Bug 493022 - winbind needs to be started before netfs
Summary: winbind needs to be started before netfs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: samba
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Guenther Deschner
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 502912 592984
TreeView+ depends on / blocked
 
Reported: 2009-03-31 11:26 UTC by Sachin Prabhu
Modified: 2018-10-20 01:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 592984 (view as bug list)
Environment:
Last Closed: 2010-05-17 14:38:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sachin Prabhu 2009-03-31 11:26:57 UTC
To mount Windows shares at boot time, we need to add it to fstab. If we pass the uid,gid mount options pointing to an AD user to define the owner and group for files on the share, winbind must be started before netfs.

//<host name >/samba2 /mnt/smb2 cifs user=example.com/test,credentials=/etc/test.credentials,rw,uid=test,gid=test 0 0

On RHEL 5, the start priority for netfs is #25 and for winbind it is  under # 91. 

To work around the problem, we would need to change the start priority for netfs or winbind manually.

Comment 1 Simo Sorce 2009-03-31 12:40:24 UTC
Not so simple, while winbindd can use cached data it needs the network too.
Have you tested moving winbindd before netfs? Does it work correctly ?

Comment 2 Simo Sorce 2009-03-31 12:44:41 UTC
Sorry I read netfs and parsed "network".
However is /usr/sbin always certainly available when netfs is started ?

Comment 5 Dmitri Pal 2010-05-17 14:38:58 UTC
There is a workaround to change levels in the init script manually. 
We will try to address this issue in 6.1. No plans for 5.x closing as won't fix.


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