[Bug 1938886] Re: rrr:no dh_strip or strip loose setuid bit
Launchpad Bug Tracker
1938886 at bugs.launchpad.net
Thu Aug 5 17:29:51 UTC 2021
This bug was fixed in the package debhelper - 13.3.4ubuntu2
---------------
debhelper (13.3.4ubuntu2) impish; urgency=medium
* objcopy/strip changed in 2.36.1, not keeping file attributes of the
original file. Work around that in dh_strip to write to a temporary
file, copying attributes, cat'ing this to the original file, copying
attributes again to keep the original attributes. LP: #1938886
-- Dimitri John Ledkov <dimitri.ledkov at canonical.com> Wed, 04 Aug 2021
19:23:25 +0100
** Changed in: debhelper (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1938886
Title:
rrr:no dh_strip or strip loose setuid bit
Status in bash package in Ubuntu:
Invalid
Status in binutils package in Ubuntu:
New
Status in dash package in Ubuntu:
Invalid
Status in debhelper package in Ubuntu:
Fix Released
Status in debugedit package in Ubuntu:
Invalid
Status in linux package in Ubuntu:
Invalid
Status in virtualbox package in Ubuntu:
New
Bug description:
Over at https://launchpadlibrarian.net/550715513/buildlog_ubuntu-
hirsute-amd64.virtualbox_6.1.22-dfsg-2~ubuntu1.21.04.2_BUILDING.txt.gz
I have rebuilt an earlier version of virtualbox, that sets Rules-
Requires-Root: no and added extra ls statements to find where/when/why
setuid bits are getting lost after fixperms.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_strip
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ls -latr debian/virtualbox/usr/lib/virtualbox/VBoxSDL
-rwsr-sr-x 1 buildd buildd 406808 Jul 29 14:34 debian/virtualbox/usr/lib/virtualbox/VBoxSDL
...
dh_strip --dbgsym-migration='virtualbox-dbg'
debugedit: debian/virtualbox/usr/lib/virtualbox/VBoxSDL.so: Unknown DWARF DW_FORM_0x1f20
a7cf3c43c8b18c3261d2d4737a475bf730ad1554
ls -latr debian/virtualbox/usr/lib/virtualbox/VBoxSDL
-rwxr-xr-x 1 buildd buildd 166208 Jul 29 14:35 debian/virtualbox/usr/lib/virtualbox/VBoxSDL
It seems to me that either dh_strip or something it calls (strip,
debugedit) looses the setuid permission in hirsute and up.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1938886/+subscriptions
More information about the foundations-bugs
mailing list