<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/recipes-extended/shadow, branch master</title>
<subtitle>Mirror of openembedded-core</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/'/>
<entry>
<title>util-linux,shadow: Make 'nologin' alternative command</title>
<updated>2017-03-21T22:43:01+00:00</updated>
<author>
<name>Amarnath Valluri</name>
<email>amarnath.valluri@intel.com</email>
</author>
<published>2017-01-24T14:07:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=07d6d0fb4dc689008bb0022d7d2ecc890c9159e5'/>
<id>07d6d0fb4dc689008bb0022d7d2ecc890c9159e5</id>
<content type='text'>
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir}
and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is
enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative
system to resolve the conflict.

Signed-off-by: Amarnath Valluri &lt;amarnath.valluri@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir}
and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is
enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative
system to resolve the conflict.

Signed-off-by: Amarnath Valluri &lt;amarnath.valluri@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shadow: 'useradd' copies root's extended attributes</title>
<updated>2017-03-17T15:37:06+00:00</updated>
<author>
<name>José Bollo</name>
<email>jose.bollo@iot.bzh</email>
</author>
<published>2017-03-13T09:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc'/>
<id>eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc</id>
<content type='text'>
The copy of extended attributes is interesting for
Smack systems because it allows to set the security
template of the user's home directories without
modifying the tools (useradd here). But the version
of useradd that copies the extended attributes doesn't
copy the extended attributes of the root. This can make
use of homes impossible! This patch corrects the issue
by copying the extended attributes of the root directory:
/home/user will get the extended attributes of /etc/skel.

The patch is submitted upstream (see
http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/2017-March/003804.html)

The existing patch specific to open-embedded is updated:
  0001-useradd.c-create-parent-directories-when-necessary.patch

Also, attr are activated for native tools.
This is needed when users are created during image creation.

Signed-off-by: José Bollo &lt;jose.bollo@iot.bzh&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The copy of extended attributes is interesting for
Smack systems because it allows to set the security
template of the user's home directories without
modifying the tools (useradd here). But the version
of useradd that copies the extended attributes doesn't
copy the extended attributes of the root. This can make
use of homes impossible! This patch corrects the issue
by copying the extended attributes of the root directory:
/home/user will get the extended attributes of /etc/skel.

The patch is submitted upstream (see
http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/2017-March/003804.html)

The existing patch specific to open-embedded is updated:
  0001-useradd.c-create-parent-directories-when-necessary.patch

Also, attr are activated for native tools.
This is needed when users are created during image creation.

Signed-off-by: José Bollo &lt;jose.bollo@iot.bzh&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shadow: use config 'attr' if distro has 'xattr'</title>
<updated>2017-03-10T10:15:45+00:00</updated>
<author>
<name>José Bollo</name>
<email>jose.bollo@iot.bzh</email>
</author>
<published>2017-03-07T12:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=860c941741ca57bdc6fdbb67ea3ad94bb8d08c16'/>
<id>860c941741ca57bdc6fdbb67ea3ad94bb8d08c16</id>
<content type='text'>
When DISTRO_FEATURES has 'xattr' the shadow package
now automatically activates its config 'attr'.

Signed-off-by: José Bollo &lt;jose.bollo@iot.bzh&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When DISTRO_FEATURES has 'xattr' the shadow package
now automatically activates its config 'attr'.

Signed-off-by: José Bollo &lt;jose.bollo@iot.bzh&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>recipes: Make use of the new bb.utils.filter() function</title>
<updated>2017-03-01T11:17:22+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2017-02-27T13:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f'/>
<id>0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f</id>
<content type='text'>
Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shadow:  Add PACKAGE_WRITE_DEPS for postinst</title>
<updated>2017-01-19T22:51:08+00:00</updated>
<author>
<name>Jussi Kukkonen</name>
<email>jussi.kukkonen@intel.com</email>
</author>
<published>2017-01-19T08:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=5a59e292d1382ea6858f6ccb532e48a9f1f4bea6'/>
<id>5a59e292d1382ea6858f6ccb532e48a9f1f4bea6</id>
<content type='text'>
pwconv and grpconv are used in the postinstall script.

Signed-off-by: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pwconv and grpconv are used in the postinstall script.

