touch /etc/rc.d/rc.local
(cat /usr/bin/setxkbmap -model pc104 -layout gb)
trying to kludge kb layout on boot
chmod 660
chmod +x
reboot
systemctl status rc-local.service
rc-local.service - /etc/rc.d/rc.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static)
Active: failed (Result: exit-code) since Mon, 17 Sep 2012 10:36:30
+0100; 1min 7s ago
Process: 1234 ExecStart=/etc/rc.d/rc.local start (code=exited,
status=203/EXEC)
CGroup: name=systemd:/system/rc-local.service
cat /var/log/messages | grep rc.local
Sep 17 10:07:28 test07 dbus-daemon[657]: dbus[657]: [system] Rejected
send message, 2 matched rules; type="method_call", sender=":1.36"
(uid=1005 pid=1686 comm="systemctl enable rc-local.service ")
interface="org.freedesktop.systemd1.Manager" member="EnableUnitFiles"
error name="(unset)" requested_reply="0"
destination="org.freedesktop.systemd1" (uid=0 pid=1
comm="/usr/lib/systemd/systemd ")
Sep 17 10:07:28 test07 dbus[657]: [system] Rejected send message, 2
matched rules; type="method_call", sender=":1.36" (uid=1005 pid=1686
comm="systemctl enable rc-local.service ")
interface="org.freedesktop.systemd1.Manager" member="EnableUnitFiles"
error name="(unset)" requested_reply="0"
destination="org.freedesktop.systemd1" (uid=0 pid=1
comm="/usr/lib/systemd/systemd ")
Sep 17 10:08:08 test07 systemd[1705]: Failed at step EXEC spawning
/etc/rc.d/rc.local: No such file or directory
Sep 17 10:08:08 test07 systemd[1]: rc-local.service: control process
exited, code=exited status=203
Sep 17 10:08:09 test07 systemd[1]: Unit rc-local.service entered failed
state.
--
Regards,
Frank
"Jack of all, fubars"
--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test