Wind River Support Network

HomeDefectsLIN7-2892
Fixed

LIN7-2892 : var-volatile-lib.service: non-existent file /sbin/umount

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

Description

Problem Description
======================
Content of var-volatile-lib.service:

(...)
ExecStop=/sbin/umount /var/lib
(...)

The file /sbin/umount doesn't exist.

Expected Behavior
======================
The file /sbin/umount should exist, or this path should be removed from the configuration.

Observed Behavior
======================
The file /sbin/umount doesn't exist.

Logs
======================
root@cedar_trail-1:/lib/systemd/system# cat var-volatile-lib.service
[Unit]
Description=Bind mount volatile /var/lib
DefaultDependencies=false
Before=local-fs.target systemd-random-seed.service
RequiresMountsFor=/var/volatile /var
ConditionPathIsReadWrite=/var/volatile
ConditionPathExists=/var/lib
ConditionPathIsReadWrite=!/var/lib

[Service]
Type=oneshot
RemainAfterExit=Yes
StandardOutput=syslog
TimeoutSec=0
ExecStart=/sbin/mount-copybind /var/volatile/lib /var/lib
ExecStop=/sbin/umount /var/lib

[Install]
WantedBy=local-fs.target systemd-random-seed.service

root@cedar_trail-1:/lib/systemd/system# /sbin/umount
-sh: /sbin/umount: No such file or directory

Misc Info
======================
N/A 

Steps to Reproduce

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/var-volatile-lib.service
/sbin/umount 

Other Downloads


Live chat
Online