Signed-off-by: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shadow: add nologin.8 to alternatives</title>
<updated>2016-11-06T23:35:17+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2016-11-01T15:06:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=0c1e8e0939b39dcf6ea753b41da5ec9bc6ebb82a'/>
<id>0c1e8e0939b39dcf6ea753b41da5ec9bc6ebb82a</id>
<content type='text'>
This manpage is also shipped in util-linux-doc as an alternative, so it needs to
be managed as an alternative here too.

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This manpage is also shipped in util-linux-doc as an alternative, so it needs to
be managed as an alternative here too.

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shadow: use relaxed usernames</title>
<updated>2016-09-16T14:15:32+00:00</updated>
<author>
<name>Shan Hai</name>
<email>shan.hai@windriver.com</email>
</author>
<published>2016-09-13T05:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=31c6c8150394de067085be5b0058037077860a8a'/>
<id>31c6c8150394de067085be5b0058037077860a8a</id>
<content type='text'>
The groupadd from shadow does not allow upper case group names, the
same is true for the upstream shadow. But distributions like
Debian/Ubuntu/CentOS has their own way to cope with this problem,
this patch is picked up from CentOS release 7.0 to relax the usernames
restrictions to allow the upper case group names, and the relaxation is
POSIX compliant because POSIX indicate that usernames are composed of
characters from the portable filename character set [A-Za-z0-9._-].

Signed-off-by: Shan Hai &lt;shan.hai@windriver.com&gt;
Signed-off-by: Mingli Yu &lt;Mingli.Yu@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The groupadd from shadow does not allow upper case group names, the
same is true for the upstream shadow. But distributions like
Debian/Ubuntu/CentOS has their own way to cope with this problem,
this patch is picked up from CentOS release 7.0 to relax the usernames
restrictions to allow the upper case group names, and the relaxation is
POSIX compliant because POSIX indicate that usernames are composed of
characters from the portable filename character set [A-Za-z0-9._-].

Signed-off-by: Shan Hai &lt;shan.hai@windriver.com&gt;
Signed-off-by: Mingli Yu &lt;Mingli.Yu@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shadow: Fix rootfs creation errors</title>
<updated>2016-05-22T15:09:21+00:00</updated>
<author>
<name>Dai Caiyun</name>
<email>daicy.fnst@cn.fujitsu.com</email>
</author>
<published>2016-02-27T23:03:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=52d3d9e1ab0b510d93c4915baf2a85b9cc949205'/>
<id>52d3d9e1ab0b510d93c4915baf2a85b9cc949205</id>
<content type='text'>
error: file /usr/share/man/man1/su.1 from install of shadow-doc-4.2.1
           conflicts with file from package coreutils-doc-6.9-r5

Signed-off-by: Dai Caiyun &lt;daicy.fnst@cn.fujitsu.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
error: file /usr/share/man/man1/su.1 from install of shadow-doc-4.2.1
           conflicts with file from package coreutils-doc-6.9-r5

Signed-off-by: Dai Caiyun &lt;daicy.fnst@cn.fujitsu.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shadow-sysroot: Use SYSROOT_DIRS to add dirs to stage in sysroot</title>
<updated>2016-05-13T12:40:49+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2016-05-12T08:37:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=196e01cce6d76c72d8e76ad1441c1baed321c939'/>
<id>196e01cce6d76c72d8e76ad1441c1baed321c939</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>shadow: Disable syslog for more commands</title>
<updated>2016-04-15T05:57:47+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2016-04-14T11:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=0791ba7ea82444729a1a7d1b2443f633bcba2002'/>
<id>0791ba7ea82444729a1a7d1b2443f633bcba2002</id>
<content type='text'>
When building shadow-native, syslog was disabled for useradd and
groupadd. This disables it also for groupdel, groupmems, groupmod,
userdel and usermod (i.e., the use of syslog is now disabled for all
commands supported by useradd_base.bbclass).

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When building shadow-native, syslog was disabled for useradd and
groupadd. This disables it also for groupdel, groupmems, groupmod,
userdel and usermod (i.e., the use of syslog is now disabled for all
commands supported by useradd_base.bbclass).

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
