sudo: Add directory "/var/lib" during do_install_prepend
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | sudo: Add directory "/var/lib" to sudo.inc in the stage of do_install_prependmeta/ | +4 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] sudo: Add directory "/var/lib" during do_install_prepend
From: Xiaofeng Yan <[email protected]>
Hi Saul & Mark,
I submit this patch to fix [YOCTO #1092].
LSB Test Suite check access permission of directory "/var/lib". The current access permission is "0700". This is because:
$(SHELL) $(srcdir)/mkinstalldirs -m 0700 $(DESTDIR)$(timedir)
and the timedir=/var/lib/sudo
but if /var/lib doesn't exist, the mkinstalldirs would create it and set the mode to 0700 recursively, so all of the /var, /var/lib and /var/lib/sudo would be set to 0700, but what sudo needs is only set /var/lib/sudo to 0700.
So LSB Test Suite recognizes it as a bug. Other images including sudo could have no this problem because after installing sudo package other package operate on directory "/var/lib" but for lsb image sudo package is the last package which operate on directory "/var/lib"
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/sudo
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/sudo
Thanks,
Xiaofeng Yan <[email protected]>
---
Xiaofeng Yan (1):
sudo: Add directory "/var/lib" to sudo.inc in the stage of
do_install_prepend
meta/recipes-extended/sudo/sudo.inc | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)