[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2018-10-13 Thread Jochen Sprickerhof
** Package changed: libpam-mount (Debian) => gnome-keyring (Debian)

** Package changed: libpam-mount (Ubuntu) => gnome-keyring (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/483159

Title:
  pam_mount trying to unmount my auto-mounted encrypted partitions every
  hour via CRON

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/483159/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2013-09-24 Thread Omar W. Llorente
I was experiencing problems in ubuntu 12.04 fully updated and seems like
solved with this option in pam_mount.conf.xml:

logout wait=3000 hup=no term=no kill=yes /

Hope that helps.

Omar

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libpam-mount in Ubuntu.
https://bugs.launchpad.net/bugs/483159

Title:
  pam_mount trying to unmount my auto-mounted encrypted partitions every
  hour via CRON

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/483159/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2013-09-24 Thread Omar W. Llorente
I was experiencing problems in ubuntu 12.04 fully updated and seems like
solved with this option in pam_mount.conf.xml:

logout wait=3000 hup=no term=no kill=yes /

Hope that helps.

Omar

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/483159

Title:
  pam_mount trying to unmount my auto-mounted encrypted partitions every
  hour via CRON

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/483159/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2012-04-17 Thread wilburdg
Any progress on this?  I'm running 12.04 beta2 with all the updates
applied and I am experiencing this. I have two volume definitions in
pam_mount.conf.xml. One is fstype 'crypt' that mounts my luks encrypted
home directory, the other is fuse encfs that mounts an encfs encrypted
folder.

When I log in, both are mounted fine.  However, if I run any command
using sudo, at the completion of the command, pam attempts to unmount
both my home directory and the encfs folder. It is unable to unmount my
home directory (which produces a number of 'ummount failed' messages,
but it does successfully unmount my encfs folder.  Which means that I
need to remount it after I execute any sudo command.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/483159

Title:
  pam_mount trying to unmount my auto-mounted encrypted partitions every
  hour via CRON

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/483159/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2010-01-08 Thread Stefan
I think I had the same problem, but since upgrade to jaunty. The
solution was to run fsck on /dev/mapper/_dev_sdb1 manually, because some
inodes were corrupted. It was not easy to find this solution. I also
don't know how to reproduce the problem.  Would be nice, if the system
could give a good hint what to do.

Stefan

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-16 Thread Bug Watch Updater
** Changed in: libpam-mount (Debian)
   Status: Unknown = New

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Ari
After further investigation this seems to be related to a recent
upstream bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550892


** Bug watch added: Debian Bug tracker #550892
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550892

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Steve McGrath
Looks like everytime Cron runs, it opens a PAM session, which calls
common_session_noninteractive, which contains pam_mount. That's what
message #48 in the upstream report is alluding to.

** Changed in: libpam-mount (Ubuntu)
   Status: New = Confirmed

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Ari
I've been looking into crontab and the hourly task cron configuration
and can't find any reference to calls to common_session_noninteractive
nor to pam_mount.

I really need to stop cron + pam from periodically dismounting the
encrypted partitions, it is extremely annoying and causing trouble to
all server users.

What about removing the pam_mount call from
common_session_noninteractive?   Can someone give me a hint as to where
to look for the common_session_noninteractive calls to do the removal?
TIA

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Ari
It appears the bad behavior was introduced by a patch to cron by steve
langasek

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543303

** Bug watch added: Debian Bug tracker #543303
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543303

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Steve McGrath
I probably should have elaborated on this a little more.

Cron itself, when running *any* jobs from the crontab, is creating a PAM
session as part of the environment to run the job in.

Cron's pam configuration is in /etc/pam.d/cron, which has a line to
include /etc/pam.d/common_session_noninteractive.

common_session_noninteractive includes the pam_mount module, which may
be necessary for other non-interactive processes. I'm really not sure.
My comments are mostly directed at whoever eventually tries to fix this
bug.

I suppose if I were having this problem, I'd try commenting out the
pam_mount line in /etc/pam.d/common_session_noninteractive.

If that does in fact break other things, I might instead try copying all
the directives except pam_mount from common_session_noninteractive into
/etc/pam.d/cron, and removing the @include
common_session_noninteractive line from /etc/pam.d/cron.

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Steve McGrath
** Also affects: libpam-mount (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550892
   Importance: Unknown
   Status: Unknown

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Steve Langasek
The problem is not caused by anything in Debian bug #543303.  pam_mount
is *also* referenced in /etc/pam.d/common-session.

The only recent behavior change in how pam_mount is used by cron is that
in karmic, libpam-mount now automatically configures itself by default
to do what README.Debian previously recommended that users do by hand.

Ultimately, this bug appears to come down to a reference counting bug in
libpam-mount.  libpam-mount should keep track of the number of sessions
open for the user, and only unmount when the count drops to zero.

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Micah Gersten
As there is an upstream bug and the information in this bug seems
complete as well, I am marking this Triaged.  I concur with Steve
McGrath that this should be Medium as it's an annoyance, but no data
loss seems apparent.

** Changed in: libpam-mount (Ubuntu)
   Importance: Undecided = Medium

** Changed in: libpam-mount (Ubuntu)
   Status: Confirmed = Triaged

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Ari
Thanks everyone for the comments

As a temporary workaround I commented-out the pam_mount call in
/etc/pam.d/common_session_noninteractive

No apparent breakage, nothing of interest in the logs other than that I
see in that cron still runs hourly, but now it leaves my mounted
partitions alone  :)

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483159] Re: pam_mount trying to unmount my auto-mounted encrypted partitions every hour via CRON

2009-11-15 Thread Steve McGrath
Glad to hear that you were able to workaround this. Now that this bug is
marked Traiged, the developers will be looking at it and hopefully this
will be fixed in the package.

-- 
pam_mount trying to unmount my auto-mounted encrypted partitions every hour via 
CRON
https://bugs.launchpad.net/bugs/483159
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs