Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes
please let me know if you need help fixing this issue (i.e. moving installation under /sbin). some packages (e.g. statsmodels) still FTBFS due to it and imho this is the logical way to resolve it. Best regards, -- Yaroslav O. Halchenko Postdoctoral Fellow, Department of Psychological and Brain Sciences Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes
On Fri, Jun 29, 2012 at 09:22:25PM +0200, Robert Millan wrote: What's the reason for putting it in /sbin? It's and admin program that can be used before remote filesystems are mounted. I suspect the program is in that package because the freebsd /proc emulation is a little sad, to say the least. Actually proc is unrelated here (on kFreeBSD, sysctl doesn't rely on proc). That's another way of putting it. While the Linux sysctl needs proc, the kFreeBSD ones doesn't or shouldn't or can't (doesn't matter which, it is) -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes
2012/6/26 Craig Small csm...@debian.org: reassign 679128 freebsd-utils thankyou On Tue, Jun 26, 2012 at 10:43:17AM -0400, Yaroslav Halchenko wrote: is there any specific reason or could it be shipped under /sbin/ ? Ask the freebsd-utils people, after all it is their program and not mine. What's the reason for putting it in /sbin? I suspect the program is in that package because the freebsd /proc emulation is a little sad, to say the least. Actually proc is unrelated here (on kFreeBSD, sysctl doesn't rely on proc). -- Robert Millan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes
On Fri, 29 Jun 2012, Robert Millan wrote: reassign 679128 freebsd-utils thankyou On Tue, Jun 26, 2012 at 10:43:17AM -0400, Yaroslav Halchenko wrote: is there any specific reason or could it be shipped under /sbin/ ? Ask the freebsd-utils people, after all it is their program and not mine. What's the reason for putting it in /sbin? hm 1. because that is where it is on Linux systems 2. because that is where it is on BSD systems (according to logic in Python source code... since I have no access to BSD systems) 3. because even its manpage is .8 ;-) 4. because majority of the packages (besides freebsd-* ones) look for it under {/usr,}/sbin not bin/ see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679128#24 more? ... ;) -- Yaroslav O. Halchenko Postdoctoral Fellow, Department of Psychological and Brain Sciences Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes
I have done some checks for what paths are used to reach sysctl The only other package assuming [^s]bin/sysctl is: http://www.onerussian.com/tmp/egrep-nosbin_sysctl.log /srv/ftp.debian.org/mirror/pool/main/f/freebsd-buildutils/freebsd-buildutils_9.0-11_kfreebsd-i386.deb:Binary file (standard input) matches /srv/ftp.debian.org/mirror/pool/main/f/freebsd-buildutils/freebsd-buildutils_9.0-11_kfreebsd-amd64.deb:Binary file (standard input) matches while the others (if I search for bin/sysctl) /sbin/sysctl or actually some exclusively /usr/sbin/sysctl (thus worth of imho closer look/reports, and that is why kept Craig in CC) http://www.onerussian.com/tmp/egrep-bin_sysctl.log the scripts I used to generate lists happen some needs them http://www.onerussian.com/tmp/egrep-bin_sysctl.sh http://www.onerussian.com/tmp/egrep-nosbin_sysctl.sh Cheers, -- Yaroslav O. Halchenko Postdoctoral Fellow, Department of Psychological and Brain Sciences Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes
Package: procps Version: 1:3.2.8-11 Severity: important Since I have not got any feedback on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648061#65 I am still not sure if this difference is intended or just an omission. sysctl is shipped under /sbin on Linux-based installations but for some reason under /bin on kfreebsd. That now requires every package relying on sysctl to become kernel-aware, e.g. patching python2.7 source to use /bin/sysctl in few places. procps's debian/rules seems to explicitly remove it from /sbin/: ifneq ($(DEB_HOST_ARCH_OS), linux) rm -f \ $(DEBROOT)/usr/bin/slabtop \ $(DEBROOT)/usr/share/man/man1/slabtop.1 \ $(DEBROOT)/sbin/sysctl \ $(DEBROOT)/usr/share/man/man8/sysctl.8 \ $(DEBROOT)/usr/share/man/man5/sysctl.conf.5 \ $(NULL) endif is there any specific reason or could it be shipped under /sbin/ ? Please advise. If it could be shipped under /sbin/ then 648061 should be force-merged into this one. If not -- wontfix tag I guess and remain in the chronicles, while I would NMU the patch for #648061. Cheers, -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages procps depends on: ii initscripts 2.88dsf-13.11 ii libc6 2.13-18 ii libncurses5 5.9-1 ii libncursesw5 5.9-1 ii lsb-base 3.2-28 Versions of packages procps recommends: ii psmisc 22.13-1 procps suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes
On Wed, 27 Jun 2012, Craig Small wrote: is there any specific reason or could it be shipped under /sbin/ ? Ask the freebsd-utils people, after all it is their program and not mine. indeed: debian/freebsd-utils.install:debian/local/scripts/bin/sysctl/bin debian/freebsd-utils.manpages:sbin/sysctl/sysctl.8 debian/freebsd-utils-udeb.install:sbin/sysctl/sysctl/bin .8 itself suggests /sbin isn't it? ;) dpkg -S `which sysctl` would of told you where sysctl comes from. d'oh -- sad part that I have done that but on non-kfreebsd systems, e.g.: $ dpkg -S `which sysctl` procps: /sbin/sysctl and then I saw in procps's debian/rules explicit removal of /sbin/sysctl so I just thought that it was for some reason installed under both /bin/ and /sbin/... it was late would be my excuse Alternatively reportbug on the program name would of given the right package too. I could not reportbug on porter boxes due to absent reportbug (tried that) :-P FWIW, procps won't be moving sysctl to /bin (for non-freebsd platforms) And please don't! ;) /sbin/ is the location for it (unless that everything-in-one-bin movement wins) reassign 679128 freebsd-utils thankyou thank you! -- Yaroslav O. Halchenko Postdoctoral Fellow, Department of Psychological and Brain Sciences Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes
reassign 679128 freebsd-utils thankyou On Tue, Jun 26, 2012 at 10:43:17AM -0400, Yaroslav Halchenko wrote: is there any specific reason or could it be shipped under /sbin/ ? Ask the freebsd-utils people, after all it is their program and not mine. I suspect the program is in that package because the freebsd /proc emulation is a little sad, to say the least. dpkg -S `which sysctl` would of told you where sysctl comes from. Alternatively reportbug on the program name would of given the right package too. FWIW, procps won't be moving sysctl to /bin (for non-freebsd platforms) - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org