Skip to content

shadow-native fix for useradd

Scott Garman openembedded-core 1 version Applied

Status from this message: Merged into OE-Core

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1shadow-native: fix creation of home directoriesmeta/recipes-extended/shadow/files/add_root_cmd_options.patch+98 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] shadow-native fix for useradd

Pseudo was recently changed so that when system() calls are made after a chroot(), the host binaries can no longer be found, breaking the system("mkdir -p") approach when useradd creates home directories.

Instead, use mkdir(2) to create home directories with a helper function to ensure parent directories get created.

This is a prerequisite fix needed for my useradd.bbclass changes (still pending until I address some of Richard's comments from this morning).

The following changes since commit a4f3e006e1f2fd93f156012af2a05adccf41d065:

u-boot-mkimage: bump version to 2011.03 (2011-06-28 17:13:19 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/mkdir-p-fix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/mkdir-p-fix

Scott Garman (1):
shadow-native: fix creation of home directories

 .../shadow/files/add_root_cmd_options.patch        |  125 +++++++++++++++----
 1 files changed, 98 insertions(+), 27 deletions(-)