Menu

#506 init script tries to remove log dir

All
open
5
2002-06-13
2002-06-07
No

When I start webmin with ťservice webmin startŤ
(/etc/init.d/webmin start), the init script tries to
remove the directory /var/run/webmin/diffs. However,
it seems to do a ťrm -f /var/run/webmin/diffsŤ and thus
I get an error message telling me, that this is a
directory.

However, I think it's an error in the first place that
webmin tries to remove that directory. I want to keep
the logs, and that's also what I've set in the log
configuration (see
http://host.homelinux.org/~askwar/Shot/logging.png\).

I've noticed this since about 0.94 and am currently
using webmin 0.970. I'm using the package made by
Mandrake Linux (webmin-0.970-1mdk).

Discussion

  • Jamie Cameron

    Jamie Cameron - 2002-06-08
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2002-06-08

    Logged In: YES
    user_id=129364

    This is really a bug in the Mandrake version of webmin, which is
    slightly different to the official release. The official
    version does not
    remove that directory until the log-clearing time is up.

     
  • Alexander Skwar

    Alexander Skwar - 2002-06-13
    • status: closed --> open
     
  • Alexander Skwar

    Alexander Skwar - 2002-06-13

    Logged In: YES
    user_id=1428

    No, this is not a Mandrake problem. I mailed the maintainer
    of the package at Mandrake Soft (Guillaume Cottenceau
    <gc@mandrakesoft.com>) and he says that he doesn't change
    anything in the way webmin starts. The init script is just
    calling /etc/webmin/start, which is nothing more than:

    #!/bin/sh
    echo Starting Webmin server in /usr/share/webmin
    trap '' 1
    exec /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf

    Further, the problem only exists when I boot. Doing
    /etc/init.d/webmin start doesn't show any error message
    (also no error when running /etc/webmin/start).

    Also the problem still exists in 980.

    Changing status to Open again.

     
  • Jamie Cameron

    Jamie Cameron - 2002-06-14

    Logged In: YES
    user_id=129364

    I had a look at the mandrake RPM of webmin, and it doesn't
    remove
    those files in the startup script. The only time it does is
    if the
    'Clear logfiles every' option is set in the Logging page,
    which sets
    the logclear=1 option in /etc/webmin/config . Are either of
    those set
    on your system? I couldn't access the screen-shot image you
    mentioned below ..

     

Log in to post a comment.

Auth0 Logo