Skip to contentSkip to conversation

Fix can not stop systemd service var-volatile-lib

PATCH In review Kai Kang 2 participants 5 messages Jul 6, 2015 – Jul 20, 2015

lore
Share & tools
lore

Kai Kang

author
#0 lore raw

cover Fix can not stop systemd service var-volatile-lib

The following changes since commit 8ad9a434c9fd0300cf5c38c368b181b78421e95a:

bitbake: tests/data: Add new data tests (2015-07-01 15:40:21 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib kangkai/volatile-binds
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=kangkai/volatile-binds

Kai Kang (1):
volatile-binds: correct path of command umount

 meta/recipes-core/volatile-binds/volatile-binds.bb | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 volatile-binds: correct path of command umount

It calls /sbin/umount to stop service var-volatile-lib. But umount is installed into directory /bin. Correct it.

---
 meta/recipes-core/volatile-binds/volatile-binds.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/volatile-binds/volatile-binds.bb +1 -0
index fee7275..7a3e45a 100644
@@ -54,6 +54,7 @@ END
         # after the volatile /var/lib is mounted.
         sed -i -e "/^Before=/s/\$/ systemd-random-seed.service/" \
                -e "/^WantedBy=/s/\$/ systemd-random-seed.service/" \
+               -e "/^ExecStop=/s/sbin/bin/" \
                var-volatile-lib.service
     fi
 }
Signature · 1 line
1.9.1
#2 lore raw

Re: [PATCH 1/1] volatile-binds: correct path of command umount

Quoted 2 lines · Kai Kang

+ -e "/^ExecStop=/s/sbin/bin/" \

Should't that be something like ${bindir}?

Ross

author
#3 lore raw

Re: [PATCH 1/1] volatile-binds: correct path of command umount

Quoted 7 lines · Ross

On 6 July 2015 at 02:59, Kai Kang <[email protected] <mailto:[email protected]>> wrote:

+ -e "/^ExecStop=/s/sbin/bin/" \

Should't that be something like ${bindir}?

Thanks. I'll update it.

--Kai

Quoted 2 lines

Ross

Signature · 2 lines
Regards,
Neil | Kai Kang
author
#4 lore raw
In reply to Kai Kang
Quoted 11 lines · Kai Kang

The following changes since commit 8ad9a434c9fd0300cf5c38c368b181b78421e95a:

   bitbake: tests/data: Add new data tests (2015-07-01 15:40:21 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib kangkai/volatile-binds
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=kangkai/volatile-binds

Kai Kang (1):
volatile-binds: correct path of command umount

Ping?

Quoted 4 lines
  meta/recipes-core/volatile-binds/volatile-binds.bb | 1 +
  1 file changed, 1 insertion(+)
Signature · 2 lines
Regards,
Neil | Kai Kang