Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78038 - localmount script does not exclude CIFS mountpoints
Summary: localmount script does not exclude CIFS mountpoints
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 19:02 UTC by repugnant
Modified: 2005-01-16 12:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix for localmount (localmount-cifs-fix.patch,459 bytes, text/plain)
2005-01-14 19:03 UTC, repugnant
Details
Fix for netmount (netmount-cifs-fix.patch,1.31 KB, text/plain)
2005-01-14 19:03 UTC, repugnant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description repugnant 2005-01-14 19:02:30 UTC
If you have a CIFS entry in your fstab, the /etc/init.d/localmount script attempts to mount it, which occurs *before* the network is initialized.  This causes an error to be printed: "Some local filesystem failed to mount".  The fix is easy.  On the

mount -at nocoda,nonfs,noproc,noncpfs,nosmbfs,noshm >/dev/null

line, add a nocifs option to mount.  This fixed it for me.  

Conversely, the netmount script shound be changed to accomodate cifs.

Reproducible: Always
Steps to Reproduce:
1.  Add a CIFS mount point to your fstab
2.  Reboot
3.  Thrill as you recieve the error message.

Actual Results:  
I received an error (see Details)

Expected Results:  
It should have skipped trying to mount CIFS mount points.  netmount should take
care of this instead.
Comment 1 repugnant 2005-01-14 19:03:03 UTC
Created attachment 48526 [details]
Fix for localmount

Hope this is in the correct patch format.
Comment 2 repugnant 2005-01-14 19:03:23 UTC
Created attachment 48527 [details]
Fix for netmount
Comment 3 SpanKY gentoo-dev 2005-01-14 19:07:11 UTC
you neglected to post `emerge info` so i'm assuming you're using baselayout-1.9.x since i fixed this a while ago in 1.11.x
Comment 4 repugnant 2005-01-16 08:48:19 UTC
Well, the latest baselayout for amd64 seems to be baselayout-1.9.4-r7, so the problem still exists for amd64 users.  baselayout 1.11.x depends on a new version of readline which is masked by ~amd64.  I'm not sure what to do, so I'm going to reopen the bug.
Comment 5 SpanKY gentoo-dev 2005-01-16 11:57:04 UTC
i'm going to close again seeing as how unstable fixes this
Comment 6 repugnant 2005-01-16 12:04:42 UTC
OK.  Thank you :)