Bug 1168126 - different build result with preinstall images
Summary: different build result with preinstall images
Status: RESOLVED DUPLICATE of bug 1159963
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Dominique Leuenberger
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1081754
  Show dependency treegraph
 
Reported: 2020-03-31 03:54 UTC by Bernhard Wiedemann
Modified: 2020-11-19 07:51 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2020-03-31 03:54:20 UTC
While working on reproducible builds for openSUSE, I found
an interesting edge case where my local verification build
of the Factory avfs package differed from the official builds
because mine are done without preinstall images
while the official builds are done with them.

This is because the .spec file calls help2man
which calls avfsd that tries to call /usr/bin/fusermount --version

But in the preinstall image that has 4750 permissions,
so is not executable.

In the non-preinstallimage case, after installing the fuse package
there is one line
setting /usr/bin/fusermount to root:trusted 4755. (wrong permissions 4750)

from
/usr/share/permissions/permissions.easy:/usr/bin/fusermount root:trusted 4755
So it is now executable at build time and therefore adds an extra line
to the avfsd.1 man-page:
+fusermount version: 2.9.8

also to add to the confusion, after the non-preinstall build finished,
/usr/bin/fusermount had 4750 permissions again for some unknown reason.

Is there any way to make both behave the same?

Maybe having in /etc/sysconfig/security
PERMISSION_SECURITY="secure local"
before fuse gets installed...
Comment 1 Fabian Vogt 2020-11-19 07:23:03 UTC
That might be fixed with bug 1159963 already, can you check again?
Comment 2 Bernhard Wiedemann 2020-11-19 07:44:59 UTC
I verified it on Archiving/avfs (Factory binary was still from August)

*** This bug has been marked as a duplicate of bug 1159963 ***
Comment 3 Fabian Vogt 2020-11-19 07:51:53 UTC
(In reply to Bernhard Wiedemann from comment #2)
> I verified it on Archiving/avfs (Factory binary was still from August)

Note that it builds against openSUSE:Factory/snapshot, so doesn't have any preinstall images.

> *** This bug has been marked as a duplicate of bug 1159963 ***