On Mon, Nov 28, 2011 at 17:29, Pandu Poluan <pa...@poluan.info> wrote: > >> (2) When starting D-BUS system messages: "Use of the opts variable >> is deprecated & will be removed in the future. Please see extra_commands >> or extra_started_commands". >> >> I've looked in the obvious places in /etc , but see nothing relevant. >> Can anyone explain what these messages mean ? >> > > The relevant initscript in /etc/init.d is still using opts="..." line. > > The newer way is to put the words in opts="..." into > extra_commands="..." or extra_started_commands="..." (both parameters > described in man runscript) > > You *can* edit the offending initscript, but it should be the > package's maintainers' responsibility to revise the initscript and > release a new revision. > > (That said, a new revision *might* have been released, but still > unstable "~arch". Just wait awhile -- say one or two months -- and > update to the fixed new revision). >
I have to emphasize that YOU SHOULD NOT EDIT THE INITSCRIPT YOURSELF. The warning is just that: a warning. Keep your system up-to-date, and the warning will sooner or later go away (when the relevant package has been updated by the maintainer). To see which files still use "opts", enter: grep "^[[:space:]]*opts=" /etc/init.d/* | cut -d : -f 1 | grep -v "\\.sh$" And to see which packages use the offending initscript: grep "^[[:space:]]*opts=" /etc/init.d/* | cut -d : -f 1 | grep -v "\\.sh$" | xargs qfile -CSq | uniq (Both command snippets taken from this post in f.g.o : http://forums.gentoo.org/viewtopic-p-6850360.html#6850360 ) Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan