Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248485 - Both www-servers/publicfile and net-ftp/netkit-ftpd install /usr/bin/ftpd
Summary: Both www-servers/publicfile and net-ftp/netkit-ftpd install /usr/bin/ftpd
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard: sec-policy r3
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-23 23:03 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-10-04 18:32 UTC (History)
3 users (show)

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


Attachments
Only change needed in selinux-publicfile (publicfile.fc.patch,586 bytes, patch)
2011-06-21 20:27 UTC, Sven Vermeulen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-23 23:03:04 UTC
Detected file collision(s):

        /usr/bin/ftpd

Searching all installed packages for file collisions...

Press Ctrl-C to Stop

net-ftp/netkit-ftpd-0.17-r8
        /usr/bin/ftpd

Package 'www-servers/publicfile-0.52-r1' NOT merged due to file
collisions. If necessary, refer to your elog messages for the whole
content of the above message.
Comment 1 SpanKY gentoo-dev 2008-11-27 18:19:47 UTC
net-ftp/netkit-ftpd isnt changing ... if you want to keep publicfile the same, then feel free to add blockers to both packages
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-01-03 18:45:24 UTC
thanks vapier: i added the blockers for now.

i'd want to fix this for real though.
hardened: what would the consequences for the selinux-publicfile config be, if the binaries would change name:
ftpd -> publicfile-ftpd
httpd -> publicfile-httpd

the configure program is already renamed to publicfile-conf
Comment 3 Sven Vermeulen 2011-02-27 15:09:59 UTC
It shouldn't be too big of a problem to update selinux-publicfile to use the new binaries.
Comment 4 Sven Vermeulen 2011-06-21 20:27:25 UTC
Created attachment 277715 [details, diff]
Only change needed in selinux-publicfile

If the binary rename is the only change, then this patch is the only one necessary to implement on the sec-policy/selinux-publicfile ebuilds.
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2011-12-30 20:14:54 UTC
This has been open for over half a year. I'm removing selinux@gentoo.org from the Cc list for now, but when you consider making the change Thilo suggested just ping us and we'll make sure that the selinux-publicfile package is updated accordingly.
Comment 6 Pacho Ramos gentoo-dev 2012-03-24 10:39:29 UTC
+*publicfile-0.52-r3 (24 Mar 2012)
+
+  24 Mar 2012; Pacho Ramos <pacho@gentoo.org> +publicfile-0.52-r3.ebuild,
+  -publicfile-0.52-r2.ebuild:
+  Rename files to prevent collisions, bug #248485. Drop old.
+

Hardened, please go ahead
Comment 7 Michael Palimaka (kensington) gentoo-dev 2012-07-31 14:03:20 UTC
Fixing assignee.
Comment 8 Sven Vermeulen (RETIRED) gentoo-dev 2012-08-14 16:47:33 UTC
Will be fixed in rev2 of the selinux policies (due soon)
Comment 9 Sven Vermeulen (RETIRED) gentoo-dev 2012-08-14 18:56:07 UTC
r2 is now in hardened-dev overlay
Comment 10 Sven Vermeulen (RETIRED) gentoo-dev 2012-08-15 13:23:36 UTC
Meh, the patch was missed in the patch bundle, so it'll be in rev 3
Comment 11 Sven Vermeulen (RETIRED) gentoo-dev 2012-08-16 14:10:13 UTC
r3 is in hardened-dev overlay
Comment 12 Sven Vermeulen (RETIRED) gentoo-dev 2012-09-22 11:30:08 UTC
In main tree, ~arch'ed (rev 5)
Comment 13 Sven Vermeulen (RETIRED) gentoo-dev 2012-10-04 18:32:53 UTC
stabilized