[Bug 878699] Re: pam_mount problem for user proxy in cron.daily

2012-09-07 Thread Jari Laamanen
I get this mesage every morning. It is very frustrating.

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

Title:
  pam_mount problem for user proxy in cron.daily

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/polipo/+bug/878699/+subscriptions

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


[Bug 1028551]

2012-09-01 Thread Jari Laamanen
Thanks Anthony. I have indeed kubuntu 12.04 with kde 4.9.00 from
kubuntu-ppa/backports, and the problem goes away, if I use the package
from šumski's repository.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-default-settings in Ubuntu.
https://bugs.launchpad.net/bugs/1028551

Title:
  no default search engine set

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-default-settings/+bug/1028551/+subscriptions

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


[Bug 1028551]

2012-09-01 Thread Jari Laamanen
Yoann,

The version built with KDE 4.9 from testing2 works as intended in my KDE
4.9.00 system (no questions about the default engine, url bar search
works fine, middle click search also). Thanks!

$ apt-cache policy rekonq
rekonq:
  Installed: 1.0+git2012082711-1~precise~ppa1

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

Title:
  no default search engine set

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-default-settings/+bug/1028551/+subscriptions

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


[Bug 1028551]

2012-08-26 Thread Jari Laamanen
I have rekonq 1.0+git2012081411-1~precise~ppa1 from
http://ppa.launchpad.net/yoann-laissus/rekonq-ppa/ubuntu/, which I
believe should contain the above mentioned patch, but the default search
engine is asked every time rekonq is started. In addition, url bar
search does not use any search engine, no matter what is selected in the
web shortcuts configuration. This results also the middle click search
not to work (middle click loads the clipboard url for me, and if it is
not a valid url, rekonq should submit the content to a search engine).

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

Title:
  no default search engine set

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-default-settings/+bug/1028551/+subscriptions

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


[Bug 996806] Re: sudoedit triggers pam_mount to enquire the password of the encrypted partition, trying to mount it and later to umount it.

2012-06-16 Thread Jari Laamanen
aldebx, by restricting the directive in pam_mount.xml to a specific
user  workaround you mean sudo, as for sudoedit there is no workaround?
Or does sudoedit behave normally for you after editing just
pam_mount.xml?

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

Title:
  sudoedit triggers pam_mount to enquire the password of the encrypted
  partition, trying to mount it and later to umount it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/user-mounts/+bug/996806/+subscriptions

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


[Bug 996806] Re: sudoedit triggers pam_mount to enquire the password of the encrypted partition, trying to mount it and later to umount it.

2012-06-06 Thread Jari Laamanen
Thanks Moritz for debugging, I believe that you are correct. Especially
as my /etc/security/pam_mount.conf.xml contains instructions only for
the user, not root, I did not get any trouble with sudo.

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

Title:
  sudoedit triggers pam_mount to enquire the password of the encrypted
  partition, trying to mount it and later to umount it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/user-mounts/+bug/996806/+subscriptions

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


[Bug 927828] Re: sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed.

2012-05-08 Thread Jari Laamanen
I donwgraded to version sudo=1.8.3p1-1ubuntu3:

shell:~$ sudoedit test
reenter password for pam_mount:
pam_mount(mount.c:69): Messages from underlying mount program:
pam_mount(mount.c:73): crypt_activate_by_passphrase: File exists
pam_mount(pam_mount.c:521): mount of /dev/myvolumehere/mypartitionhere failed
sudoedit: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' 
failed.
Aborted
shell:~$ ls test
ls: cannot access test: No such file or directory

So also sudoedit was unusable with the old version. I'll open a new bug
against sudo.

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

Title:
  sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void
  *)0)' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sudo/+bug/927828/+subscriptions

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


[Bug 927828] Re: sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed.

2012-05-08 Thread Jari Laamanen
Steve,

two simultaneous ssh's to a server with already mounted encrypted partitions do 
not print errors for the user. 
However, auth.log records the following lines:

