New issue 20572 by stanl...@chromium.org: Cannot find user 'tcpdump'
http://code.google.com/p/chromium-os/issues/detail?id=20572
Chrome OS Version : 0.16.1037.0
The following error shows when running tcpdump: "Cannot find
user 'tcpdump'".
Running `adduser tcpdump` or using the -Z command line argument with
root/chronos user works but then I get the error message "tcpdump: Couldn't
chroot/chdir to '/var/lib/tcpdump': No such file or directory".
Create directory /var/lib/tcpdump and it works.
Comment #1 on issue 20572 by stanl...@chromium.org: Cannot find
user 'tcpdump'
http://code.google.com/p/chromium-os/issues/detail?id=20572
(No comment was entered for this change.)
10/11 21:24:28 ERROR|base_utils:0113| [stderr] tcpdump: Couldn't find
user 'tcpdump'
Commit: 44b0bf7c0b8f1c8dc82e08b59c77bbc09e467cfa
Email: slef...@chromium.org
chromiumos-overlay: baselayout: add tcpdump user to passwd
The tcpdump package needs a "tcpdump" user to drop privileges. Since this
package is included only for dev builds it cannot alter the password
file so we reserve/add the user manually here.
BUG=chromium-os:20323, 20572
TEST=build an image and check the contents of /etc/passwd; run tcpdump as
root and note it doesn't complain "Couldn't find user tcpdump"
Change-Id: Iaf5fa4ee34df7f77edb327afaff1e70c58ba4bf2
Reviewed-on: http://gerrit.chromium.org/gerrit/9902
Reviewed-by: Mike Frysinger <vap...@chromium.org>
Commit-Ready: Sam Leffler <slef...@chromium.org>
Tested-by: Sam Leffler <slef...@chromium.org>
D sys-apps/baselayout/baselayout-2.0.1-r223.ebuild
A sys-apps/baselayout/baselayout-2.0.1-r224.ebuild