[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libpam-mount und user volume



hi,

alles lief  gut, bis ein update kam, das alles sicherer macht, so sicher das er die volumes nicht mehr mountet.

sieht Bug #499841

die conf auszug

    <?xml version="1.0" encoding="utf-8" ?>
    <pam_mount>
    <volume user="profbunny" fstype="crypt" path="/dev/hda3" mountpoint="/home" options="fsck" />
    <luserconf name=".pam_mount.conf.xml" />
    <!-- Turn on if you want to debug why some volume cannot be mounted etc.
    This can be overriden by user's local configuration. This will also affect
    the pmvarrun helper program. To disable, use enable="0" or comment it out
    entirely. -->
    <debug enable="1" />
    <mntoptions allow="*" />

die auth-log sagt



    Oct 29 18:42:59 sysiphus login[29566]: pam_mount(mount.c:804) /dev/hda3 already seems to be mounted at /home, skipping
    Oct 29 18:42:59 sysiphus login[29566]: pam_mount(rdconf2.c:190) checking sanity of volume record (/tmp)
    Oct 29 18:42:59 sysiphus login[29566]: pam_mount(rdconf2.c:131) checking sanity of luserconf volume record (/tmp)
    Oct 29 18:42:59 sysiphus login[29566]: pam_mount(rdconf2.c:141) user-defined volume (/tmp), volume not owned by user
    Oct 29 18:42:59 sysiphus login[29566]: pam_mount(rdconf2.c:190) checking sanity of volume record (/dev/sda1)
    Oct 29 18:43:00 sysiphus login[29566]: pam_mount(rdconf2.c:131) checking sanity of luserconf volume record (/dev/sda1)
    Oct 29 18:43:00 sysiphus login[29566]: pam_mount(rdconf2.c:141) user-defined volume (/dev/sda1), volume not owned by user
    Oct 29 18:43:00 sysiphus login[29566]: command: [pmvarrun] [-u] [profbunny] [-o] [1] 



meine user conf

Code: Alles auswählen
    profbunny@sysiphus:~$ cat .pam_mount.conf.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <pam_mount>
    <volume user="profbunny" path="/tmp" mountpoint="/home/.tmp" fstype="none" options="bind" noroot="1" />
    <volume user="profbunny" path="/dev/sda1" mountpoint="/home/profbunny/source/deluge" fstype="xfs" noroot="1" options="auto" />
    <mntoptions allow="*" />
    <debug enable="1" />
    </pam_mount>



ich habe alle rechte diese partitionen zu mounten, natürlich nicht als uid=0 wie pam mount das versucht, aber ich versteh die manpage nicht richtig. alles setzen von optionen mntops oder noroot funktioniert nicht. irgendwie seh ich kein land mehr,
kann mich jemand aufklären wie das zu verstehenn ist!?

danke

micha

Attachment: pgpPfOVssQNKU.pgp
Description: PGP signature


Reply to: