Fehlermeldungen von pam_mount
Ich habe ein Backup-Skript, das nach getaner Arbeit die Backup-Platte
unmounted und das Notebook schlafen legt. /home liegt auf /dev/sda6 und
ist mit cryptsetup/LUKS verschlüsselt.
Seit ein paar Tagen, nach einem Upgrade von libpam-mount (1.27-4),
bekomme ich aus dem Cron-Job, der das Backup-Skript ausführt, wie auch
aus einem weiteren (Ana)cron-Job zwei fast identische Fehlermeldungen
-- siehe unten.
Mein System ist ein täglich aktualisiertes Debian/unstable mit Kernel
2.6.29; ich habe den Rechner zwischen dem letzten Upgrade und dem
Backup neu gestartet. Die Module dm_mirror, dm_region_hash, dm_log,
dm_snapshot und dm_mod sind geladen.
Mir ist beim Blick in die Fehlermeldungen vor allem nicht klar, weshalb
irgendwer versuchen sollte /home zu unmounten.
Kann mir jemand auf die Sprünge helfen, was da vorgeht?
Michael
# Fehlerausgabe des Backup-Cron-Jobs:
reenter password for pam_mount:pam_mount(pam_mount.c:516): warning:
could not obtain password interactively either
pam_mount(spawn.c:101): error setting uid to 0
pmvarrun(pmvarrun.c:453): could not unlink /var/run/pam_mount/postgres:
Permission denied
pam_mount(spawn.c:101): error setting uid to 0
pam_mount(mount.c:67): umount messages:
pam_mount(mount.c:71): umount: only root can do that
pam_mount(mount.c:71): umount /home failed with run_sync status 1
pam_mount(mount.c:71): mlockall failed: Cannot allocate memory
pam_mount(mount.c:71): WARNING!!! Possibly insecure memory. Are you
root?
pam_mount(mount.c:71): Command failed: Cannot communicate with device-
mapper. Is the dm_mod module loaded?
pam_mount(mount.c:71): umount.crypt(crypto-dmc.c:168): Could not unload
dm-crypt device "/dev/mapper/_dev_sda6", cryptsetup returned HXproc
status 218
pam_mount(mount.c:698): unmount of /dev/sda6 failed
/etc/cron.daily/dwww:
reenter password for pam_mount:pam_mount(pam_mount.c:516): warning:
could not obtain password interactively either
pam_mount(spawn.c:101): error setting uid to 0
pmvarrun(pmvarrun.c:453): could not unlink /var/run/pam_mount/www-data:
Permission denied
pam_mount(spawn.c:101): error setting uid to 0
pam_mount(mount.c:67): umount messages:
pam_mount(mount.c:71): umount: only root can do that
pam_mount(mount.c:71): umount /home failed with run_sync status 1
pam_mount(mount.c:71): mlockall failed: Cannot allocate memory
pam_mount(mount.c:71): WARNING!!! Possibly insecure memory. Are you
root?
pam_mount(mount.c:71): Command failed: Cannot communicate with device-
mapper. Is the dm_mod module loaded?
pam_mount(mount.c:71): umount.crypt(crypto-dmc.c:168): Could not unload
dm-crypt device "/dev/mapper/_dev_sda6", cryptsetup returned HXproc
status 218
pam_mount(mount.c:698): unmount of /dev/sda6 failed
--
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/
Reply to: