Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485716 - sys-apps/watchdog - consider moving /usr/sbin/watchdog to /sbin
Summary: sys-apps/watchdog - consider moving /usr/sbin/watchdog to /sbin
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-09-23 08:40 UTC by grey dot
Modified: 2013-10-15 19:53 UTC (History)
0 users

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


Attachments
ebuild (watchdog-5.13-r1.ebuild,1001 bytes, text/plain)
2013-09-23 08:49 UTC, grey dot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grey dot 2013-09-23 08:40:05 UTC
In many cases kicking watchdog is required from the very beginning, since otherwise the system gets rebooted before it manages to mount /usr (especially if the latter requires fsck). A notable example would be a system with no initrd, with / partition on UBI and /usr on an embedded/external mmc card. Is this reason good enough?

Reproducible: Always
Comment 1 grey dot 2013-09-23 08:49:00 UTC
Created attachment 359288 [details]
ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-23 12:18:05 UTC
Comment on attachment 359288 [details]
ebuild

--- watchdog-5.13-r1.ebuild     2013-09-23 14:17:15.171886504 +0200
+++ -   2013-09-23 14:17:55.176345321 +0200
@@ -24,7 +24,7 @@
                append-cppflags $(${PKG_CONFIG} libtirpc --cflags)
                export LIBS+=" $(${PKG_CONFIG} libtirpc --libs)"
        fi
-       econf $(use_enable nfs)
+       econf --sbindir=/sbin $(use_enable nfs)
 }
 
 src_install() {
Comment 3 William Hubbs gentoo-dev 2013-09-26 17:10:42 UTC
Based on the council's decision in the 24-Sep meeting and the news item
that is going out on 27-Sep, I would recommend closing this as wontfix.
Comment 4 grey dot 2013-09-27 09:06:42 UTC
(In reply to William Hubbs from comment #3)
> Based on the council's decision in the 24-Sep meeting and the news item
> that is going out on 27-Sep, I would recommend closing this as wontfix.

Could you be more specific, Mr. Hubbs?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-09-27 09:23:19 UTC
(In reply to grey dot from comment #4)
> (In reply to William Hubbs from comment #3)
> > Based on the council's decision in the 24-Sep meeting and the news item
> > that is going out on 27-Sep, I would recommend closing this as wontfix.
> 
> Could you be more specific, Mr. Hubbs?

If you need separate /usr, then you should use initramfs that mounts the /usr early so it's available for the rest of boot process
That's what the council voted for

However it's up to package maintainers if they want to support it by other means, like moving this binary in /sbin is still doable but the maintainer now has legimate reasons for refusing such request if he wants
Comment 6 SpanKY gentoo-dev 2013-10-15 19:53:19 UTC
busybox provides a watchdog and lives in / if you really want one