[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#935607: lintian: classify "Starting $DESC" in init.d scripts



# marking as moreinfo simply for triage
tags 935607 + moreinfo
thanks

Hi Dmitry,

> some init.d script print description of service they are starting with
> following line:
> 
> 	log_daemon_msg "Starting X display manager" "xdm"
> or
> 	log_action_begin_msg "Starting $DESC"
> 
> The pattern is `"Starting '. Some (minority, I think) do the same, but
> only if $VERBOSE != no, like this:
> 
> 	[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"

Can you describe what is wrong with this? (So we can add it to the
long description at the very least...)

Also, do we need to do this for "stop" or other actions too?

> Please add classification tag, that distinguish these cases. After that,
> minority behaviour could be marked with minor severity tag

Just FYI what we prefer to do here is to mark it as 'experimental' but
the idea is the same (ie. fix false-positives first).


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-


Reply to: