Bug#550892: libpam-mount: mounts/unmounts defined mounts when first mounted
Hi, perhaps you have the gnome-keyring-daemon configured in your cron PAM file at /etc/pam.d/cron ? Then whenever a cron daemon finishes, the gnome-keyring-daemon umounts all (or just some) removable locations. The solution in this case would be either to fix gnome-keyring-daemon, or remove it from the cron PAM config. Regards, Bastian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#550892: libpam-mount: mounts/unmounts defined mounts when first mounted
2009/10/26 Bastian Kleineidam : > Hi, > > Am Dienstag, 13. Oktober 2009 23:18:24 schrieb Simon Raven: >> Once one of the defined mounts is mounted, it continually unmounts it, >> and mounts it again, in a cycle like that, all the time - literally. Day >> or night, whether it's busy or not, it'll unmount it, then re-mount it a >> bit later. This has been going on since the last upgrade to the >> package. > There is no code in pam_mount that mounts and unmounts in a cycle. > Please turn on debugging in /etc/security/pam_mount.conf.xml and have a look > in the system log (var/log/syslog for example) to see which process is causing > these mounts. > You should also use 'ps aufwwx' to find which process are running. > Please mail the system log output and the output of the above ps command to > cal...@debian.org if you need more assistance. > > Thanks, > Bastian > Actually, looks like it is pam-mount, but indirectly, cron seems to be doing it, probably via pam_session, is my guess. = Oct 27 02:45:04 acahkos CRON[31738]: pam_mount(misc.c:38): set_myuid: (uid=0, euid=0, gid=0, egid=0) Oct 27 02:45:04 acahkos CRON[31738]: pam_mount(misc.c:38): set_myuid: (uid=0, euid=0, gid=0, egid=0) Oct 27 02:45:04 acahkos CRON[31577]: pam_mount(mount.c:695): going to unmount Oct 27 02:45:04 acahkos CRON[31577]: pam_mount(mount.c:196): Mount info: globalconf, user=root fstab=0 = -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#550892: libpam-mount: mounts/unmounts defined mounts when first mounted
2009/10/26 Bastian Kleineidam : > Hi, > > Am Dienstag, 13. Oktober 2009 23:18:24 schrieb Simon Raven: >> Once one of the defined mounts is mounted, it continually unmounts it, >> and mounts it again, in a cycle like that, all the time - literally. Day >> or night, whether it's busy or not, it'll unmount it, then re-mount it a >> bit later. This has been going on since the last upgrade to the >> package. > There is no code in pam_mount that mounts and unmounts in a cycle. > Please turn on debugging in /etc/security/pam_mount.conf.xml and have a look > in the system log (var/log/syslog for example) to see which process is causing > these mounts. > You should also use 'ps aufwwx' to find which process are running. > Please mail the system log output and the output of the above ps command to > cal...@debian.org if you need more assistance. > > Thanks, > Bastian > OK, I found it, rather easy, forgot to check auth.log (doh!) = Oct 27 02:45:04 acahkos gnome-keyring-daemon[9658]: removing removable location: /A Oct 27 02:45:04 acahkos gnome-keyring-daemon[9658]: no volume registered at: /A Oct 27 02:45:04 acahkos gnome-keyring-daemon[9658]: removing removable location: /B Oct 27 02:45:04 acahkos gnome-keyring-daemon[9658]: no volume registered at: /B = Equivalent to the A and B from my previous message. So gnome-keyring-daemon is removing them from being mounted. WHY? Thanks for your time. simon -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#550892: libpam-mount: mounts/unmounts defined mounts when first mounted
2009/10/26 Bastian Kleineidam : > Hi, > > Am Dienstag, 13. Oktober 2009 23:18:24 schrieb Simon Raven: >> Once one of the defined mounts is mounted, it continually unmounts it, >> and mounts it again, in a cycle like that, all the time - literally. Day >> or night, whether it's busy or not, it'll unmount it, then re-mount it a >> bit later. This has been going on since the last upgrade to the >> package. > There is no code in pam_mount that mounts and unmounts in a cycle. > Please turn on debugging in /etc/security/pam_mount.conf.xml and have a look > in the system log (var/log/syslog for example) to see which process is causing > these mounts. > You should also use 'ps aufwwx' to find which process are running. > Please mail the system log output and the output of the above ps command to > cal...@debian.org if you need more assistance. > > Thanks, > Bastian > Must be hal then, or some other thing. Nothing in either the server or the client logs about what did it, obviously it would be on the client, but that's no help, as there's no trace of it in the log. I'll stick some ps auxw command in my .zlogin so i can see what processes get run at the time, maybe on a for loop. obviously to get a process table dump after the fact is pointless. OK, well, I've done that now, and I'm not seeing anything that could cause it. pam-mount works fine... what's more relevant is this IMO: That's me mounting /A to /D, then something else unmounting: = Oct 27 02:10:10 pylon mountd[x]: authenticated mount request from 192.168.yyy.zzz:861 for /A (/A) Oct 27 02:10:11 pylon mountd[x]: authenticated mount request from 192.168.yyy.zzz:868 for /B (/B) Oct 27 02:10:11 pylon mountd[x]: authenticated mount request from 192.168.yyy.zzz:787 for /C (/C) Oct 27 02:10:11 pylon mountd[x]: authenticated mount request from 192.168.yyy.zzz:1002 for /D (/D) Oct 27 02:10:17 pylon mountd[x]: authenticated unmount request from 192.168.yyy.zzz:644 for /D (/D) Oct 27 02:10:19 pylon mountd[x]: authenticated unmount request from 192.168.yyy.zzz:706 for /C (/C) Oct 27 02:10:31 pylon mountd[x]: authenticated unmount request from 192.168.yyy.zzz:779 for /B (/B) Oct 27 02:10:32 pylon mountd[x]: authenticated unmount request from 192.168.yyy.zzz:797 for /A (/A) = that's from the server... so it gets a request to unmount them as soon as they get mounted. Right now I'm running gnome. Normally I'm running xfce or openbox. Gonna try in one of my other session types, see if it's some stupid gui thing causing it or not (I'm think it is). I'll send an update your way (and the BTS) when I have more info. Waaah! Now it did it again. pam-mount sees it unmounted, so mounts them, then whatever sees them mounted, unmounts them. GRR! -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#550892: libpam-mount: mounts/unmounts defined mounts when first mounted
Hi, Am Dienstag, 13. Oktober 2009 23:18:24 schrieb Simon Raven: > Once one of the defined mounts is mounted, it continually unmounts it, > and mounts it again, in a cycle like that, all the time - literally. Day > or night, whether it's busy or not, it'll unmount it, then re-mount it a > bit later. This has been going on since the last upgrade to the > package. There is no code in pam_mount that mounts and unmounts in a cycle. Please turn on debugging in /etc/security/pam_mount.conf.xml and have a look in the system log (var/log/syslog for example) to see which process is causing these mounts. You should also use 'ps aufwwx' to find which process are running. Please mail the system log output and the output of the above ps command to cal...@debian.org if you need more assistance. Thanks, Bastian signature.asc Description: This is a digitally signed message part.
Bug#550892: libpam-mount: mounts/unmounts defined mounts when first mounted
Package: libpam-mount Version: 1.32-1 Severity: important hi, Once one of the defined mounts is mounted, it continually unmounts it, and mounts it again, in a cycle like that, all the time - literally. Day or night, whether it's busy or not, it'll unmount it, then re-mount it a bit later. This has been going on since the last upgrade to the package. It's annoying to have it unmount something when you're working on a file, go to save it, then the program you're using tells you it isn't there anymore. (a random bit of venting there, wasn't directed at you the maintainer, nothing personal at all, ok ? :)) thanks, simon -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (995, 'unstable'), (990, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.31-acahkos Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libpam-mount depends on: ii libc6 2.9-27 GNU C Library: Shared libraries ii libhx22 3.1-1A library providing queue, tree, I ii libpam-runtime 1.1.0-4 Runtime support for the PAM librar ii libpam0g1.1.0-4 Pluggable Authentication Modules l ii libssl0.9.8 0.9.8k-5 SSL shared libraries ii libxml2 2.7.6.dfsg-1 GNOME XML library ii mount 2.16.1-4 Tools for mounting and manipulatin libpam-mount recommends no packages. Versions of packages libpam-mount suggests: pn cryptsetup (no description available) ii davfs2 1.4.1-1 mount a WebDAV resource as a regul ii fuse-utils 2.7.4-2 Filesystem in USErspace (utilities ii lsof 4.81.dfsg.1-1 List open files pn ncpfs (no description available) ii openssl0.9.8k-5 Secure Socket Layer (SSL) binary a ii psmisc 22.8-1utilities that use the proc file s ii smbfs 2:3.4.2-1 Samba file system utilities ii sshfs 2.2-1 filesystem client based on SSH Fil pn truecrypt | truecrypt-util (no description available) pn xfsprogs (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org