View Issue Details

IDProjectCategoryView StatusLast Update
0016588administrationoperationspublic2020-01-20 04:18
Reportertianxianting 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformCentOS 8OSCentOS8 - kernel4.18OS Version4.18
Product Version 
Target VersionFixed in Version 
Summary0016588: Error in POSTIN scriptlet in rpm package docker-ce-cli of CentOS 8
DescriptionI made a customrized iso based on CentOS 8 official iso. I modified the xml file in AppStream/repodata and run createrepo to get a new repo.
I also copied 3 files below to AppStream/Packages:
containerd.io-1.2.6-3.3.el7.x86_64.rpm
docker-ce-19.03.2-3.el7.x86_64.rpm
docker-ce-cli-19.03.2-3.el7.x86_64.rpm

But when I install the customrized iso, I got below error on the installation UI:
"Error in POSTIN scriptlet in rpm package docker-ce-cli"

I searched it on google, still can't figure it out what caused the issue. Could you give me a hand, thank you.
TagsNo tags attached.

Activities

tianxianting

tianxianting

2019-10-14 08:14

reporter  

docker-ce-cli.png (38,796 bytes)
docker-ce-cli.png (38,796 bytes)
John Mattapilly

John Mattapilly

2019-11-16 01:37

reporter   ~0035702

@tianxianting,

! Not to stop the progress on this issue !

Just a workaround I used following https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/
refer - sec # Rationale for some of the implementation choices (exit 0 part )

 I rebuilt both docker-ce and docker-ce-cli using the "rpmrebuild -enp" command to modify %post section to append "exit 0".
Irrespective of the earlier error while adding docker group it actually adds the group. I didn't see a problem on the boot.

John Paul
tianxianting

tianxianting

2020-01-09 02:29

reporter   ~0035977

Sorry for delay and thanks for your reply, I resolved the issue sevral days after I posted the issue on this site:
I midofied anaconda python script: usr/lib64/python3.6/site-packages/pyanaconda/errors.py to skip the error when installing docker-cli.
and I add the docker group in pre-installation script.

捕获.PNG (17,903 bytes)
捕获.PNG (17,903 bytes)
tianxianting

tianxianting

2020-01-09 02:30

reporter   ~0035978

@John Mattapilly, thanks

Issue History

Date Modified Username Field Change
2019-10-14 08:14 tianxianting New Issue
2019-10-14 08:14 tianxianting File Added: docker-ce-cli.png
2019-11-16 01:37 John Mattapilly Note Added: 0035702
2020-01-09 02:29 tianxianting File Added: 捕获.PNG
2020-01-09 02:29 tianxianting Note Added: 0035977
2020-01-09 02:30 tianxianting Note Added: 0035978