Changeset 2357


Ignore:
Timestamp:
Feb 18, 2019, 6:33:15 PM (3 months ago)
Author:
bruno
Message:

Fix fedora 23 ctn support

The way ctn was built, the /etc directory wasn't owned by root, not
allowing root to pass the sudo command.
We now force /etc owner and modes to avoid that type of issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r2350 r2357  
    28422842        } else {
    28432843            print DOCKER "RUN sed -i '/requiretty/d' /etc/sudoers\n" if ($pbstep == 1);
     2844            # Bug in at least Fedora 23 where the dir wasn't owned correctly - doesn't hurt anyway
     2845            print DOCKER "RUN chown root:root /etc\n" if ($pbstep == 1);
     2846            print DOCKER "RUN chmod 755 /etc\n" if ($pbstep == 1);
    28442847        }
    28452848    }
Note: See TracChangeset for help on using the changeset viewer.