<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-extended/shadow/files, branch edison</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=edison</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=edison'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2012-01-30T16:37:59+00:00</updated>
<entry>
<title>Fix the --root option in shadow-native programs</title>
<updated>2012-01-30T16:37:59+00:00</updated>
<author>
<name>Julian Pidancet</name>
<email>julian.pidancet@gmail.com</email>
</author>
<published>2011-10-07T00:13:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ab81049f37ca9161eb99d20ae7b3d888d9ec35b2'/>
<id>urn:sha1:ab81049f37ca9161eb99d20ae7b3d888d9ec35b2</id>
<content type='text'>
The add_root_cmd_options.patch that we apply to shadow-native allow the
various programs from the shadow utility package to chroot() so they can
be used to modify etc/passwd and etc/group if they are located in a
sysroot.

Some of the shadow programs (gpasswd, useradd and usermod) need to parse
the command line in two passes. But we can't use getopt_long() twice
because getopt_long() reorders the command line arguments, and
consequently corrupts the option parsing during the second pass.

This patch fixes this issue by replacing the first pass by a very simple
manual walk of the command line to handle the --root argument.

This change is a patch of another patch, I apologize if it is
difficult to read. But IMHO it wouldn't make sense to put the patch for
this issue in another separated file.

The --root options in groupadd and useradd are needed to make the
useradd class work, and this issue was preventing to use useradd and
groupadd long options while using the class.

(From OE-Core rev: 6e9e19b18597103d8fe09f258cfd9904bb5f1c27)

(From OE-Core rev: 533d99f28fab73503ed3ebaee63aaaeb23ad2a1c)

Signed-off-by: Julian Pidancet &lt;julian.pidancet@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow: add patch for useradd lossage</title>
<updated>2011-09-09T17:42:55+00:00</updated>
<author>
<name>Phil Blundell</name>
<email>philb@gnu.org</email>
</author>
<published>2011-09-07T12:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=acf62d33d0e3b11b39c242e557cc2d43dbf47adb'/>
<id>urn:sha1:acf62d33d0e3b11b39c242e557cc2d43dbf47adb</id>
<content type='text'>
This fixes (or, at least, papers over) a failure in do_install for recipes which
inherit useradd.bbclass.  Rewinding optind in this way is not entirely portable
but in practice it seems to work on GNU-ish build hosts at least.

(From OE-Core rev: 8fce8180c802ad187c4df44c17207bfb026ce6c7)

Signed-off-by: Phil Blundell &lt;philb@gnu.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow: update pam related configure files</title>
<updated>2011-07-27T11:02:42+00:00</updated>
<author>
<name>Kang Kai</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2011-07-20T11:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7772a8893db25ab87025844a473f97ae56ddf170'/>
<id>urn:sha1:7772a8893db25ab87025844a473f97ae56ddf170</id>
<content type='text'>
add shadow-update-pam-conf.patch to update the pam related configure files
in oe way rather than Fedora.

(From OE-Core rev: 10e6fdd7e8fed5733f65a504148bba54bccb3c48)

Signed-off-by: Kang Kai &lt;kai.kang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow-native: fix creation of home directories</title>
<updated>2011-06-30T19:57:07+00:00</updated>
<author>
<name>Scott Garman</name>
<email>scott.a.garman@intel.com</email>
</author>
<published>2011-06-28T22:15:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5c7d37c51cb14c7758fdd04018321222070a0bf7'/>
<id>urn:sha1:5c7d37c51cb14c7758fdd04018321222070a0bf7</id>
<content type='text'>
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.

(From OE-Core rev: 7d4099a964ec79b1ac4cf5348cf9f4221c3d4908)

Signed-off-by: Scott Garman &lt;scott.a.garman@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow-sysroot: new recipe for useradd.bbclass support</title>
<updated>2011-06-28T12:55:40+00:00</updated>
<author>
<name>Scott Garman</name>
<email>scott.a.garman@intel.com</email>
</author>
<published>2011-06-21T00:11:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c82a1b111dfb988a2a64a263ddd7fb482f67c80f'/>
<id>urn:sha1:c82a1b111dfb988a2a64a263ddd7fb482f67c80f</id>
<content type='text'>
Packaging login.defs with base-passwd causes problems due to the
file being included in target package installs. Instead, this
shadow-sysroot recipe can be used by useradd.bbclass to put
login.defs into the target sysroot without disturbing packages
intended for target devices.

(From OE-Core rev: 6cbf741d73070759ecb9a284e6511c63d945f7c1)

Signed-off-by: Scott Garman &lt;scott.a.garman@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow: add a -native recipe with customized utilities</title>
<updated>2011-06-06T14:58:41+00:00</updated>
<author>
<name>Scott Garman</name>
<email>scott.a.garman@intel.com</email>
</author>
<published>2011-05-10T06:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=20ef3425b2788407ac53dff5403c6c10a58bab7f'/>
<id>urn:sha1:20ef3425b2788407ac53dff5403c6c10a58bab7f</id>
<content type='text'>
This adds a -native recipe for the shadow utilities.

The custom --root option allows the the following utilities to be
run within a chroot when invoked under pseudo:

* useradd
* groupadd
* usermod
* groupmod
* userdel
* groupdel
* passwd
* gpasswd
* pwconv
* pwunconv
* grpconv
* grpunconv

They can then be used to manipulate user and group account information
in target sysroots.

useradd was also modified to create home directories recursively when
necessary.

(From OE-Core rev: 37b8c18a3c2f3e77a9810a56a8ee786855ae1ba3)

Signed-off-by: Scott Garman &lt;scott.a.garman@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow: recipe and patch cleanup</title>
<updated>2011-06-06T14:58:41+00:00</updated>
<author>
<name>Scott Garman</name>
<email>scott.a.garman@intel.com</email>
</author>
<published>2011-06-03T17:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=109aa5c860fa5ba453e2add8fc18096774a40e39'/>
<id>urn:sha1:109aa5c860fa5ba453e2add8fc18096774a40e39</id>
<content type='text'>
Taking over maintenance of the shadow recipe. Cleaning it up in
preparation of adding a -native version that will be used to add
users/groups during preinstall.

(From OE-Core rev: 254ca8c1667b8d35914555714239a09bfb4f43be)

Signed-off-by: Scott Garman &lt;scott.a.garman@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow: remove selinux entry from pam.d/login</title>
<updated>2011-06-02T13:55:54+00:00</updated>
<author>
<name>Koen Kooi</name>
<email>koen@dominion.thruhere.net</email>
</author>
<published>2011-05-31T18:33:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=08bac9fb256ebb0b538b0550040f340af539bafe'/>
<id>urn:sha1:08bac9fb256ebb0b538b0550040f340af539bafe</id>
<content type='text'>
SElinux has been disabled in the recipe, leading to messages like this:

[  167.643218] login[312]: PAM unable to dlopen(/lib/security/pam_selinux.so): /lib/security/pam_selinux.so: cannot open shared object file: No such file or directory
[  167.670837] login[312]: PAM adding faulty module: /lib/security/pam_selinux.so

(From OE-Core rev: b90e9c2318fc421f37c57788ece54ce791a90b62)

Signed-off-by: Koen Kooi &lt;koen@dominion.thruhere.net&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>shadow: upgrade to 4.1.4.3 to fix security vulnerability</title>
<updated>2011-03-01T15:27:31+00:00</updated>
<author>
<name>Yu Ke</name>
<email>ke.yu@intel.com</email>
</author>
<published>2011-02-28T11:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f3a482b47678819b4a91bb58810c7bc6ef9e6f3e'/>
<id>urn:sha1:f3a482b47678819b4a91bb58810c7bc6ef9e6f3e</id>
<content type='text'>
For CVE-2011-0721: http://lists.debian.org/debian-security-announce/2011/msg00030.html

Signed-off-by: Yu Ke &lt;ke.yu@intel.com&gt;
</content>
</entry>
</feed>
