prereq installer (Makefile.install) has trouble if systems lacks a UID or GID 1000

Bug #1269172 reported by Lebbeous Fogle-Weekley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Low
Unassigned
2.4
Fix Released
Undecided
Unassigned

Bug Description

Evergreen, all current versions:

    In prereq installer, don't try to chown extracted files to original UID/GID

    As this Makefile is designed to be used by a make process running as
    root, this will avoid problems on some systems when tar extracts
    files and tries to give them the same UID/GID as they have in their
    archives, but those accounts don't exist on the local system.

    e.g, libdbi has files set 1000/1000. On most systems, there's a user
    and a group with these IDs, but there can be systems where nothing
    uses those IDs, and where tar fails with e.g. 'tar: libdbi-0.8.3:
    Cannot change ownership to uid 1000, gid 1000: Invalid argument'

For master and rel_2_5:
http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/senator/prereq-tar-opts

For rel_2_4:
http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/senator/prereq-tar-opts_2_4

Tags: pullrequest
description: updated
Revision history for this message
Mike Rylander (mrylander) wrote :

Less chances to break installation == good. Pushed to targeted branches.

Changed in evergreen:
status: New → Fix Committed
Revision history for this message
Ben Shum (bshum) wrote :

Noting milestone targets for 2.5 and 2.4

Changed in evergreen:
milestone: none → 2.5.2
Ben Shum (bshum)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.