Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640240 - sys-apps/portage: Build failure when setting suid bit on files with seatbelt sandbox
Summary: sys-apps/portage: Build failure when setting suid bit on files with seatbelt ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: https://trac.macports.org/ticket/54963
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-08 10:12 UTC by Michael Weiser
Modified: 2017-12-12 10:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix macOS 10.13 seatbelt sandbox suid bit setting (0001-Fix-macOS-10.13-seatbelt-sandbox-suid-bit-setting.patch,964 bytes, patch)
2017-12-08 10:13 UTC, Michael Weiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!