<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=6391&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6391</link>
		<description><![CDATA[The most recent posts in [SOLVED] OpenRC warning during screen log at rebooting or turning off pc.]]></description>
		<lastBuildDate>Sat, 10 Feb 2024 22:50:08 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=48045#p48045</link>
			<description><![CDATA[<p>@deepforest</p><div class="quotebox"><blockquote><div><p>Action &#039;stop&#039; is meaningless for this init script ... (warning)</p></div></blockquote></div><p>This is the reaction of the kmod service to an attempt by some other service (program) to stop it.<br />Kmod is a service for loading kernel modules, and stopping it on a running machine is pointless. <br />Perhaps there is confusion with the pid of the processes, perhaps something else. <br />Forget this matter...</p><p> Regards.</p>]]></description>
			<author><![CDATA[dummy@example.com (aluma)]]></author>
			<pubDate>Sat, 10 Feb 2024 22:50:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=48045#p48045</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=48038#p48038</link>
			<description><![CDATA[<p>@chris2be8<br />Thanks you for investigation MrPoirot </p><p>Something found here<br /><span class="bbc">etc/init.d/rc.local</span><br /><span class="bbc"> restart|reload|force-reload)<br />&#160; &#160; &#160; &#160;<strong> echo &quot;Error: argument &#039;$1&#039; not supported&quot;</strong> &gt;&amp;2<br />&#160; &#160; &#160; &#160; exit 3</span></p><div class="codebox"><pre class="vscroll"><code>#! /bin/sh
### BEGIN INIT INFO
# Provides:          rc.local
# Required-Start:    $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Run /etc/rc.local if it exist
### END INIT INFO

PATH=/usr/sbin:/usr/bin:/sbin:/bin

. /lib/init/vars.sh
. /lib/lsb/init-functions

do_start() {
        if [ -x /etc/rc.local ]; then
                [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_begin_msg &quot;Running local boot scripts (/etc/rc.local)&quot;
                /etc/rc.local
                ES=$?
                [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_end_msg $ES
                return $ES
        fi
}

do_stop() {
        if [ -x /etc/rc.shutdown ]; then
                [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_begin_msg &quot;Running local shutdown scripts (/etc/rc.shutdown)&quot;
                /etc/rc.shutdown
                ES=$?
                [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_end_msg $ES
                return $ES
        fi
}

case &quot;$1&quot; in
    start)
        do_start
        ;;
    restart|reload|force-reload)
        echo &quot;Error: argument &#039;$1&#039; not supported&quot; &gt;&amp;2
        exit 3
        ;;
    status)
        # No-op
        exit 0
        ;;
    stop)
        do_stop
        exit 0
        ;;
    *)
        echo &quot;Usage: $0 start|stop&quot; &gt;&amp;2
        exit 3
        ;;
esac</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Sat, 10 Feb 2024 19:08:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=48038#p48038</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47991#p47991</link>
			<description><![CDATA[<p>All I can think of is looking in /etc/rc.local (that gets called at the end of each runlevel, but normally does nothing).</p><p>Apart from that I&#039;ve run out of ideas for what could be calling kmod. So I&#039;d suggest ignoring the message, the script doesn&#039;t do anything when called with the stop parameter.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Fri, 09 Feb 2024 17:01:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47991#p47991</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47976#p47976</link>
			<description><![CDATA[<div class="quotebox"><cite>chris2be8 wrote:</cite><blockquote><div><p>Exactly when does that message come out? Is it when you boot the system, log on, log off or shut it down?</p><p>less /etc/init.d/kmod should tell you what kmod is (unless all the comments are missing).</p><p>Try this:</p><div class="codebox"><pre><code>ls -l /etc/rc?.d/*kmod*
lrwxrwxrwx 1 root root 14 May  9  2018 /etc/rcS.d/S09kmod -&gt; ../init.d/kmod</code></pre></div><p>You should get only 1 line, a symlink that tells the OS to run kmod start when bringing the system up. I suspect you have a stop link somewhere (it will be probably named something like K09kmod).</p><p>For belt and braces try ls -l /etc/rc?.d/ | grep kmod which searches the destination of the symlink. If still stuck grep meaningless /etc/rc?.d/* in case there is a stray copy of kmod somewhere.</p></div></blockquote></div><p>Thanks, yes source of warning is string at <span class="bbc">/etc/init.d/kmod</span><br /><span class="bbc">Action &#039;$1&#039; is meaningless for this init script</span></p><div class="codebox"><pre><code>freeartist-devuan@home:~$ ls -l /etc/rc?.d/ | grep kmod
lrwxrwxrwx 1 root root 14 Aug 18 23:11 S09kmod -&gt; ../init.d/kmod
freeartist-devuan@home:~$ grep meaningless /etc/rc?.d/*
/etc/rcS.d/S09kmod:  log_warning_msg &quot;Action &#039;$1&#039; is meaningless for this init script&quot;
freeartist-devuan@home:~$ </code></pre></div><p>Ok. So i must ignore it? And i see this warning only when use lightdm, using slim i do not see it.</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Fri, 09 Feb 2024 12:17:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47976#p47976</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47911#p47911</link>
			<description><![CDATA[<p>You don&#039;t need to use <span class="bbc">cat</span> for any of those commands. Try:</p><div class="codebox"><pre><code>grep -i &quot;(EE)\|(??)|fail \|segfault&quot; /home/glenn/.xsession-errors
grep -i &quot;(WW)\|(EE)\|(??)&quot; /var/log/Xorg.0.log
tail /var/log/syslog </code></pre></div><p>Which should get you the same results, but slightly faster.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Tue, 06 Feb 2024 17:09:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47911#p47911</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47895#p47895</link>
			<description><![CDATA[<p>Hi, here are MY most frequently used message lookups...</p><div class="codebox"><pre><code>cat /home/glenn/.xsession-errors | grep -i &quot;(EE)\|(??)|fail \|segfault&quot;
cat /var/log/Xorg.0.log | grep -i &quot;(WW)\|(EE)\|(??)&quot;
cat /var/log/syslog | tail</code></pre></div><p>you may use the same lookups with dmesg,&#160; and swap the filtering around to search for a match of what your looking for.</p><p>I also have sys-type logs sent to tty11 &amp; tty12 so I can easily switch to those consoles and see if anything has changed. </p><p>I hope this gives you some tips to work with.</p><p>all the best, GlennW (aka, GlennsPref)</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Mon, 05 Feb 2024 21:45:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47895#p47895</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47894#p47894</link>
			<description><![CDATA[<p>@deepforest</p><div class="quotebox"><blockquote><div><p>What is kmod?...</p></div></blockquote></div><p>It turns out somehow undignified and uninteresting.<br />If you delve into initialization systems, then at least you need to have a complete understanding of how it works, what kind of scripts and links they are.<br />Maybe start with this? But, of course, you know better...</p>]]></description>
			<author><![CDATA[dummy@example.com (aluma)]]></author>
			<pubDate>Mon, 05 Feb 2024 18:58:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47894#p47894</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47891#p47891</link>
			<description><![CDATA[<p>Exactly when does that message come out? Is it when you boot the system, log on, log off or shut it down?</p><p><span class="bbc">less /etc/init.d/kmod</span> should tell you what kmod is (unless all the comments are missing).</p><p>Try this:</p><div class="codebox"><pre><code>ls -l /etc/rc?.d/*kmod*
lrwxrwxrwx 1 root root 14 May  9  2018 /etc/rcS.d/S09kmod -&gt; ../init.d/kmod</code></pre></div><p>You should get only 1 line, a symlink that tells the OS to run kmod start when bringing the system up. I suspect you have a stop link somewhere (it will be probably named something like K09kmod).</p><p>For belt and braces try <span class="bbc">ls -l /etc/rc?.d/ | grep kmod</span> which searches the destination of the symlink. If still stuck <span class="bbc">grep meaningless /etc/rc?.d/*</span> in case there is a stray copy of kmod somewhere.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Mon, 05 Feb 2024 17:06:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47891#p47891</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47890#p47890</link>
			<description><![CDATA[<p>@chris2be8<br />Thanks for helpful reply! I here have same as you. And what next?</p><div class="codebox"><pre><code>freeartist-devuan@home:/etc/init.d$ grep meaningless *
kmod:  log_warning_msg &quot;Action &#039;$1&#039; is meaningless for this init script&quot;
freeartist-devuan@home:/etc/init.d$ ./kmod
Usage: ./kmod start.

freeartist-devuan@home:/etc/init.d$ ./kmod start
Loading kernel module lp.
Loading kernel module ppdev.
Loading kernel module parport_pc.
Loading kernel module cuse.
freeartist-devuan@home:/etc/init.d$ </code></pre></div><p>What is kmod?<br />And why i see this warning only at lightdm but no at slim?<br /><span class="bbc">Action &#039;stop&#039; is meaningless for this init script ... (warning)</span></p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Mon, 05 Feb 2024 16:37:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47890#p47890</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47875#p47875</link>
			<description><![CDATA[<p>When does the <span class="bbc">Action &#039;stop&#039; is meaningless for this init script ... (warning)</span> message come out?<br />If it appears on screen while you are booting or shutting down what messages appear before and after it.<br />On my (old) system <span class="bbc">cd /etc/init.d/</span> and <span class="bbc">grep meaningless *</span> returned:<br />kmod:&#160; log_warning_msg &quot;Action &#039;$1&#039; is meaningless for this init script&quot;</p><p>So looking in /etc/init.d/kmod might help. But do check as above to see if any other script could be generating it.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sun, 04 Feb 2024 17:18:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47875#p47875</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47867#p47867</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>is there command for parsing all system logs to find this warning?</p></div></blockquote></div><p>The log is a regular text file; any editor will find what you are looking for. Some DEs have utilities for viewing system files, the only benefit they provide is that the root password must be entered once to view all of them.</p><p> Or is it time to learn<br /><a href="https://www.howtogeek.com/496056/how-to-use-the-grep-command-on-linux/" rel="nofollow">https://www.howtogeek.com/496056/how-to … -on-linux/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (aluma)]]></author>
			<pubDate>Sun, 04 Feb 2024 12:17:53 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47867#p47867</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47866#p47866</link>
			<description><![CDATA[<p>i have seen in .xsession-errors but not find this warning<br />is there command for parsing all system logs to find this warning?</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Sun, 04 Feb 2024 03:15:06 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47866#p47866</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47824#p47824</link>
			<description><![CDATA[<p>.xsession-errors?</p><p>P.S. I apologize, it was extremely inconvenient to type the text.<br />Look at this file in your home folder. Usually there is a log manager there, at least in my Trinity.</p>]]></description>
			<author><![CDATA[dummy@example.com (aluma)]]></author>
			<pubDate>Thu, 01 Feb 2024 20:48:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47824#p47824</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47823#p47823</link>
			<description><![CDATA[<p>But why i cant find<br /><span class="bbc">Action &#039;stop&#039; is meaningless for this init script ... (warning)</span><br />at any logs?<br />May be this message is related to lightdm? Where i can find ldm shutdown logs?<br />Why usung lightdm shutdown screen log looks different than slim log?</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Thu, 01 Feb 2024 20:42:17 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47823#p47823</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] OpenRC warning during screen log at rebooting or turning off pc]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=47822#p47822</link>
			<description><![CDATA[<p>@Andre4freedom<br />@GlennW<br />Thanks for reply)</p><div class="quotebox"><blockquote><div><p>I wouldn&#039;t worry about the message, it&#039;s not related to slim or apparmor</p></div></blockquote></div><p>Revert back to slim from lightdm,<br />now shutdown log looks bit different than with lightdm, and no any warnings, thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Thu, 01 Feb 2024 20:33:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=47822#p47822</guid>
		</item>
	</channel>
</rss>
