Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119078 - net-dialup/mgetty installs to /usr instead of /
Summary: net-dialup/mgetty installs to /usr instead of /
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 05:12 UTC by Sascha Silbe
Modified: 2006-11-20 12:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2006-01-15 05:12:20 UTC
On my Debian host, I can dial in during bootup to mgetty and maintain the system if it isn't booting correctly.
On Gentoo hosts, mgetty gets installed to /usr, which is not (always) available during boot, so this doesn't work.

It would be great if you could install mgetty to / instead (like Debian does).
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-01-15 10:19:18 UTC
While I do agree /sbin and /bin could host mgetty's executables, I find this locations less suitable locations as /usr/bin & /usr/sbin.
The way I see it, /bin and /sbin should contain really important executables, like those kind of programs that repair broken filesystems, shell command interpreters, basic tools used in shell scripts like sed & awk, etc. I doubt mgetty anyone will qualify mgetty as important for the system's health.
Also, /lib is definitely not a good parent for mgetty+sendfax directory.

Do you keep your /usr on a NFS partition? Why is your /usr unavailable during boot time?
Comment 2 Sascha Silbe 2006-01-16 08:22:58 UTC
> The way I see it, /bin and /sbin should contain really important 
> executables, like those kind of programs that repair broken filesystems, 
> shell command interpreters, basic tools used in shell scripts like sed & awk, etc.
For some of my hosts, mgetty is such a critical executable, because without 
it I cannot reach them if bootup fails anywhere before network setup (no or 
difficult physical access).

I don't need sendfax and all that cruft in /, only the bare minimum to get a 
dial-in line so I can login during bootup.

If you don't want to do it generally, please at least add a USE flag for it.

Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2006-01-16 09:21:13 UTC
http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/

if /usr is on your /-partition, it makes no difference. If not, then the question is: where is your /usr partition? You can copy the mgetty binary to /sbin after the emerge, for your special setup.

nonetheless, can you post the debian-layout of the 'mgetty'-package?
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2006-01-16 14:19:14 UTC
Let me get this straight. You wanna us to install the mgetty executable in /sbin/mgetty and leave the other files as is?
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2006-11-20 11:06:25 UTC
reopen bug - time to fix it, along with bug 155670.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2006-11-20 11:06:42 UTC
reopen bug - time to fix it, along with bug 155670.
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2006-11-20 12:36:10 UTC
Now hopefully I manage to reopen it (sorry for the spam).
Comment 8 Alin Năstac (RETIRED) gentoo-dev 2006-11-20 12:43:31 UTC
Fixed in 1.1.35-r2.
mgetty is installed in /sbin, with the additional symlink /usr/sbin/mgetty (needed for hylafax).