[Bug 705178] Re: pam_namespaces and --make-shared vs mountall

2012-05-19 Thread Steve Langasek
** Changed in: mountall (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: mountall (Ubuntu)
   Importance: Undecided = Medium

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

Title:
  pam_namespaces and --make-shared vs mountall

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

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


[Bug 705178] Re: pam_namespaces and --make-shared vs mountall

2012-03-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: mountall (Ubuntu)
   Status: New = Confirmed

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

Title:
  pam_namespaces and --make-shared vs mountall

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

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


[Bug 705178] Re: pam_namespaces and --make-shared vs mountall

2011-01-20 Thread Brian Murray
** Tags added: patch

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

Title:
  pam_namespaces and --make-shared vs mountall

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


[Bug 705178] Re: pam_namespaces and --make-shared vs mountall

2011-01-19 Thread RK
The attached patch fixes both issues (the duplicate mount point issue also 
reported in bug #503003 and
making it understand make-*). (Actually, it relies on mount to know which 
--make-* options are valid.)

** Patch added: patch
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/705178/+attachment/1799965/+files/mountall-705178.patch

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

Title:
  pam_namespaces and --make-shared vs mountall

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


[Bug 705178] Re: pam_namespaces and --make-shared vs mountall

2011-01-19 Thread RK
Correction, it doesn't fix the duplicated mount point issue, only
another special case, but at least that one completely.

** Description changed:

  Binary package hint: mountall
  
  I'm using pam_namespaces in my PAM configuration (mainly to have /tmp and 
/var/tmp mapped into my encrypted $HOME,
  so that private temp files do not end up on the not yet encrypted root 
partition). However, having different namespaces
  means that udisks will run in a different namespace than my user, so it will 
mount removable drives (like DVD) in the
  other namespace than mine - resulting in e.g. the file manager being unable 
to open the newly mounted (but yet unreachable)
  directory. To solve this, I created another /media mount point on /tmp and 
was planning to call mount --make-shared on it,
  to make these mounts show through. Googling a little, I found that
  none /media tmpfs defaults,noexec,nodev,auto 0 0
  none /media none make-shared 0 0
  should solve my issue - which mount -a confirms to be correct. However, 
mountall has two issues: it will ignore all lines
- except the last for the same mount point, and it will do nothing with fstype 
= none, since such a file system is indeed unkown -
+ except the last for the same mount point, and it will do nothing with fstype 
= none, since such a file system is indeed unknown -
  it does not understand the special syntax.

** Description changed:

  Binary package hint: mountall
  
  I'm using pam_namespaces in my PAM configuration (mainly to have /tmp and 
/var/tmp mapped into my encrypted $HOME,
- so that private temp files do not end up on the not yet encrypted root 
partition). However, having different namespaces
- means that udisks will run in a different namespace than my user, so it will 
mount removable drives (like DVD) in the
- other namespace than mine - resulting in e.g. the file manager being unable 
to open the newly mounted (but yet unreachable)
- directory. To solve this, I created another /media mount point on /tmp and 
was planning to call mount --make-shared on it,
- to make these mounts show through. Googling a little, I found that
+ so that private temp files do not end up on the not yet encrypted root 
partition). However, having different namespaces means that udisks will run in 
a different namespace than my user, so it will mount removable drives (like 
DVD) in the other namespace than mine - resulting in e.g. the file manager 
being unable to open the newly mounted (but yet unreachable) directory. To 
solve this, I created another /media mount point on /tmp and was planning to 
call mount --make-shared on it, to make these mounts show through. Googling a 
little, I found that
  none /media tmpfs defaults,noexec,nodev,auto 0 0
  none /media none make-shared 0 0
- should solve my issue - which mount -a confirms to be correct. However, 
mountall has two issues: it will ignore all lines
- except the last for the same mount point, and it will do nothing with fstype 
= none, since such a file system is indeed unknown -
- it does not understand the special syntax.
+ should solve my issue - which mount -a confirms to be correct. However, 
mountall has two issues: it will ignore all lines except the last for the same 
mount point, and it will do nothing with fstype = none, since such a file 
system is indeed unknown - it does not understand the special syntax.

** Description changed:

  Binary package hint: mountall
  
- I'm using pam_namespaces in my PAM configuration (mainly to have /tmp and 
/var/tmp mapped into my encrypted $HOME,
- so that private temp files do not end up on the not yet encrypted root 
partition). However, having different namespaces means that udisks will run in 
a different namespace than my user, so it will mount removable drives (like 
DVD) in the other namespace than mine - resulting in e.g. the file manager 
being unable to open the newly mounted (but yet unreachable) directory. To 
solve this, I created another /media mount point on /tmp and was planning to 
call mount --make-shared on it, to make these mounts show through. Googling a 
little, I found that
+ I'm using pam_namespaces in my PAM configuration (mainly to have /tmp and 
/var/tmp mapped into my encrypted $HOME, so that private temp files do not end 
up on the not yet encrypted root partition). However, having different 
namespaces means that udisks will run in a different namespace than my user, so 
it will mount removable drives (like DVD) in the other namespace than mine - 
resulting in e.g. the file manager being unable to open the newly mounted (but 
yet unreachable) directory. To solve this, I created another /media mount point 
on /tmp and was planning to call mount --make-shared on it, to make these 
mounts show through. Googling a little, I found that
  none /media tmpfs defaults,noexec,nodev,auto 0 0
  none /media none make-shared 0 0
  should solve my issue - which mount -a confirms to be correct. However, 
mountall has two issues: it will