There's a new packmigae format, txz. -m tar -c xz. Tar will preserve those capabilities, cpio will not. Too bad we didn't pick tar to start with back in the day...
-----Original Message----- From: David D. Johnson [mailto:[email protected]] Sent: Monday, April 10, 2017 2:50 PM To: xCAT Users Mailing list Subject: [xcat-user] /usr/bin/ping on diskless lost capabilities rhel7.2 mgt# getcap /usr/bin/ping /usr/bin/ping = cap_net_admin,cap_net_raw+p mgt# ssh compute compute# getcap /usr/bin/ping compute# Somewhere along the line, unpacking the rootimg I would guess, the binary for ping and its friends loses the required privilege / capability to actually function for non-root user. With RH6, ping was setuid, which didn’t get lost at boot time. Anybody have a workaround? Thanks, — ddj Dave Johnson ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
