http://bugs.openembedded.org/show_bug.cgi?id=879

           Summary: /usr/bin contains boot-critical binaries
           Product: Openembedded
           Version: OpenZaurus 3.5.4.x
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Distributions
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


In the good old times everything need to get a system into 'S' (single-user)
mode was in /bin, /lib and /etc (and you tried to protect your '/'-partition as
good as possible). Well, nowadays everything is on the '/'-partition so people
no longer seem to care. But ......

there are some strange guys like me who move /usr to another partion (like
/mnt/card) as they don't like to waste the internal memory by having a complete
copy of '/' on /mnt/card and using altboot. And there this problem raises its
ugly head:

The following binaries (mostly links to busybox) are used in boot-scripts that
are executed before mount -a was executed and are located in /usr/bin. That is a
NO-NO (why, see above):
- test (without moving this to /bin one can not even get a shell after booting.
Reinstallation necessary)
- '['
- awk
- cut
- basename
- tail
- dc
- sort
- uniq
- wc
Please either move them to /bin in the next distribution or don't use them in
the boot-scripts. (Alternatively one could move S39sd or even S40hotplug more
early in the boot-sequence as those seem to mount CF and SD partitions. But then
the NFS people will complain and demand the same for S45mountnfs).

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to