[OpenAFS] whoops...
Ron Croonenberg
ronc@depauw.edu
Thu, 04 Aug 2005 12:34:52 -0500
Hello all,
I setup a new OpenAFS server and was adding a user using ussbulk.
I made a mistake in the script, some things got created, others didn't.
How can I make what was created "undone"
Here's what happened:
[root@afs-1 classlists]# uss bulk -file ../classlists/ussbulk_cowboy_add.ad=
d -te
mplate ../templates/uss.staff -admin admin=20
Password for 'admin':=20
uss: Warning: Id '1000' already in Protection DB
uss: Can't mount volume 'homestaff.cowboy' on '/afs/.csc.depauw.edu/home/co=
wboy': No such file or directory
LINE 1 FAIL add cowboy:Ron Croonenberg:ev438twL::afs-1:a::1000
Released volume root.cell successfully
LINE 2 SUCCESS exec vos release root.cell
Released volume root.afs successfully
LINE 3 SUCCESS exec vos release root.afs
fs: File '/afs/afs-1.depauw.edu/home/cowboy' doesn't exist
uss: Template file, line 1: Failed to run the 'fs setacl /afs/afs-1.depauw.=
edu/home/cowboy admin all
' command: Inappropriate ioctl for device
LINE 4 FAIL exec fs setacl /afs/afs-1.depauw.edu/home/cowboy admin all
cp: copying multiple files, but last argument `/afs/afs-1.depauw.edu/home/c=
owboy' is not a directory
Try `cp --help' for more information.
uss: Template file, line 1: Failed to run the 'cp /etc/skel/.bash* =
/afs/afs-1.depauw.edu/home/cowboy=20
' command: Inappropriate ioctl for device
LINE 5 FAIL exec cp /etc/skel/.bash* /afs/afs-1.depauw.edu/home/cowboy=20
cp: cannot stat `/etc/skel/.Xclient*': No such file or directory
uss: Template file, line 1: Failed to run the 'cp /etc/skel/.Xclient* =
/afs/afs-1.depauw.edu/home/cowboy=20
' command: Inappropriate ioctl for device
LINE 6 FAIL exec cp /etc/skel/.Xclient* /afs/afs-1.depauw.edu/home/cowboy=
=20
cp: cannot create directory `/afs/afs-1.depauw.edu/home/cowboy': No such =
file or directory
uss: Template file, line 1: Failed to run the 'cp -r /etc/skel/.kde =
/afs/afs-1.depauw.edu/home/cowboy=20
' command: Inappropriate ioctl for device
LINE 7 FAIL exec cp -r /etc/skel/.kde /afs/afs-1.depauw.edu/home/cowboy=20
chown: `cowboy.faculty': invalid user
uss: Template file, line 1: Failed to run the 'chown -R cowboy.faculty =
/afs/afs-1.depauw.edu/home/cowboy
' command: Inappropriate ioctl for device
LINE 8 FAIL exec chown -R cowboy.faculty /afs/afs-1.depauw.edu/home/cowboy