Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#369815: ships binary in /etc

2 views
Skip to first unread message

Stephen Gran

unread,
Jun 5, 2006, 6:00:18 AM6/5/06
to
This one time, at band camp, Horms said:
> On Thu, Jun 01, 2006 at 03:24:48PM +0200, Marc 'HE' Brockschmidt wrote:
> > Let's see what the FHS says:
> > "No binaries should be located under /etc." [3.4]
> >
> > Now, what does heartbeat do?
> > he@nahar:/tmp/he$ dpkg-deb -x heartbeat_1.2.4-8_i386.deb bar
> > he@nahar:/tmp/he$ file bar/etc/ha.d/resource.d/IPv6addr
> > bar/etc/ha.d/resource.d/IPv6addr: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
>
> Unfortunately heartbeat (for fairly broken reasons IMHO) really
> needs those files there.

Can't it be a symlink?

So asks me who will only really look at it for the first time this week,
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sg...@debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------

signature.asc

Horms

unread,
Jun 5, 2006, 7:00:28 AM6/5/06
to
On Mon, Jun 05, 2006 at 10:46:02AM +0100, Stephen Gran wrote:
> This one time, at band camp, Horms said:
> > On Thu, Jun 01, 2006 at 03:24:48PM +0200, Marc 'HE' Brockschmidt wrote:
> > > Let's see what the FHS says:
> > > "No binaries should be located under /etc." [3.4]
> > >
> > > Now, what does heartbeat do?
> > > he@nahar:/tmp/he$ dpkg-deb -x heartbeat_1.2.4-8_i386.deb bar
> > > he@nahar:/tmp/he$ file bar/etc/ha.d/resource.d/IPv6addr
> > > bar/etc/ha.d/resource.d/IPv6addr: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
> >
> > Unfortunately heartbeat (for fairly broken reasons IMHO) really
> > needs those files there.
>
> Can't it be a symlink?

I didn't realise that would resolve the problem.
Yes, I believe it can be. I will see about making it so.

--
Horms http://www.vergenet.net/~horms/

--
To UNSUBSCRIBE, email to debian-bugs...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Stephen Gran

unread,
Jun 5, 2006, 8:50:20 AM6/5/06
to
This one time, at band camp, Horms said:
> On Mon, Jun 05, 2006 at 10:46:02AM +0100, Stephen Gran wrote:
> > This one time, at band camp, Horms said:
> > >
> > > Unfortunately heartbeat (for fairly broken reasons IMHO) really
> > > needs those files there.
> >
> > Can't it be a symlink?
>
> I didn't realise that would resolve the problem.
> Yes, I believe it can be. I will see about making it so.

Excellent - thanks.

signature.asc

Horms

unread,
Jun 8, 2006, 2:00:16 AM6/8/06
to
On Tue, Jun 06, 2006 at 11:01:25PM -0600, Alan Robertson wrote:
> Horms wrote:
> >On Thu, Jun 01, 2006 at 03:24:48PM +0200, Marc 'HE' Brockschmidt wrote:
> >>Package: heartbeat
> >>Severity: serious
> >>
> >>Heya,

> >>
> >>Let's see what the FHS says:
> >>"No binaries should be located under /etc." [3.4]
> >>
> >>Now, what does heartbeat do?
> >>he@nahar:/tmp/he$ dpkg-deb -x heartbeat_1.2.4-8_i386.deb bar
> >>he@nahar:/tmp/he$ file bar/etc/ha.d/resource.d/IPv6addr
> >>bar/etc/ha.d/resource.d/IPv6addr: ELF 32-bit LSB executable, Intel 80386,
> >>version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared
> >>libs), for GNU/Linux 2.4.1, stripped
> >>
> >
> >Unfortunately heartbeat (for fairly broken reasons IMHO) really
> >needs those files there.
>
> Could we symlink 'em somewhere?

Yes, I think that is a good solution (short of rearanging the
resource paths completely). I can do this fairly easily in the Debian
packaging and intend to do so shortly. Do you want me to shoe-horn this
into the relevant Makefile.am, or just leave it as a Debian thing?

Alan Robertson

unread,
Jun 8, 2006, 11:00:16 AM6/8/06
to
Lars Marowsky-Bree wrote:
> On 2006-06-08T08:21:38, Alan Robertson <al...@unix.sh> wrote:
>
>>>> Please fix it everywhere, if you don't mind.
>>>>
>>>> Thanks Horms!!
>>> Of course, special attention needs to be paid to upgrading to (and
>>> possibly, back off from) a version with that change.
>> I'm pretty sure that RPM handles that kind of thing correctly...
>
> There may be files in there which aren't owned by our package though, or
> modified.


Huh?

I just meant make individual symlinks for a individual binaries. NOT a
symlink for the entire directory.


--
Alan Robertson <al...@unix.sh>

"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce

Lars Marowsky-Bree

unread,
Jun 8, 2006, 11:10:12 AM6/8/06
to
On 2006-06-08T07:15:01, Alan Robertson <al...@unix.sh> wrote:

> >>>Unfortunately heartbeat (for fairly broken reasons IMHO) really
> >>>needs those files there.
> >>Could we symlink 'em somewhere?
> >Yes, I think that is a good solution (short of rearanging the
> >resource paths completely). I can do this fairly easily in the Debian
> >packaging and intend to do so shortly. Do you want me to shoe-horn this
> >into the relevant Makefile.am, or just leave it as a Debian thing?

> Please fix it everywhere, if you don't mind.
>
> Thanks Horms!!

Of course, special attention needs to be paid to upgrading to (and
possibly, back off from) a version with that change.


Sincerely,
Lars Marowsky-Brée

--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"

Debian Bug Tracking System

unread,
Jun 12, 2006, 4:20:14 AM6/12/06
to
Your message dated Mon, 12 Jun 2006 00:47:07 -0700
with message-id <E1Fph8d-...@spohr.debian.org>
and subject line Bug#369815: fixed in heartbeat 1.2.4-9
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Debian Bug Tracking System

unread,
Jun 12, 2006, 4:20:17 AM6/12/06
to
Your message dated Mon, 12 Jun 2006 00:47:11 -0700
with message-id <E1Fph8h-...@spohr.debian.org>
and subject line Bug#372850: fixed in heartbeat-2 2.0.5-4
0 new messages