Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507076 - net-misc/x2goserver-4.0.1.15 - chmod: cannot access ‘.../image//etc/sudoers.d/vdr’: No such file or directory
Summary: net-misc/x2goserver-4.0.1.15 - chmod: cannot access ‘.../image//etc/sudoers.d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-07 18:56 UTC by Frank Krömmelbein
Modified: 2014-04-08 07:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2014-04-07 18:56:01 UTC
Update fails for me:

[ebuild     U ~] net-misc/x2goserver-4.0.1.15 [4.0.1.13] USE="doc fuse sqlite -postgres" 0 kB


From build.log:

make[1]: Leaving directory `/var/tmp/portage/net-misc/x2goserver-4.0.1.15/work/x2goserver-4.0.1.15/x2goserver-pyhoca'
chmod: cannot access ‘/var/tmp/portage/net-misc/x2goserver-4.0.1.15/image//etc/sudoers.d/vdr’: No such file or directory
 [31;01m*[0m ERROR: net-misc/x2goserver-4.0.1.15::gentoo failed (install phase):
 [31;01m*[0m   fperms failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=net-misc/x2goserver-4.0.1.15::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-misc/x2goserver-4.0.1.15::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/net-misc/x2goserver-4.0.1.15/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-misc/x2goserver-4.0.1.15/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/net-misc/x2goserver-4.0.1.15/work/x2goserver-4.0.1.15'
 [31;01m*[0m S: '/var/tmp/portage/net-misc/x2goserver-4.0.1.15/work/x2goserver-4.0.1.15'


Content of /etc/sudoers.d

-r--r----- 1 root root 58  3. Mär 13:48 vdr
-rw-r--r-- 1 root root 47  7. Apr 20:43 x2goserver

I think this caused by this change in Ebuild
@@ -58,6 +58,8 @@
 
        fowners root:x2goprint /usr/bin/x2goprint
        fperms 2755 /usr/bin/x2goprint
+       fperms 0750 /etc/sudoers.d
+       fperms 0440 /etc/sudoers.d/*
        dosym /usr/share/applications /etc/x2go/applications
 
        newinitd "${FILESDIR}"/${PN}.init x2gocleansessions

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-08 01:42:39 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 Frank Krömmelbein 2014-04-08 07:24:45 UTC
Fixed in the meantime:

  07 Apr 2014; Bernard Cafarelli <voyageur@gentoo.org>
  x2goserver-4.0.1.15.ebuild:
  Restrict fperms line to /etc/sudoers.d/x2goserver


equery b /etc/sudoers.d/vdr
 * Searching for /etc/sudoers.d/vdr ... 
media-tv/gentoo-vdr-scripts-2.0.0 (/etc/sudoers.d/vdr)


Fix:

@@ -59,7 +59,7 @@
        fowners root:x2goprint /usr/bin/x2goprint
        fperms 2755 /usr/bin/x2goprint
        fperms 0750 /etc/sudoers.d
-       fperms 0440 /etc/sudoers.d/*
+       fperms 0440 /etc/sudoers.d/x2goserver
        dosym /usr/share/applications /etc/x2go/applications
 
        newinitd "${FILESDIR}"/${PN}.init x2gocleansessions