May  8 23:11:17 myserver sshd[8]: Accepted password for myuser from 
xxx.xxx.xxx.xxx port 36342 ssh2
May  8 23:11:17 myserver sshd[8]: pam_unix(sshd:session): session opened 
for user myuser by (uid=0)
May  8 23:11:17 myserver sshd[8]: pam_mount(mount.c:69): Messages from 
underlying mount program:
May  8 23:11:17 myserver sshd[8]: pam_mount(mount.c:73): 
crypt_activate_by_passphrase: File exists
May  8 23:11:17 myserver sshd[8]: pam_mount(pam_mount.c:521): mount of 
/dev/myvolumehere/mypartitionhere failed
May  8 23:11:33 myserver sshd[22472]: Accepted password for myuser from 
xxx.xxx.xxx.xxx port 36343 ssh2
May  8 23:11:33 myserver sshd[22472]: pam_unix(sshd:session): session opened 
for user myuser by (uid=0)
May  8 23:11:33 myserver sshd[22472]: pam_mount(mount.c:69): Messages from 
underlying mount program:
May  8 23:11:33 myserver sshd[22472]: pam_mount(mount.c:73): 
crypt_activate_by_passphrase: File exists
May  8 23:11:33 myserver sshd[22472]: pam_mount(pam_mount.c:521): mount of 
/dev/myvolumehere/mypartitionhere failed

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

Title:
  sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void
  *)0)' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sudo/+bug/927828/+subscriptions

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


[Bug 996806] [NEW] sudoedit triggers pam_mount to enquire the password of the encrypted partition, trying to mount it and later to umount it.

2012-05-08 Thread Jari Laamanen
Public bug reported:

I have sudo 1.8.3p1-1ubuntu3.1 from precise-proposed and I use pam_mount
for mounting encrypted partitions at login. (LVM partitions, if that
matters.)

'sudoedit' command triggers pam_mount to enquire the password of the
encrypted partition, trying to mount it and later to umount it. Mounting
and umounting fails, because the encrypted partition is already mounted,
unlocked and busy. The edited file is not changed rendering sudoedit
useless.

$ sudoedit test
reenter password for pam_mount:
pam_mount(mount.c:69): Messages from underlying mount program:
pam_mount(mount.c:73): crypt_activate_by_passphrase: File exists
pam_mount(pam_mount.c:521): mount of /dev/myvolumehere/mypartitionhere failed
pam_mount(mount.c:69): umount messages:
pam_mount(mount.c:73): umount: /mnt/mymountedpartition: device is busy.
pam_mount(mount.c:73): (In some cases useful info about processes that use
pam_mount(mount.c:73): the device is found by lsof(8) or fuser(1))
pam_mount(mount.c:73): umount /mnt/mymountedpartition failed with run_sync 
status 1
pam_mount(mount.c:73): umount: /mnt/mymountedpartition: device is busy.
pam_mount(mount.c:73): (In some cases useful info about processes that use
pam_mount(mount.c:73): the device is found by lsof(8) or fuser(1))
pam_mount(mount.c:73): umount /mnt/mymountedpartition failed with run_sync 
status 1
pam_mount(mount.c:752): unmount of /dev/myvolumehere/mypartitionhere failed

If I edit the file test, the tmp file /var/tmp/test.XXN2W9z4 gets
updated, but after exiting sudoedit, the actual file is not changed. The
tmp file is removed after exiting.

sudo (version 1.8.3p1-1ubuntu3.1) does not trigger this behavior, just 
sudoedit. If I clear the sudo timestamp:
$ sudo -k
$ sudoedit test
[sudo] password for myusername: 
pam_mount(mount.c:69): Messages from underlying mount program:
[...the same errors...]

If I donwgrade to version sudo=1.8.3p1-1ubuntu3, the sudoedit fails
similarly, but appended with the known bug 927828:

