Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: mount.cifs issue opensuse 11.4

  1. #11
    venzkep is offline Parent Penguin
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    782

    Default Re: mount.cifs issue opensuse 11.4

    On Tue March 15 2011 01:36 pm, Fire11 wrote:

    >
    > Well "rcsmb" is not running after boot...and also after mounting my
    > shares... But remember, it should only run the smb-client on this box...
    > Code:
    > --------------------
    > fire@a3800:~> sudo /usr/sbin/rcsmb status
    > root's password:
    > Checking for Samba SMB daemon

    unused
    > --------------------
    >
    >

    Fire11;

    Try disabling apparmor. There seems to have been a regression in the apparmor
    profiles and this may be biting you. You might also check that the smb/cifs
    service is set to start at boot. In ll.2 it was still called smbfs but this
    may have changed to something like cifs as smbfs is obsolete.

    There are no guarantees here as I've not yet installed 11.4.
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  2. #12
    swerdna's Avatar
    swerdna is online now Administrator
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    9,941

    Default Re: mount.cifs issue opensuse 11.4

    If smbd is off, then Samba client is off too. Here's the bug report, I think it's diagnosed now and the fix is on its way, but it's not here yet, so disable AppArmorr until the update arrives: https://bugzilla.novell.com/show_bug.cgi?id=666450

    I don't know if that's causing your issue, but it's a strong candidate.

    Also, goto Yast --> System --> Runlevels --> cifs and toggle it to "on" [see the 11.4 release notes, this too has changed from 11.3]. I think this cifs daemon is a bit of a dud when it comes to entries in fstab, likely it works for entries in smbfstab, but I'm not clear on that, havent tested it myself.

  3. #13
    Fire11's Avatar
    Fire11 is offline Student Penguin
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    65

    Default Re: mount.cifs issue opensuse 11.4

    Okay I write the results down as I execute them. Note; the shares are mounted and after every step I try to unmount them.

    Toggle "cifs" on (it was off)
    > result, unmount not possible by user

    Turn off apparmor
    > result, unmount not possible by user

    Start rcsmb
    Code:
    fire@a3800:/etc> sudo /usr/sbin/rcsmb start
    root's password:
    Starting Samba SMB daemon                                                                   done
    fire@a3800:/etc> sudo /usr/sbin/rcsmb status
    Checking for Samba SMB daemon                                                               running
    > result, unmount not possible by user

    (I have to reboot an come back in a moment, the laptop is heating up fast. The fan is not working after it went to sleep... )
    Fooling around with Linux since Redhat 5.1 / Hooked on SuSE since 9.2

  4. #14
    Fire11's Avatar
    Fire11 is offline Student Penguin
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    65

    Default Re: mount.cifs issue opensuse 11.4

    Al settings have "survived" the reboot except "rcsmb".
    Code:
    fire@a3800:~> sudo /usr/sbin/rcsmb status
    root's password:
    Checking for Samba SMB daemon                                                               unused
    fire@a3800:~> sudo /usr/sbin/rcsmb start
    Starting Samba SMB daemon                                                                   done
    fire@a3800:~> sudo /usr/sbin/rcsmb status
    Checking for Samba SMB daemon                                                               running
    fire@a3800:~> umount ~/Server/public
    umount: /home/fire/Server/public mount disagrees with the fstab
    Result > user still can't unmount.

    It was worth to try but the problem lies elsewhere. I already stated that there is the change of /etc/mtab in openSUSE 11.4. It's is not a file anymore but a symbolic link to /proc/self/mounts and according to other fora this gave the same issue in the past. (and still is...)

    I can positive confirm this. If the link is replaced by an empty file and you mount a share, than the share is written to the file. Unmounting the share (as user) does work with the "real" mtab. After reboot this change is gone but it is no real solution anyway...
    Fooling around with Linux since Redhat 5.1 / Hooked on SuSE since 9.2

  5. #15
    Fire11's Avatar
    Fire11 is offline Student Penguin
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    65

    Default Re: mount.cifs issue opensuse 11.4

    Found this info in the mount manpage...
    It is possible to replace /etc/mtab by a symbolic link to /proc/mounts, and especially when you have very large numbers of mounts things will be much faster with that symlink, but some information is lost that way, and in particular using the "user" option will fail.
    Fooling around with Linux since Redhat 5.1 / Hooked on SuSE since 9.2

  6. #16
    swerdna's Avatar
    swerdna is online now Administrator
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    9,941

    Default Re: mount.cifs issue opensuse 11.4

    Don't forget to set rcnmb and rcsmb to on in Yast --> System --> Runlevels

    All I can suggest now is a bug report.

  7. #17
    Fire11's Avatar
    Fire11 is offline Student Penguin
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    65

    Default Re: mount.cifs issue opensuse 11.4

    I forgot about "rcnmb" and set it by commandline. ("rcnmb" and "rcsmb" are not available in Yast --> System --> Runlevels.) But again, no joy.

    So, perhaps it is a bug or just me using the commands wrong. I am no programmer and not sure how to report a bug or check if it is already reported...I go and figure it out...

    Thanks for the support so far, it is greatly appreciated!
    Fooling around with Linux since Redhat 5.1 / Hooked on SuSE since 9.2

  8. #18
    swerdna's Avatar
    swerdna is online now Administrator
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    9,941

    Default Re: mount.cifs issue opensuse 11.4

    I was unclear: In Yast's runlevels GUI, set nmb and smb to on. This will cause the daemons to switch on at boot time.

  9. #19
    Fire11's Avatar
    Fire11 is offline Student Penguin
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    65

    Default Re: mount.cifs issue opensuse 11.4

    I placed the "bug" at bugzilla=679949
    From the first reaction it seems to be an issue in cifs.utils v4.6

    @swerdna, I enabled smb and nmb the right way, but it does not change the unmounting as user issue.
    Fooling around with Linux since Redhat 5.1 / Hooked on SuSE since 9.2

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Friendly URLs by vBSEO 3.5.2