Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 393633

Summary: sys-apps/pmount-0.9.99_alpha: 'You are not physically logged in' while I am
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-12-08 15:07:16 UTC
Trying to use new pmount on an X11 terminal I get:

You are not physically logged in and your system administrator does not allow remote users to run pumount, aborting

If something like ConsoleKit is required now, we'd appreciate some postinst message at least. If it's actually limited to real ttys, I guess the config default should be changed for pmount to behave like it used to.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-12-08 15:48:58 UTC
From /etc/pmount.conf:

# If not_physically_logged_allow is true, then users don't need to be
# attached to a real TTY for using pmount and pumount. This used to be
# the default for older releases of pmount.
not_physically_logged_allow = no




imho, there is no bug and the new default is more secure and should stay like this
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-12-08 16:02:37 UTC
(In reply to comment #1)
> From /etc/pmount.conf:
> 
> # If not_physically_logged_allow is true, then users don't need to be
> # attached to a real TTY for using pmount and pumount. This used to be
> # the default for older releases of pmount.
> not_physically_logged_allow = no
> 
> imho, there is no bug and the new default is more secure and should stay like
> this

So, you're saying that most of pmount users actually don't use X11 and just plain ttys?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-08 17:41:37 UTC
I can see you forgot to assign it.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-12-08 18:04:22 UTC
well, I don't have strong opinion on this so I'm sure you will be pleased with this:

+*pmount-0.9.99_alpha-r1 (08 Dec 2011)
+
+  08 Dec 2011; Samuli Suominen <ssuominen@gentoo.org>
+  +pmount-0.9.99_alpha-r1.ebuild:
+  Restore default value for not_physically_logged_allow (change from "no" to
+  "yes") wrt #393633 by Michał Górny