Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533534 - CIFS not handled by netmount
Summary: CIFS not handled by netmount
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-25 18:35 UTC by Mikhail Akushsky
Modified: 2015-03-01 01:48 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,5.47 KB, text/plain)
2014-12-25 18:35 UTC, Mikhail Akushsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Akushsky 2014-12-25 18:35:22 UTC
Created attachment 392392 [details]
emerge --info

The way netmount is written makes CIFS shares be treated like local mounts.
This is not good since local mounts are done before network cards are brought up.

Error message from dmesg:
[    8.092803] CIFS VFS: Error connecting to socket. Aborting operation.
[    8.092833] CIFS VFS: cifs_mount failed w/return code = -101

And only then:
[    8.165824] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx

Piece from fstab:
//192.168.60.153/Share  /mnt/stora      cifs            nobrl,uid=1000,credentials=/home/akushsky/.smbcredentials,iocharset=utf8,,sec=ntlm      0 0

So, in a near past all works good, but nowdays something goes wrong.

P.S. When a do "mount -a" after full system boot - CIFS mounts well.
Comment 1 William Hubbs gentoo-dev 2014-12-29 15:25:15 UTC
There is not enough info in this bug for me to tell for sure what is
happening.

Please attach a copy of rc.log of the system booting. To obtain rc.log,
set rc_logger="yes" in /etc/rc.conf.

Please reopen this bug when you can provide this file.

Thanks,

William
Comment 2 Mikhail Akushsky 2015-02-13 16:14:50 UTC
So, unexpectedly, I can reproduce this bug. My netmount not working properly, when I start my computer with wakeonlan. Strange, but true.
Comment 3 William Hubbs gentoo-dev 2015-03-01 01:48:19 UTC
I am unable to troubleshoot this issue without a copy of rc.log showing
the system booting up so I can see the order services come up.

Comment #1 above shows how to obtain this log.

Please re-open this bug and attach a copy of rc.log showing the system
booting.

Thanks,

William