Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 640240

Summary: sys-apps/portage: Build failure when setting suid bit on files with seatbelt sandbox
Product: Gentoo/Alt Reporter: Michael Weiser <michael>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
URL: https://trac.macports.org/ticket/54963
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix macOS 10.13 seatbelt sandbox suid bit setting

Description Michael Weiser 2017-12-08 10:12:11 UTC
macOS 10.13 has changed the defaults for the seatbelt sandbox. This denies setting of suid and sgid bits on files by default. The sandbox profile needs to be adjusted

Reproducible: Always
Comment 1 Michael Weiser 2017-12-08 10:13:33 UTC
Created attachment 508782 [details, diff]
Fix macOS 10.13 seatbelt sandbox suid bit setting

Patch against today's HEAD of branch prefix of https://github.com/gentoo/portage.git.
Comment 2 Fabian Groffen gentoo-dev 2017-12-12 08:14:18 UTC
thanks, pushed, will appear in next release
Comment 3 Larry the Git Cow gentoo-dev 2017-12-12 09:14:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f4d7438d093f5263ba07e229377ed8002f08506f

commit f4d7438d093f5263ba07e229377ed8002f08506f
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2017-12-12 09:13:44 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2017-12-12 09:14:06 +0000

    sys-apps/portage: version bump to 2.3.18, includes seatbelt fix for High Sierra
    
    Bug: https://bugs.gentoo.org/640240
    Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6

 sys-apps/portage/Manifest                            |  2 +-
 .../{portage-2.3.11.ebuild => portage-2.3.18.ebuild} | 20 ++++++++++++++------
 2 files changed, 15 insertions(+), 7 deletions(-)}
Comment 4 Fabian Groffen gentoo-dev 2017-12-12 09:14:36 UTC
in 2.3.18
Comment 5 Michael Weiser 2017-12-12 10:24:40 UTC
Just upgraded. Change is there and works like a charm. Thanks!