Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416985 - =sys-apps/pmount-0.9.99_alpha-r1: locale problems with configuration file reading
Summary: =sys-apps/pmount-0.9.99_alpha-r1: locale problems with configuration file rea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL: http://pmount.alioth.debian.org
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-21 22:05 UTC by Leho Kraav (:macmaN @lkraav)
Modified: 2013-09-25 07:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-pmount-locale-regex.patch (0001-pmount-locale-regex.patch,837 bytes, patch)
2012-05-21 22:06 UTC, Leho Kraav (:macmaN @lkraav)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leho Kraav (:macmaN @lkraav) 2012-05-21 22:05:42 UTC
$ pmount /dev/sde1 
Error parsing configuration file line: not_physically_logged_allow_user = leho

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

$ env | grep LANG
LANG=et_EE.utf8

$ LC_ALL=C pmount /dev/sde1 
Error: device /dev/sde1 is not removable


Problem is good ol a-z stuff:

(pmount-debian.git) $ [git:master] git --no-pager grep a-z -- src
src/conffile.c:       "^[[:blank:]]*([-a-zA-Z_]+)[[:blank:]]*"
src/conffile.c:       "^[[:blank:]]*([a-zA-Z_]+)[[:blank:]]*"

Reproducible: Always
Comment 1 Leho Kraav (:macmaN @lkraav) 2012-05-21 22:06:08 UTC
Created attachment 312601 [details, diff]
0001-pmount-locale-regex.patch
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-05-21 22:18:04 UTC
Where is this patch from? Upstream? If not, please post it to the upstream bug tracking system first:

http://alioth.debian.org/tracker/?atid=412979&group_id=31157&func=browse
http://alioth.debian.org/tracker/?group_id=31157

Once done, we can merge it in Portage.
Comment 3 Leho Kraav (:macmaN @lkraav) 2012-05-21 22:44:33 UTC
Looking at the state of their bug tracker, I don't have high hopes of that getting anywhere while we're still young.

But here goes anyway.

https://alioth.debian.org/tracker/index.php?func=detail&aid=313648&group_id=31157&atid=412979

In the meantime Gentoo folks can roll with their own overlays at least.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-09-25 07:23:49 UTC
sorry it took so long to apply. -r2 is now in portage with the patch. thanks!