You are not logged in.
Just curious where is source of this message?
I do not find it at /var/log
Action 'stop' is meaningless for this init script ... (warning)
Previously
-i am disable and remove Apparmor
-change Slim to LightDM
root@home:/home/freeartist-devuan# rc-status --servicelist
umountroot [ started ]
umountfs [ started ]
mountkernfs.sh [ started ]
eudev [ started ]
mountdevsubfs.sh [ started ]
bootlogd [ started ]
hostname.sh [ started ]
keyboard-setup.sh [ started ]
checkroot.sh [ started ]
checkfs.sh [ started ]
checkroot-bootclean.sh [ started ]
mountall.sh [ started ]
mountall-bootclean.sh [ started ]
pulseaudio-enable-autospawn [ started ]
hwclock.sh [ started ]
urandom [ started ]
procps [ started ]
networking [ started ]
mountnfs.sh [ started ]
mountnfs-bootclean.sh [ started ]
umountnfs.sh [ started ]
rsyslog [ started ]
gpm [ started ]
sendsigs [ stopped ]
acpid [ started ]
dbus [ started ]
avahi-daemon [ started ]
x11-common [ started ]
lightdm [ started ]
anacron [ started ]
bootlogs [ started ]
console-setup.sh [ started ]
cron [ started ]
cups [ started ]
cups-browsed [ started ]
elogind [ started ]
network-manager [ started ]
openvpn [ started ]
osspd [ started ]
pcscd [ started ]
sudo [ started ]
rmnologin [ started ]
saned [ started ]
slim [ started ]
tor [ started ]
stop-bootlogd [ started ]
kmod [ started ]
savecache [ stopped ]
bootmisc.sh [ started ]
killprocs [ stopped ]
speech-dispatcher [ stopped ]
alsa-utils [ started ]
stop-bootlogd-single [ started ]
lm-sensors [ started ]
agetty [ stopped ]
reboot [ stopped ]
mount-configfs [ started ]
cgroups [ started ]
brightness [ started ]
single [ stopped ]
halt [ stopped ]
rc.local [ started ]
root@home:/home/freeartist-devuan#
root@home:/home/freeartist-devuan# rc-update
acpid | default
alsa-utils | sysinit
anacron | default
avahi-daemon | default
bootlogd | sysinit
bootlogs | default recovery
bootmisc.sh | sysinit
brightness | sysinit
cgroups | sysinit
checkfs.sh | sysinit
checkroot-bootclean.sh | sysinit
checkroot.sh | sysinit
console-setup.sh | default
cron | default
cups | default
cups-browsed | default
dbus | default
elogind | default
eudev | sysinit
gpm | default
hostname.sh | sysinit
hwclock.sh | sysinit
keyboard-setup.sh | sysinit
killprocs | recovery
kmod | sysinit
lightdm | default
lm-sensors | sysinit
mount-configfs | sysinit
mountall-bootclean.sh | sysinit
mountall.sh | sysinit
mountdevsubfs.sh | sysinit
mountkernfs.sh | sysinit
mountnfs-bootclean.sh | sysinit
mountnfs.sh | sysinit
network-manager | default
networking | sysinit
openvpn | default
osspd | default
pcscd | default
procps | sysinit
pulseaudio-enable-autospawn | default
rc.local | default
rmnologin | default
rsyslog | default
saned | default
savecache | off
sendsigs | off
single | recovery
slim | default
stop-bootlogd | default
stop-bootlogd-single | sysinit
sudo | default
tor | default
umountfs | off
umountnfs.sh | off
umountroot | off
urandom | sysinit
x11-common | sysinit
root@home:/home/freeartist-devuan#
Last edited by deepforest (2024-01-31 06:57:42)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
@deepforest
I don’t know anything about OpenRC, but in my opinion there is something superfluous here
Running services
lightdm | default
slim | default
Last edited by aluma (2024-01-31 09:56:03)
Offline
That's right, it makes sense to remove the slim package after switching to lightdm (which I recommend anyway).
For the shutdown warning message, I have that one too, I just ignore it. It's not an error.
Another service that makes no sense to me is anacron, since it mostly holds up the shutdown process. Cron is installed by default and it serves my needs well.
I just disabled it:
sudo rc-update delete anacron
Removing apparmor can be sensible too, if you install applications foreign to the specific distribution.
BTW I use OpenRC and I'm very happy with it.
I hope it helps a bit. Greetings.
Offline
I don’t know anything about OpenRC, but in my opinion there is something superfluous here
Running services
Yes, i am try several variants, disable, stop, enable, slim all the same warning.
Also i do not know why slim is enabled if i do dpkg-reconfigure and select lightdm default dm?
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
For the shutdown warning message, I have that one too, I just ignore it. It's not an error.
Thanks, yes, it just warning, but previously i have no this message. Curious where can be source of this warning? I cant find it at logs.
Removing apparmor can be sensible too, if you install applications foreign to the specific distribution.
So this warning can be shown after removing apparmor? How resolve this?
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
i cant google warning message, but here Bard answer about it
https://bard.google.com/share/87cbfc7ddb5a
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
@deepforest
the message in question comes from this init script: /etc/init.d/kmod
This script is not started by OpenRC in my system, but other scripts call it. (eudev, mount-configfs)
I wouldn't worry about the message, it's not related to slim or apparmor.
To remove slim:
$ sudo apt remove slim
Good luck!
Offline
I agree with Andre4freedom. I also get an error message that a service has no stop. But it does not affect the general operation of my 'stable' system.
I also use open-rc but with sddm with kde5/plasma.
I also turn off all services I do not want to start at boot, like mail, printing, brail and other accessibility apps, like speak and screen-readers..
The bleeding edge is exciting, I used to live there too.
pic from 1993, new guitar day.
Offline
@Andre4freedom
@GlennW
Thanks for reply)
I wouldn't worry about the message, it's not related to slim or apparmor
Revert back to slim from lightdm,
now shutdown log looks bit different than with lightdm, and no any warnings, thanks
Last edited by deepforest (2024-02-01 20:37:07)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
But why i cant find
Action 'stop' is meaningless for this init script ... (warning)
at any logs?
May be this message is related to lightdm? Where i can find ldm shutdown logs?
Why usung lightdm shutdown screen log looks different than slim log?
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
.xsession-errors?
P.S. I apologize, it was extremely inconvenient to type the text.
Look at this file in your home folder. Usually there is a log manager there, at least in my Trinity.
Last edited by aluma (2024-02-02 11:51:35)
Offline
i have seen in .xsession-errors but not find this warning
is there command for parsing all system logs to find this warning?
Last edited by deepforest (2024-02-04 03:17:37)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
is there command for parsing all system logs to find this warning?
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.
Or is it time to learn
https://www.howtogeek.com/496056/how-to … -on-linux/
Offline
When does the Action 'stop' is meaningless for this init script ... (warning) message come out?
If it appears on screen while you are booting or shutting down what messages appear before and after it.
On my (old) system cd /etc/init.d/ and grep meaningless * returned:
kmod: log_warning_msg "Action '$1' is meaningless for this init script"
So looking in /etc/init.d/kmod might help. But do check as above to see if any other script could be generating it.
Offline
@chris2be8
Thanks for helpful reply! I here have same as you. And what next?
freeartist-devuan@home:/etc/init.d$ grep meaningless *
kmod: log_warning_msg "Action '$1' is meaningless for this init script"
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$
What is kmod?
And why i see this warning only at lightdm but no at slim?
Action 'stop' is meaningless for this init script ... (warning)
Last edited by deepforest (2024-02-05 16:44:50)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
Exactly when does that message come out? Is it when you boot the system, log on, log off or shut it down?
less /etc/init.d/kmod should tell you what kmod is (unless all the comments are missing).
Try this:
ls -l /etc/rc?.d/*kmod*
lrwxrwxrwx 1 root root 14 May 9 2018 /etc/rcS.d/S09kmod -> ../init.d/kmod
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).
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.
Offline
@deepforest
What is kmod?...
It turns out somehow undignified and uninteresting.
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.
Maybe start with this? But, of course, you know better...
Offline
Hi, here are MY most frequently used message lookups...
cat /home/glenn/.xsession-errors | grep -i "(EE)\|(??)|fail \|segfault"
cat /var/log/Xorg.0.log | grep -i "(WW)\|(EE)\|(??)"
cat /var/log/syslog | tail
you may use the same lookups with dmesg, and swap the filtering around to search for a match of what your looking for.
I also have sys-type logs sent to tty11 & tty12 so I can easily switch to those consoles and see if anything has changed.
I hope this gives you some tips to work with.
all the best, GlennW (aka, GlennsPref)
Last edited by GlennW (2024-02-05 21:45:54)
pic from 1993, new guitar day.
Offline
You don't need to use cat for any of those commands. Try:
grep -i "(EE)\|(??)|fail \|segfault" /home/glenn/.xsession-errors
grep -i "(WW)\|(EE)\|(??)" /var/log/Xorg.0.log
tail /var/log/syslog
Which should get you the same results, but slightly faster.
Offline
Exactly when does that message come out? Is it when you boot the system, log on, log off or shut it down?
less /etc/init.d/kmod should tell you what kmod is (unless all the comments are missing).
Try this:
ls -l /etc/rc?.d/*kmod* lrwxrwxrwx 1 root root 14 May 9 2018 /etc/rcS.d/S09kmod -> ../init.d/kmod
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).
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.
Thanks, yes source of warning is string at /etc/init.d/kmod
Action '$1' is meaningless for this init script
freeartist-devuan@home:~$ ls -l /etc/rc?.d/ | grep kmod
lrwxrwxrwx 1 root root 14 Aug 18 23:11 S09kmod -> ../init.d/kmod
freeartist-devuan@home:~$ grep meaningless /etc/rc?.d/*
/etc/rcS.d/S09kmod: log_warning_msg "Action '$1' is meaningless for this init script"
freeartist-devuan@home:~$
Ok. So i must ignore it? And i see this warning only when use lightdm, using slim i do not see it.
Last edited by deepforest (2024-02-09 12:17:47)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
All I can think of is looking in /etc/rc.local (that gets called at the end of each runlevel, but normally does nothing).
Apart from that I've run out of ideas for what could be calling kmod. So I'd suggest ignoring the message, the script doesn't do anything when called with the stop parameter.
Offline
@chris2be8
Thanks you for investigation MrPoirot
Something found here
etc/init.d/rc.local
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
#! /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
[ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
/etc/rc.local
ES=$?
[ "$VERBOSE" != no ] && log_end_msg $ES
return $ES
fi
}
do_stop() {
if [ -x /etc/rc.shutdown ]; then
[ "$VERBOSE" != no ] && log_begin_msg "Running local shutdown scripts (/etc/rc.shutdown)"
/etc/rc.shutdown
ES=$?
[ "$VERBOSE" != no ] && log_end_msg $ES
return $ES
fi
}
case "$1" in
start)
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
status)
# No-op
exit 0
;;
stop)
do_stop
exit 0
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac
Last edited by deepforest (2024-02-10 19:10:01)
-=linux its buggy crap that have no antifool protection (c)=-
*linux is free software, and comes with ABSOLUTELY NO WARRANTY*
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+
Offline
@deepforest
Action 'stop' is meaningless for this init script ... (warning)
This is the reaction of the kmod service to an attempt by some other service (program) to stop it.
Kmod is a service for loading kernel modules, and stopping it on a running machine is pointless.
Perhaps there is confusion with the pid of the processes, perhaps something else.
Forget this matter...
Regards.
Offline