Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53321 - app-misc/secure-delete and app-misc/srm overlapping binaries
Summary: app-misc/secure-delete and app-misc/srm overlapping binaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-08 08:39 UTC by Daniel Webert
Modified: 2004-06-08 14:47 UTC (History)
1 user (show)

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 Daniel Webert 2004-06-08 08:39:33 UTC
app-misc/secure-delete and app-misc/srm overlapping binaries

- have a same binary called /usr/bin/srm and so overwrite the other package :( 
- see also probs while unmerging one of them (killing the over binary) 
- also watch out 4 'man srm' 

<snip>
porkoo rockoo # /usr/bin/srm --version
srm (srm) 1.2.8
</snap>

<snip>
porkoo rockoo # /usr/bin/srm --version
srm: invalid option -- -
srm v3.0 (c) 1997-2003 by van Hauser / THC <vh@thc.org>

Syntax: srm [-dflrvz] file1 file2 etc.

Options:
        -d  ignore the two dot special files "." and "..".
        -f  fast (and insecure mode): no /dev/urandom, no synchronize mode.
        -l  lessens the security (use twice for total insecure mode).
        -r  recursive mode, deletes all subdirectories.
        -v  is verbose mode.
        -z  last wipe writes zeros instead of random data.

srm does a secure overwrite/rename/delete of the target file(s).
Default is secure mode (38 writes).
You can find updates at http://www.thc.org
</snap>
Comment 1 Peter Jensen 2004-06-08 09:57:26 UTC
They provide (basically) the same functionality anyway, so the simple solution is to let them block each other.
Add '!app-misc/srm' to DEPEND of the 'app-misc/secure-delete', and vice-versa.
BTW, doesn't 'app-misc/secure-delete' depend on anything?
I would at least have thought 'virtual/glibc' was required ...
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-06-08 14:47:21 UTC
Fixed. Thanks Daniel and Peter.