Tiny Core Linux
Tiny Core Base => Corepure64 => Topic started by: tinycorelinux on November 23, 2020, 07:44:10 AM
-
Every time the system starts up, the following error messages will be displayed, and these error messages will be automatically entered as the login information, so the first login will almost always fail. Is there a way to eliminate these misinformation?
# This message will be displayed at least five times each time
udevd[180]: unknown key 'RUN{program}' in /etc/udev/rules.d/73-seat-late.rules: 17
# This message will be displayed at least two times each time
[drm: 0xffffffffa0249888] *ERROR* CPU pipe A FIFO underrun
-
Hi ONE
Try the following:
mkdir elog
cd elog
# Download the file attached to this post into this directory
chmod 644 73-seat-late.rules
chown tc:staff 73-seat-late.rules
cp /etc/sysconfig/tcedir/optional/elogind.tcz .
tce-load -wil squashfs-tools.tcz
unsquashfs -d elogind elogind.tcz
rm elogind.tcz
cp 73-seat-late.rules elogind/usr/local/share/elogind/files/
mksquashfs elogind elogind.tcz
cp elogind.tcz /etc/sysconfig/tcedir/optional/
Reboot and see if the unknown key messages are gone.
Rational:
The old linux die manual shows no option for RUN:
RUN
Add a program to the list of programs to be executed for a specific device. This can only be used for very short running tasks. Running an event process for a long period of time may block all further events for this or a dependent device. Long running tasks need to be immediately detached from the event process itself. If the option RUN{fail_event_on_error} is specified, and the executed program returns non-zero, the event will be marked as failed for a possible later handling.
The fail_event_on_error option was removed in version 174 (our current version).
Found here:
https://linux.die.net/man/7/udev
The documentation at freedesktop states:
RUN{type}
Specify a program to be executed after processing of all the rules for the event. With "+=", this invocation is added to the list, and with "=" or ":=", it replaces any previous contents of the list. Please note that both "program" and "builtin" types described below use a single list, so clearing the list with ":=" and "=" affects both types.
type may be:
"program"
Execute an external program specified as the assigned value. If no absolute path is given, the program is expected to live in /usr/lib/udev; otherwise, the absolute path must be specified.
This is the default if no type is specified.
"builtin"
As program, but use one of the built-in programs rather than an external one.
Found here:
https://www.freedesktop.org/software/systemd/man/udev.html#RUN%7Btype%7D
Since one doesn't use it, and the other defaults to it, removing {program} from the command should be safe.
-
Hmm. The first problem was solved after I directly deleted the 'RUN{program}' code from the file as you said.
-
Hi ONE
Since you didn't use the attachment I provided, I don't know what you did. It sounds like you removed the entire RUN
command. That is not what I said. I said remove {program}.
That meant change this:
TAG=="uaccess", ENV{MAJOR}!="", RUN{program}+="/usr/local/lib/elogind/elogind-uaccess-command %N $env{ID_SEAT}"to this:
TAG=="uaccess", ENV{MAJOR}!="", RUN+="/usr/local/lib/elogind/elogind-uaccess-command %N $env{ID_SEAT}"
-
Hi ONE
Since you didn't use the attachment I provided
Sorry, My eyes are not good. I didn't see the attachment you provided at first. When you mentioned it again, I only saw it with great effort.
-
Hi ONE
I updated the extension with the fix. To update your extensions:
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-updateThen click the Exit icon and select reboot.
-
Hi ONE
I updated the extension with the fix. To update your extensions:
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-updateThen click the Exit icon and select reboot.
Thanks you, Rich!