#68 User interaction required during configure run

closed-invalid
nobody
None
5
2004-01-02
2004-01-02
Schneelocke
No

Hi,

I'm just in the process of building the latest release
of bogofilter (0.16.0) and noticed that the configure
script required some user interaction shortly after
having been started.

Precisely, just prior to the tests for the various awk
variants, the following was printed on the screen, and
the script stopped until I entered "y" and hit return:

override rw-r--r-- root/schnee for conftest.sed?

where "schnee" is my local username on the box used for
building.

It's not a big deal, and the rest of the configure and
make runs worked flawlessly, but I think it's something
that should be taken care off - I do imagine it could
annoy packagers, for example. :)

Discussion

  • David Relson

    David Relson - 2004-01-02

    Logged In: YES
    user_id=30510

    Schneelocke,

    That's something I've not encountered. Have you been
    changing userids in your build directory? Seeing
    "root/schnee" for "conftest.sed' looks like user/group ids.
    It sounds like a permission issue on your machine. File
    conftest.sed is generally created/destroyed during configure
    and there shouldn't be any id problems like you're reporting.

    David

     
  • Schneelocke

    Schneelocke - 2004-01-02

    Logged In: YES
    user_id=593907

    Dear David,

    I'm sorry, no - this happens with a freshly untarred source
    tree, with no changes in user or group id involved.

    For what it's worth, BTW, versions up to 0.15.13 did not
    exhibit this behaviour. Given that the only change in the
    configure script (apart from the updated version number) is
    the modified check for whether to include deprecated code,
    this is rather strange indeed.

    I'll just try again tomorrow; maybe it was a glitch on my
    machine, unrelated to bogofilter (although I can't image
    what kind of glitch that could have been, either).

    --- Schnee

     
  • Matthias Andree

    Matthias Andree - 2004-01-02

    Logged In: YES
    user_id=2788

    David Relson has obtained further information and analyzed the
    "configure" script a bit more. The incriminated OS is OpenBSD 3.0,
    which is not supported any more, see http://www.openbsd.org/security.
    html.

    Any operating system should be able to

    cat <<_END >file
    one line
    _END
    rm file

    without user interaction. Check if rm or cat are set-uid root, they should
    not.

    I'll close this bug, it's not a bogofilter or inherited autoconf problem in
    any case.

     
  • Matthias Andree

    Matthias Andree - 2004-01-02
    • status: open --> closed-invalid
     
  • Schneelocke

    Schneelocke - 2004-01-02

    Logged In: YES
    user_id=593907

    Matthias,

    while it's probably true that this issue is not directly
    bogofilter's fault, simply stating that OpenBSD 3.0 is an
    old release (which is true) does not actually solve this. As
    noted, bogofilter 0.15.13 works just fine, as has every
    other program I have ever compiled on this particular box;
    for what it's worth, neither /bin/cat nor /bin/rm are suid
    root, either (both have 555 as permissions).

    It'd be interesting to see whether this can be reproduced on
    OpenBSD 3.4 (the current release).

     

Log in to post a comment.