Fixed
Created: Feb 6, 2015
Updated: Sep 8, 2018
Resolved Date: Mar 15, 2015
Found In Version: 7.0
Fix Version: 7.0.0.4
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace
Problem Description
======================
Content of debug-shell.service:
(...)
ExecStart=/sbin/sushell
(...)
The file /sbin/sushell doesn't exist.
Expected Behavior
======================
The file /sbin/sushell should exist, or this path should be removed from the configuration.
Observed Behavior
======================
The file /sbin/sushell doesn't exist.
Logs
======================
root@cedar_trail-1:/lib/systemd/system# cat debug-shell.service
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Early root shell on /dev/tty9 FOR DEBUGGING ONLY
Documentation=man:sushell(8)
DefaultDependencies=no
IgnoreOnIsolate=yes
ConditionPathExists=/dev/tty9
[Service]
Environment=TERM=linux
ExecStart=/sbin/sushell
Restart=always
RestartSec=0
StandardInput=tty
TTYPath=/dev/tty9
TTYReset=yes
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
# bash ignores SIGTERM
KillSignal=SIGHUP
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
[Install]
WantedBy=sysinit.target
root@cedar_trail-1:/lib/systemd/system# /sbin/sushell
-sh: /sbin/sushell: No such file or directory
Misc Info
======================
N/A
1) wrlinux-x/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl
2) make && (..boot up the image..)
3)
cat /lib/systemd/system/debug-shell.service
/sbin/sushell