Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204186 - sys-apps/baselayout-1: br2684ctl.sh should require >=net-dialup/linux-atm-2.5.0
Summary: sys-apps/baselayout-1: br2684ctl.sh should require >=net-dialup/linux-atm-2.5.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 208247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-03 13:34 UTC by Alin Năstac (RETIRED)
Modified: 2011-11-13 10:42 UTC (History)
6 users (show)

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


Attachments
OpenRC patch (br2684.patch,1.15 KB, patch)
2008-01-03 20:04 UTC, Roy Marples
Details | Diff
ebuild for linux-atm fixing the problem (linux-atm-2.5.0-r1.ebuild,1.25 KB, text/plain)
2009-12-25 02:25 UTC, Ciprian Ciubotariu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Năstac (RETIRED) gentoo-dev 2008-01-03 13:34:04 UTC
The new net-dialup/linux-atm-2.5.0 include this utility but it installs br2684ctl in /usr/sbin.

@vapier: I wish I had updated my work tree this morning, so I wouldn't waste time duplicating your work on linux-atm. :-/
Comment 1 Roy Marples 2008-01-03 20:04:36 UTC
Created attachment 139990 [details, diff]
OpenRC patch

Will need to be adapted slightly for baselayout-2, and ditto for baselayout-1
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-30 22:56:55 UTC
*** Bug 208247 has been marked as a duplicate of this bug. ***
Comment 3 Hubert Kowalski 2008-12-02 12:39:08 UTC
I ran into this problem today while I was upgrading my server. As I work only on stable tree with my server it seems a little cruel to find message that some package is hardmasked and marked for removal while without it your net doesn't work. I had to reemerge it in order to have functional net again... I could also make simple link to linux-atm version of daemon...

Why hasn't this bug been resolved before hardmasking br2684ctl?
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2008-12-02 22:50:37 UTC
Probably I'm to blame for that, because I forgot about this bug. 

Anyway, I cannot wait forever for this bug to be solved. I prefer to let base-system team to fix it rather than unmasking br2684ctl.
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2008-12-02 23:16:21 UTC
On second thought, maybe it is not wise to make users suffer because we move with the speed of snails.
net-misc/br2684ctl has been unmasked, but PLEASE fix this damn bug. After all, 11 months has past since I've open it... :-/
Comment 6 Roy Marples 2008-12-03 00:35:15 UTC
(In reply to comment #5)
> On second thought, maybe it is not wise to make users suffer because we move
> with the speed of snails.
> net-misc/br2684ctl has been unmasked, but PLEASE fix this damn bug. After all,
> 11 months has past since I've open it... :-/

It's been fixed in OpenRC for over 10 months.

If baselayout-1 isn't being actively maintained by anyone then someone should either step up and maintain it or start promoting OpenRC to stable.
Comment 7 Hubert Kowalski 2008-12-03 07:01:27 UTC
As I see, this bug isn't fixed in baselayout-1.12.12 either... So basically it appears to me that baselayout 2.0.0 should stabilized.
Comment 8 Renato Caldas 2008-12-03 12:02:13 UTC
(In reply to comment #7)
> As I see, this bug isn't fixed in baselayout-1.12.12 either... So basically it
> appears to me that baselayout 2.0.0 should stabilized.

I second this. I've been using baselayout-2 forever, and it's been pretty stable.
Comment 9 Ciprian Ciubotariu 2009-12-25 02:25:49 UTC
Created attachment 214078 [details]
ebuild for linux-atm fixing the problem

Well, it's Christmas next year and I have ran into this bug as I have upgraded to linux-atm-2.5.0 from the former working br2684ctl package. As a stable user I am using baselayout-1.12.13, which can't spawn nas0 because of this bug.

Basically /lib/rcscripts/net/br2684ctl.sh looks for /sbin/br2684ctl, while linux-atm-2.5.0 puts it in /usr/sbin/.

I think a simpler solution than the patch posted here would be to symlink the executable from /usr/sbin to /sbin. Here's my ebuild, in case you want to add it to tree for others to benefit of better Gentoo systems on the stable branch.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-07-08 09:18:42 UTC
And, just for the news, br2684 does no longer work, as it needs linux-atm-2.4 that fails to build with bison 2.4.

We _need_ to mask br2684 and <linux-atm-2.5 now.
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-12-12 07:14:06 UTC
Is there somebody with this hardware that can provide an updated patch for openrc?
Comment 12 Alin Năstac (RETIRED) gentoo-dev 2010-12-12 08:09:47 UTC
(In reply to comment #10)
> And, just for the news, br2684 does no longer work, as it needs linux-atm-2.4
> that fails to build with bison 2.4.
> 
> We _need_ to mask br2684 and <linux-atm-2.5 now.

linux-atm-2.5 includes br2684ctl, I'll pmask net-misc/br2684ctl.
Comment 13 William Hubbs gentoo-dev 2011-02-20 05:41:51 UTC
Is there an update for this?

Thanks,

William

Comment 14 William Hubbs gentoo-dev 2011-02-23 00:25:54 UTC
Looking at br2684ctl.sh in openrc, we check for br2684ctl in both possible locations (/usr/sbin and /sbin), so this is a bug in baselayout-1. For more info, see comment #6, comment #7 and comment #8.

Mike/base-system, one way to fix this would be to backport the br2684.sh script from openrc to baselayout-1. I am not sure it is a good idea for me to do this because I am not in a position where I could test.
Comment 15 Alin Năstac (RETIRED) gentoo-dev 2011-11-13 10:42:29 UTC
Closed as OBSOLETE.