shell:~$ sudoedit test
reenter password for pam_mount:
pam_mount(mount.c:69): Messages from underlying mount program:
pam_mount(mount.c:73): crypt_activate_by_passphrase: File exists
pam_mount(pam_mount.c:521): mount of /dev/myvolumehere/mypartitionhere failed
sudoedit: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' 
failed.
Aborted
shell:~$ ls test
ls: cannot access test: No such file or directory

So sudoedit was unusable also with the old version.

The workaround is to edit files using sudo vim (file)

$ lsb_release -rd
Description:Ubuntu 12.04 LTS
Release:12.04

sudo:
  Installed: 1.8.3p1-1ubuntu3.1

/$ cat /etc/pam.d/sudo
#%PAM-1.0
@include common-auth
@include common-account
@include common-session-noninteractive

$ grep pam_mount /etc/pam.d/common-*
/etc/pam.d/common-auth:auth optionalpam_mount.so 
/etc/pam.d/common-session:session   optionalpam_mount.so 
/etc/pam.d/common-session-noninteractive:sessionoptional
pam_mount.so 

Hence, pam_mount.so is in both common-auth and common-session-
noninteractive. However, sudo does not have this problem, only sudoedit.

File /etc/security/pam_mount.conf.xml:

?xml version=1.0 encoding=utf-8 ?
!DOCTYPE pam_mount SYSTEM pam_mount.conf.xml.dtd
pam_mount
debug enable=0 /
mntoptions 
allow=nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other /
mntoptions require=nosuid,nodev /
logout wait=0 hup=0 term=0 kill=0 /
mkmountpoint enable=1 remove=true /
volume user=myusername fstype=crypt 
path=/dev/myvolumehere/mypartitionhere mountpoint=/mnt/mymountedpartition /
/pam_mount

** Affects: sudo (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: pam-mount sudoedit

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

Title:
  sudoedit triggers pam_mount to enquire the password of the encrypted
  partition, trying to mount it and later to umount it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/996806/+subscriptions

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


[Bug 927828] Re: sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed.

2012-05-08 Thread Jari Laamanen
I filed a bug #996806 against sudo in ubuntu for the sudoedit and
pam_mount bug. Thanks!

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

Title:
  sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void
  *)0)' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sudo/+bug/927828/+subscriptions

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


[Bug 927828] Re: sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void *)0)' failed.

2012-05-07 Thread Jari Laamanen
I have sudo 1.8.3p1-1ubuntu3.1 from precise-proposed and I use pam_mount
for mounting encrypted partitions at login.

While the original bug is fixed with the 1ubuntu3.1 version of sudo,
'sudoedit' command triggers pam_mount to enquire the password of the
encrypted partition, trying to mount it and later to umount it. Mounting
and umounting fails, because the encrypted partition is already mounted,
unlocked and busy.

$ sudoedit test
reenter password for pam_mount:
pam_mount(mount.c:69): Messages from underlying mount program:
pam_mount(mount.c:73): crypt_activate_by_passphrase: File exists
pam_mount(pam_mount.c:521): mount of /dev/myvolumehere/mypartitionhere failed
pam_mount(mount.c:69): umount messages:
pam_mount(mount.c:73): umount: /mnt/mymountedpartition: device is busy.
pam_mount(mount.c:73): (In some cases useful info about processes that 
use
pam_mount(mount.c:73):  the device is found by lsof(8) or fuser(1))
pam_mount(mount.c:73): umount /mnt/mymountedpartition failed with run_sync 
status 1
pam_mount(mount.c:73): umount: /mnt/mymountedpartition: device is busy.
pam_mount(mount.c:73): (In some cases useful info about processes that 
use
pam_mount(mount.c:73):  the device is found by lsof(8) or fuser(1))
pam_mount(mount.c:73): umount /mnt/mymountedpartition failed with run_sync 
status 1
pam_mount(mount.c:752): unmount of /dev/myvolumehere/mypartitionhere failed

sudo does not trigger this behavior, just sudoedit.

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

Title:
  sudo: pam_mount.c:417: modify_pm_count: Assertion `user != ((void
  *)0)' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sudo/+bug/927828/+subscriptions

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