mount
troubleshooting mount problems
mount --bind
mount with option --bind will mount the filesystem multiple times.
This is beacause /etc/mtab is linked to /proc/mounts, and /proc/mounts has no information about the --bind filesystem source. Only the device is shown.
To solve this issue, ATIX patched the mount command.
some issues can occure when compiling the RPM:
cc -o chfn chfn.o islocal.o setpwnam.o selinux_utils.o ../lib/env.o ../lib/xstrncpy.o -lcrypt -lpam -ldl -lpam_misc -lselinux
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libpam.so when searching for -lpam
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libpam.a when searching for -lpam
/usr/bin/ld: skipping incompatible /usr/lib/libpam.so when searching for -lpam
/usr/bin/ld: skipping incompatible /usr/lib/libpam.a when searching for -lpam
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
make[1]: *** [chfn] Error 1
This issue can be solved with
up2date --arch=x86_64 -i pam-devel