Red Hat Bugzilla – Bug 86596
2.0b1 release is missing the synth auxilary
Last modified: 2007-04-18 12:52:19 EDT
The 2.0b1 release does not appear to contain the linux synth auxilary code. It
should probably live under tools/libexec.
All the sources for the I/O auxiliary are included in the release, e.g. in
packages/hal/synth/arch/v2_0b1/host, but currently we do not provide prebuilt
binaries.The main problem is that some of the binaries, e.g. rawether, need
to be installed suid root. That does not fit in with the tarball distribution
mechanism which we are still using for 2.0. Instead in due course we'll need
to switch to e.g. RPM's, either instead of or in addition to tarballs.That was
not possible in the 2.0 time frame, but hopefully this area can be sorted out
RPMs aren't particularly a solution to this... we could fix this just as well
using tarballs. The only "solution" RPMs have is that they _require_ people to
be root to install, which tarballs don't. This isn't an advantage!
tar should be able to preserve the suid if its unpacked as root.
I don't see this being a big issue. Its clearly documented that it has to run as
root and you explain the risks. What happens if its not run as root? Is the
error message clear?
I think the other parts of the auxilary are sufficiently useful that they should
be in 2.0 in binary for if possible.
The key point is "if the tarball is unpacked as root". A requirement, set by
the release manager, is that tarballs can be unpacked by ordinary users in e.g.
their home directories. That allows students and the like to install eCos
without having to involve their sysadmins. I am not entirely convinced by this
policy. but never the less it is a restriction we have to abide by for now.
So we could ship the binaries in theory (although that involves changing the
release scripts which John may not be happy with at this stage), but we cannot
assume that the unpacked binaries are owned by root and suid. Hence they may
not work. It might be sufficient to detect insufficient privileges and give
appropriate warnings, but right now that doesn't happen and would require yet
Once you start installing as root, you should use proper package management
and allow people to easily upgrade and uninstall. Hence RPM's rather than
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=86596