i'm using unionfs as a livecd rootfs.

Within a runlevel script i "adduser" reading USERNAME from cmdline :

# adduser --disabled-password --gecos "$USERNAME" "$USERNAME"

it works untill it tries to cp /etc/skel/.* /home/$USERNAME:

ERROR: Hard link count is wrong for .....

that means adduser return an error and removes the added user and group.

it seems a problem that cames from "find" used in the "adduser" perl script.

using :

# useradd -c "$USERNAME" -m "$USERNAME" -s /bin/bash

i need to use this cmd to add user and copy /etc/skel/ directories ... 

i tested and received same "Hard link count is wrong for .." error with all 
unionfs version (from 0.14 to last snapshot)

can this be fixed?

let me know what infos (output) you need ....

thanks

df

-- 
--------------------------------------------------
DSS
web:  http://dss.berlios.de
list: http://groups.google.com.au/group/dss-users 
--------------------------------------------------

_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to