Issue 20572 in chromium-os: Cannot find user 'tcpdump'

791 views
Skip to first unread message

chrom...@googlecode.com

unread,
Sep 19, 2011, 12:46:05 PM9/19/11
to chromium...@chromium.org
Status: Untriaged
Owner: slef...@chromium.org
Labels: Type-Bug Pri-2 Area-Network Sev-2

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.

chrom...@googlecode.com

unread,
Sep 19, 2011, 12:50:08 PM9/19/11
to chromium...@chromium.org
Updates:
Status: Assigned

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.)

chrom...@googlecode.com

unread,
Oct 12, 2011, 2:02:53 AM10/12/11
to chromium...@chromium.org

Comment #3 on issue 20572 by pete...@chromium.org: Cannot find
user 'tcpdump'
http://code.google.com/p/chromium-os/issues/detail?id=20572

10/11 21:24:28 ERROR|base_utils:0113| [stderr] tcpdump: Couldn't find
user 'tcpdump'

in
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/295/steps/VMTest/logs/stdio

chrom...@googlecode.com

unread,
Oct 12, 2011, 2:31:38 PM10/12/11
to chromium...@chromium.org

Comment #4 on issue 20572 by bugdro...@chromium.org: Cannot find
user 'tcpdump'
http://code.google.com/p/chromium-os/issues/detail?id=20572#c4

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

chrom...@googlecode.com

unread,
Oct 12, 2011, 5:36:25 PM10/12/11
to chromium...@chromium.org
Updates:
Status: Fixed

Comment #5 on issue 20572 by slef...@chromium.org: Cannot find
user 'tcpdump'

Reply all
Reply to author
Forward
0 new messages