On Sat, Mar 15, 2008 at 8:53 PM, DJ Lucas <[EMAIL PROTECTED]> wrote:
> Okay, perhaps I'm just being dense since I don't use the old bootscripts
>  anymore, but wouldn't this simple change solve our ills with the samba
>  script and others?  I mean, they seem to run correctly with the new
>  pidofproc, which should be more transparent as to how they work, but
>  this seems the best, IMO, to avoid a big change in the current scripts.
>   And as a side effect, we get a cool little change from yellow WARN to
>  green OK on screen. :-)  For those affected, can you create a backup and
>  give this change a try and test?  Works for samba and stale pids, or is
>  that not the only issue to work around WRT to improper PIDFILE handling?
>
>  --- lfs/init.d/functions        (revision 8496)
>  +++ lfs/init.d/functions        (working copy)
>  @@ -567,8 +567,8 @@
>                                 return 0 # 4
>                                 ;;
>                         1)
>  -                               log_warning_msg "Unable to continue: 
> ${pidfile} exists"
>  -                               return 0 # 4
>  +                                rm -f "${pidfile}"
>  +                               log_warning_msg "removed invalid ${pidfile}"
>                                 ;;

I missed this, but yeah, that's part of what I posted on LFS #2160.

http://wiki.linuxfromscratch.org/lfs/ticket/2160

The problem is, for BLFS-6.3, we have to rely on the bootscripts from
LFS-6.3, which have this bug.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to