Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46680 - Patches to add cifs support to baselayout
Summary: Patches to add cifs support to baselayout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
: 51660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-03 05:14 UTC by Ronald Moesbergen
Modified: 2004-08-04 08:56 UTC (History)
3 users (show)

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


Attachments
patch to baselayout/localmount to include cifs (localmount.patch,477 bytes, patch)
2004-04-03 05:15 UTC, Ronald Moesbergen
Details | Diff
patch to baselayout/netmount to include cifs (netmount.patch,1.33 KB, patch)
2004-04-03 05:15 UTC, Ronald Moesbergen
Details | Diff
patch to samba ebuild for /sbin/mount.cifs symlink (samba-3.0.2a.ebuild.patch,427 bytes, patch)
2004-04-03 05:16 UTC, Ronald Moesbergen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Moesbergen 2004-04-03 05:14:45 UTC
Kernel 2.6 supports a new (and IMHO better) smb based fs called cifs. Attached are 3 small patches to make using this filesystem in Gentoo possible. the samba ebuild patch is needed to make a symlink from /usr/bin/mount.cifs to /sbin/mount.cifs, because the standard mount command expects it there and won't work otherwise.

Thanks,
Ronald.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.5-rc3)
=================================================================
System uname: 2.6.5-rc3 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X alsa arts avi cdr crypt dvd encode fam gif gtk gtk2 java jpeg kde mmx
moznocompose moznoirc moznomail mpeg opengl pam pdflib png qt quicktime readline
samba sse ssl tiff truetype x86 xmms zlib"
Comment 1 Ronald Moesbergen 2004-04-03 05:15:18 UTC
Created attachment 28613 [details, diff]
patch to baselayout/localmount to include cifs
Comment 2 Ronald Moesbergen 2004-04-03 05:15:48 UTC
Created attachment 28614 [details, diff]
patch to baselayout/netmount to include cifs
Comment 3 Ronald Moesbergen 2004-04-03 05:16:18 UTC
Created attachment 28615 [details, diff]
patch to samba ebuild for /sbin/mount.cifs symlink
Comment 4 Christian Andreetta (RETIRED) gentoo-dev 2004-05-17 04:05:28 UTC
included samba ebuild part in bug 48871. Thanks :)
Comment 5 Sven 2004-07-23 17:25:11 UTC
This is not an enhancement, this is critical.

On halt, cifs mounts will be unmounted after the network has been shut down. On boot, localmount will try to mount cifs stuff which is not available.

With kernel 2.6, you really shouldn't use smbfs, but cifs since it offers advantages in both: talking to a WinNT- and a Samba-server.
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2004-08-01 17:38:32 UTC
Thanks, this is now in rc-scripts cvs and will appear in the next baselayout
Comment 7 Sven 2004-08-01 17:54:07 UTC
which baselayout version will contain the patches?

BTW: the bug-report is now nearly 4 months old *sigh*
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2004-08-01 19:12:36 UTC
4-months is better than 4-years! ;-|  sorry for the wait.

it will be in baselayout-1.10.2
Comment 9 Aron Griffis (RETIRED) gentoo-dev 2004-08-02 13:09:19 UTC
baselayout-1.10.2 released
Comment 10 Aron Griffis (RETIRED) gentoo-dev 2004-08-04 08:56:46 UTC
*** Bug 51660 has been marked as a duplicate of this bug. ***