newpid - run a command in a new PID namespace

Property Value
Distribution Ubuntu 19.04 (Disco Dingo)
Repository Ubuntu Universe amd64
Package filename newpid_10_amd64.deb
Package name newpid
Package version 10
Package release -
Package architecture amd64
Package type deb
Category universe/utils
Homepage -
License -
Maintainer Ubuntu Developers <>
Download size 10.79 KB
Installed size 34.00 KB
newpid is a simple suid wrapper around clone(CLONE_NEWPID) that launches a
command in a new PID namespace. Optionally it can also use CLONE_NEWNET to
request a new network namespace.


Package Version Architecture Repository
newpid_10_i386.deb 10 i386 Ubuntu Universe
newpid - - -


Name Value
libc6 >= 2.14
libcap2-bin -


Type URL
Binary Package newpid_10_amd64.deb
Source Package newpid

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install newpid deb package:
    # sudo apt-get install newpid




2019-02-18 - Christoph Berg <>
newpid (10) unstable; urgency=medium
* newnet.pod: Fix typo "netpid".
2018-01-09 - Christoph Berg <>
newpid (9) unstable; urgency=medium
[ James Clarke ]
* Use __clone2 on ia64 as it has no clone.
[ Christoph Berg ]
* Bump to DH 11.
2017-05-01 - Christoph Berg <>
newpid (8) unstable; urgency=medium
* If setcap fails (because the filesystem or namespace lacks support for
capabilities), fall back to setuid, so the installation doesn't fail.
Thanks to Adam Conrad for the patch! Closes: #860031
* newpid: More verbose usage output.
* newnet: Guard arguments with --.
* README: Note required kernel and glibc version.
* Bump Standards-Version.
2015-12-23 - Christoph Berg <>
newpid (7) unstable; urgency=medium
* Add support for joining network namespaces (newpid -N).
2015-10-10 - Christoph Berg <>
newpid (6) unstable; urgency=medium
* Add support for CLONE_NEWIPC and CLONE_NEWUTS (newpid -iu), and have
newnet use it.
2015-09-30 - Christoph Berg <>
newpid (5) unstable; urgency=medium
* newpid -n uses CLONE_NEWNET to start a new network namespace.
* Add "newnet" wrapper for "newpid -n".
* Use setcap "CAP_SYS_ADMIN,CAP_NET_ADMIN=pe" /usr/bin/newpid.
* Change license to GPL2+.
2014-03-12 - Christoph Berg <>
newpid (4) unstable; urgency=medium
* Make /proc a slave mount as suggested by Lennart Poettering.
2014-03-10 - Christoph Berg <>
newpid (3) unstable; urgency=medium
* Remount /proc to be private so it doesn't break when running under systemd.
Patch by Michael Stapelberg, thanks! (See #739593)
* Use Arch: linux-any.
2014-01-16 - Christoph Berg <>
newpid (2) unstable; urgency=low
* Add autopkgtest.
* Enable build hardening.
* Ignore errors on umount("/proc"), it could be busy.
* Add manpage.
2013-01-21 - Christoph Berg <>
newpid (1) UNRELEASED; urgency=low
* Initial release.

See Also

Package Description
newrole_2.8-1_amd64.deb SELinux core policy utilities (newrole application for RBAC/MLS)
newsbeuter_2.9-8_amd64.deb text mode rss feed reader with podcast support
newsboat_2.13-1_amd64.deb text mode rss feed reader with podcast support
newt-tcl_0.52.20-6ubuntu2_amd64.deb NEWT module for Tcl
nextcloud-desktop-cmd_2.5.1-2_amd64.deb folder synchronization with an Nextcloud server - cmd client
nextcloud-desktop-common_2.5.1-2_all.deb Nextcloud folder synchronization - common data
nextcloud-desktop-doc_2.5.1-2_all.deb Nextcloud folder synchronization - documentation
nextcloud-desktop-l10n_2.5.1-2_all.deb Nextcloud folder synchronization - localization
nextcloud-desktop_2.5.1-2_amd64.deb Nextcloud folder synchronization tool
nextepc-core_0.3.10+nods-2_amd64.deb Evolved Packet Core for LTE (Shared Files)
nextepc-hss_0.3.10+nods-2_amd64.deb Evolved Packet Core - Home Subscriber Server (HSS)
nextepc-mme_0.3.10+nods-2_amd64.deb Evolved Packet Core - Mobility Management Entity (MME)
nextepc-pcrf_0.3.10+nods-2_amd64.deb Evolved Packet Core - Policy and Charging Rules Function (PCRF)
nextepc-pgw_0.3.10+nods-2_amd64.deb Evolved Packet Core - Packet Data Network Gateway (PDN-GW)
nextepc-sgw_0.3.10+nods-2_amd64.deb Evolved Packet Core - Serving Gateway (SGW)