Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65887 - bad mountpoint of coda
Summary: bad mountpoint of coda
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Maurice van der Pot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-30 01:24 UTC by Aben Siatris
Modified: 2004-10-07 23:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aben Siatris 2004-09-30 01:24:33 UTC
coda is mounted into /mnt/coda
then i can't mount volume
cfs mkm /mnt/coda/homebox homebox
/mnt/coda: File exists

coda mountpoint must be /coda

coda-6.0.6

Reproducible: Always
Steps to Reproduce:
1.cfs mkm /mnt/coda/homebox homebox
2.
3.

Actual Results:  
/mnt/coda: File exists


Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.5.3
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest prelink sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://212.219.247
.18/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apache2 apm arts avantgo avi berkdb bitmap-fonts bluetooth
bootsplash cdr chroot crypt cups curl directfb divix4linux divx4linuxdvb dvd
dvdr encode esd exif fastcgi fbcon flash foomaticdb gdbm gif gnome gpm gtk gtk2
iconv icq imlib innodb java javascript jpeg kde libg++ libwww mad maildir mbox
mikmod mime mmx motif mozilla mpeg mysql nas ncurses nls oci8 odbc oggvorbis
openal opengl pam pda pdflib perl png postgres python qt quicktime readline
samba sdl slang soap spell sqlite sse ssl svg svga tcpd threads tiff truetype
unicode usb v4l v4l2 wifi x86 xml xml2 xmms xprint xv xvid zlib"
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2004-10-01 13:26:29 UTC
Your root volume is /mnt/coda/<realm name>, not /mnt/coda.

The realm of my server is named after the server's ip, so my root 
volume is at /mnt/coda/10.0.0.1. If I want to create a new volume,
I use the following commands:

clog codaroot@10.0.0.1
createvol_rep newvolume E0000100 /home/coda/vicepa
cfs mkm /mnt/coda/10.0.0.1/newvolumemountpoint newvolume

A link about the concept of realms:
http://www.coda.cs.cmu.edu/maillists/codalist/codalist-2003/4830.html

Note: realms only become visible when you access them (e.g. ls -al /mnt/coda/<realm>).

Please let me know if this helps.
Comment 2 Aben Siatris 2004-10-04 08:17:30 UTC
ah, but i can't clog into server :(
i can't change password for any user.

cpasswd aben@192.168.0.22
Changing password for aben@192.168.0.22
Your password:
New password for aben:
Retype new password:
bind failed; user unauthenticated
Comment 3 Maurice van der Pot (RETIRED) gentoo-dev 2004-10-04 11:44:23 UTC
Some digging revealed the following.

When changing the password, two users are involved. The first is the one 
changing the password, the second is the one whose password is being changed.
If you pass a name to cpasswd, you are setting the second user name.
However, both user names default to $USER.

If there is no coda user with the name $USER, you will not be able to change
anyone's password, no matter which name you supply on the command line.

To work around this use one of the following commands:

USER=codauser cpasswd (for codauser to change his own password)
USER=codaadmin cpasswd codauser (for codaadmin to change the password of codauser)
Comment 4 Aben Siatris 2004-10-07 04:26:05 UTC
user aben is codaadmin, but i can't password :(
i have never setting the password. is default? or what?


USER=aben cpasswd test@192.168.0.22
Changing password for test@192.168.0.22
Your password:
New password for test: *******
Retype new password: *******
bind failed; user unauthenticated
Comment 5 Maurice van der Pot (RETIRED) gentoo-dev 2004-10-07 10:15:02 UTC
During vice-setup just after entering the name of the coda administrator user 
something like this was shown:

An initial administrative user aben (id <somecodauserid>)
with Coda password "changeme" now exists.

So probably your password is still "changeme".

I have recently implemented pkg_config for the coda-6.0.6 ebuild that should 
allow new users to set up a simple coda configuration in no time. Hopefully
that will allow people to try out coda without having to spend a lot of time
struggling with vice-setup and friends.

If you agree, I'll mark this bug RESOLVED.
Comment 6 Aben Siatris 2004-10-07 23:47:16 UTC
yeah! thanx :))
password is "changeme"
it is not in manual.