View previous topic :: View next topic |
Author |
Message |
oleid n00b
Joined: 05 Dec 2012 Posts: 10
|
Posted: Wed Dec 05, 2012 5:08 am Post subject: [solved]emerge : suid/sgid file(s) with suspicious hardlinks |
|
|
Hello everybody!
I've got a gentoo installation in a chroot environment, which is exported via NFS for thin clients. I build the system on the same machine, yet some days ago I moved the build process from the file server to a different computer containing the same hardware. Due to --getbinpkgonly a lot of packages got upgraded. Now I ran into the following problem. Some of the packages which where build without any problem on the build server won't install on the slave computer:
Code: | * Messages for package sys-apps/util-linux-2.21.2:
* suid/sgid file(s) with suspicious hardlink(s):
*
* /bin/umount
* /bin/mount
*
* See the Gentoo Security Handbook guide for advice on how to proceed.
* Messages for package net-fs/nfs-utils-1.2.6:
* suid/sgid file(s) with suspicious hardlink(s):
*
* /sbin/mount.nfs
*
* See the Gentoo Security Handbook guide for advice on how to proceed.
* Messages for package x11-base/xorg-server-1.13.0-r1:
* suid/sgid file(s) with suspicious hardlink(s):
*
* /usr/bin/Xorg
*
* See the Gentoo Security Handbook guide for advice on how to proceed.
* Messages for package app-emulation/virtualbox-4.1.22:
* suid/sgid file(s) with suspicious hardlink(s):
*
* /usr/lib64/virtualbox/VBox
*
* See the Gentoo Security Handbook guide for advice on how to proceed.
*
* The following 4 packages have failed to build or install:
*
* (sys-apps/util-linux-2.21.2::gentoo, binary scheduled for merge), Log file:
* '/localdisk1/tmp/portage/sys-apps/util-linux-2.21.2/temp/build.log'
* (net-fs/nfs-utils-1.2.6::gentoo, binary scheduled for merge), Log file:
* '/localdisk1/tmp/portage/net-fs/nfs-utils-1.2.6/temp/build.log'
* (x11-base/xorg-server-1.13.0-r1::gentoo, binary scheduled for merge), Log file:
* '/localdisk1/tmp/portage/x11-base/xorg-server-1.13.0-r1/temp/build.log'
* (app-emulation/virtualbox-4.1.22::gentoo, binary scheduled for merge), Log file:
* '/localdisk1/tmp/portage/app-emulation/virtualbox-4.1.22/temp/build.log'
*
|
Even when telling emerge to build the packages locally, the same error occurs. Does anybody have a clue what might be wrong? I looked up the "Gentoo Security Handbook guide", yet this didn't help me. Google also showed no meaningful results.
Code: | [binary R ] sys-apps/util-linux-2.21.2 USE="cramfs crypt ncurses nls unicode -ddate -old-linux -perl* (-selinux) -slang -static-libs (-uclibc) -udev*" 0 kB
[binary U ] net-fs/nfs-utils-1.2.6 [1.2.3-r1] USE="ipv6 nfsv4 tcpd -caps -kerberos -nfsdcld% -nfsidmap% -nfsv41% (-selinux) (-nfsv3%*)" 0 kB
[binary U ] x11-base/xorg-server-1.13.0-r1 [1.12.2] USE="ipv6 kdrive nptl udev xorg -dmx -doc -minimal (-selinux) -static-libs -tslib -xnest -xvfb*" 0 kB
[binary R ] app-emulation/virtualbox-4.1.22 USE="additions opengl pam pulseaudio qt4 sdk -alsa* -doc -extensions -headless -java -python* -vboxwebsrv -vnc" 0 kB |
Thanks a lot!
Last edited by oleid on Wed Dec 05, 2012 5:55 am; edited 1 time in total |
|
Back to top |
|
|
oleid n00b
Joined: 05 Dec 2012 Posts: 10
|
Posted: Wed Dec 05, 2012 5:54 am Post subject: |
|
|
Replying to myself:
Meanwhile I dug in /usr/lib/portage/pym/portage/dbapi/vartree.py to find the logic behind this error message posted before and found out, that the problem seem to be already existing files. Maybe portage doesn't know that the files it tries to replace belong to the very package I tried to reinstall. So what I did was the following:
Code: | # rm /usr/bin/X /usr/bin/Xorg /bin/mount /bin/umount /usr/lib64/virtualbox/VBox
# emerge -1 x11-base/xorg-server app-emulation/virtualbox sys-apps/util-linux net-fs/nfs-utils |
And emerge worked fine, even a 2nd time. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|