[arch-projects] [initscripts] /sbin/rc conflicts with plan9 package

Dave Reisner d at falconindy.com
Wed May 4 15:53:34 CEST 2011


On Wed, May 04, 2011 at 03:43:46PM +0200, Thomas Bächler wrote:
> Am 04.05.2011 14:14, schrieb Dave Reisner:
> >> I missed this conflict when I merged our new rc script:
> >> <https://bugs.archlinux.org/task/24082>. The two packages in question
> >> are in [community]. I cannot see the conflict with extra/cmus, so I
> >> dont know what that is about.
> >>
> >> Does anyone have any suggestions on how to solve this? We could rename
> >> our script, or we could as plan9 packager to rename his I guess...
> > 
> > We should probably rename ours since we came later to the game and the
> > rc shell is fairly well known. Just throwing ideas -- 'rcd' and 'dcon'
> > both appear not to be taken.
> 
> Does this plan9 stuff have any relevance? In any case, there is no real
> file conflict:
> 
> $ pkgfile -bv rc
> core/initscripts (2011.04.1-2) : /sbin/rc
> community/9base (6-2) : /opt/plan9/bin/rc
> community/plan9port (20101110-1) : /opt/plan9/bin/rc
> 

It's not a file conflict, but a PATH conflict. Calling 'rc' or using a
'#!/usr/bin/env rc' shebang is likely the culprit. From
community/plan9port's profile.d script:

export PATH=$PATH:$PLAN9/bin

So /opt/plan9/bin is ending up below /sbin. It fails silently because
running something like: 'rc lolwat' doesn't [currently] exit with an
error.

d


More information about the arch-projects mailing list