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

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



Package: lintian
Version: 2.17.0
Severity: wishlist

(inspired by #658374)

Dear Maintainer,

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"

Please add classification tag, that distinguish these cases. After that,
minority behaviour could be marked with minor severity tag, so
eventually all init.d scripts behave consistently.

Well, there is init-d-script(5) framework, that addresses many
consistency issues, but many init.d scripts do not use it. Converting
them is much more work then fixing one line in existing scripts.

No patch today, sorry.

Attachment: pgppBldd6_8yP.pgp
Description: PGP signature


Reply to: