Skip to contentSkip to conversation

need opinions from sysadmins on where reiser4progs should install

DISCUSSION Hans Reiser 9 participants 10 messages Nov 13, 2005 – Nov 20, 2005

lore
Share & tools
lore
#0 lore raw

currently it installs mkfs.reiser4 and such in /usr/local/sbin

This is not found by default paths for most roots, and seems unlikely to be where I would want it to go if I was sysadmin.... I would never install mkfs.anything unless I wanted it in /sbin..... but then I am not a professional....

What do the sysadmins on the list think?

Hans

#1 lore raw
Quoted 8 lines · Hans Reiser

currently it installs mkfs.reiser4 and such in /usr/local/sbin

This is not found by default paths for most roots, and seems unlikely to be where I would want it to go if I was sysadmin.... I would never install mkfs.anything unless I wanted it in /sbin..... but then I am not a professional....

What do the sysadmins on the list think?

I am not a sysadmin but I think the current scheme is good. After all the user could have reiser4progs installed by the distribution in /sbin, which would be overridden. If the user really wants to manually install the program to /sbin, he should use the appropriate ./configure options.

Regards,
Petteri Räty

#2 lore raw
In reply to Hans Reiser

re!

I guess that according to LSB it's the only way - to install it into /usr/local/sbin - because it's additional installed software and does not come with default distribution. If reiser4progs is package included in distribution then it should be installed /sbin or /usr/sbin.

that's my opinion - lsb is covering that topic as I know.

gorazd

Quoted 13 lines · Hans Reiser

currently it installs mkfs.reiser4 and such in /usr/local/sbin

This is not found by default paths for most roots, and seems unlikely to be where I would want it to go if I was sysadmin.... I would never install mkfs.anything unless I wanted it in /sbin..... but then I am not a professional....

What do the sysadmins on the list think?

Hans

#3 lore raw
In reply to Hans Reiser

http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES

Quoted 14 lines · Hans Reiser

currently it installs mkfs.reiser4 and such in /usr/local/sbin

This is not found by default paths for most roots, and seems unlikely to be where I would want it to go if I was sysadmin.... I would never install mkfs.anything unless I wanted it in /sbin..... but then I am not a professional....

What do the sysadmins on the list think?

Hans

#4 lore raw
Quoted 20 lines · Clifford Beshers

http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES

Quoted 14 lines · Hans Reiser

currently it installs mkfs.reiser4 and such in /usr/local/sbin

This is not found by default paths for most roots, and seems unlikely to be where I would want it to go if I was sysadmin.... I would never install mkfs.anything unless I wanted it in /sbin..... but then I am not a professional....

What do the sysadmins on the list think?

Hans

well, this says /sbin as I read it. Thanks for the URL Clifford!

#5 lore raw
Quoted 4 lines · Hans Reiser
Quoted 1 line · Clifford Beshers

http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES

well, this says /sbin as I read it. Thanks for the URL Clifford!

The FHS doesn't specify what the default installation prefix for a source tarball should be. That section says that distributions should install certain things in /sbin or /usr/sbin, and that admins who install similar things independently of the distribution should use /usr/local/sbin. Obviously that doesn't work in some cases, but that is what the FHS says: distributions and admins should choose those respective locations, regardless of the package's default.

Since distributions' installations are typically automated and so can easily specify a non-default prefix, source tarballs generally default to /usr/local for the admins. As a result, admins will expect the default to be /usr/local, and they know how to use --prefix=/ if that's what they want. The principles of least surprise and least damage suggest that the default for reiser4progs should be /usr/local, just like every other package, *even if that means the default will rarely be used*.

For myself, I only care that an explicit --prefix is used for every installed file, since I install to a different directory anyway.

paul

#6 lore raw
In reply to Hans Reiser
Quoted 1 line · Hans Reiser

What do the sysadmins on the list think?

Doesn't matter to me, fwiw. If i were to build it manually, i'd run ./configure --prefix=/usr/local. A distribution would use --prefix=/ in its build scripts. /usr/local might be a safer default, so that if someone's installing it from source it would clobber their distro's version by default.

Signature · 2 lines
Tom Vier <[email protected]>
DSA Key ID 0x15741ECE
#7 lore raw
In reply to Hans Reiser
Quoted 7 lines · Hans Reiser

currently it installs mkfs.reiser4 and such in /usr/local/sbin This is not found by default paths for most roots, and seems unlikely to be where I would want it to go if I was sysadmin.... I would never install mkfs.anything unless I wanted it in /sbin..... but then I am not a professional....

What do the sysadmins on the list think?

I am not a sysadmin, but I would think that anyone who's smart enough to compile from source is also smart enough to add /usr/lecal/sbin to their path, or override the defaults.

Also, the Filesystem Hierarchy Standard (FHS) wants locally-build software to go into /usr/local.

Signature · 4 lines
Hubert Chan <[email protected]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.
#8 lore raw
In reply to Hans Reiser

Hello Hans,

On Sat, 12 Nov 2005 23:17:37 -0800
Hans Reiser <[email protected]> wrote:

  | What do the sysadmins on the list think?
  | 
  | Hans

Personally, for Reiserfs V3, i always compiled reiserfsprogs statically and installed the tools in /sbin.

Mainly because, we used to have /usr on a separate partition on all server installs.

So should a crash occur and /usr becomes corrupted, well, at least / is mounted and i could reiserfsck partitions right away, handy when the server is several thousand kilometers away :)

I expect to do the same for reiser4progs, so i wish that reiser4progs utilities would install in /, and as such /sbin seems the best choice _to me_

Thanks

Philippe

PS: I hope that Santa will bring me a brand new kernel.org kernel with reiser4 in :)
Good luck with that, and congratulations to you and the whole team for such a nice filesystem

#9 lore raw
Quoted 5 lines · Philippe Gramoullé

So should a crash occur and /usr becomes corrupted, well, at least / is mounted and i could reiserfsck partitions right away, handy when the server is several thousand kilometers away :)

I expect to do the same for reiser4progs, so i wish that reiser4progs utilities would install in /, and as such /sbin seems the best choice _to me_

When I run make install on something and haven't specified a prefix on configure, I expect /usr/local to be used. If I wanted /, I'd have specified that on configure time. If it installed in / by default, it would, often, hit the "sacred package-system managed area" of the VFS tree annoying people like me to a very great extend, so please don't.