Skip to content

Fix post-installation script of pccs #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AI-Memory
Copy link

This issue was identified during installing sgx-dcap-pccs_1.13.100.1-jammy1_amd64.deb which was built from sgx psw source code. the dpkg reports the following error message and stopped. To continue, the bug has to be fixed up.
subprocess installed post-installation script returned error exit status 1

@lingyuj
Copy link
Contributor

lingyuj commented May 5, 2022

It looks like your DEB package was built from RC1, and this issue has been fixed in the formal release. Though the startup.sh script is there, it will not be called.

@AI-Memory
Copy link
Author

May I know which formal release fixed it? as I just checked the main branch, it is still there. Please advise, thanks.

adduser --system $PCCS_USER -g $PCCS_USER --home $PCCS_HOME --no-create-home --shell /bin/bash

@lingyuj
Copy link
Contributor

lingyuj commented May 5, 2022

May I know which formal release fixed it? as I just checked the main branch, it is still there. Please advise, thanks.

adduser --system $PCCS_USER -g $PCCS_USER --home $PCCS_HOME --no-create-home --shell /bin/bash

Yes, the script is still there but it will never be called. You can check the post install script below:
https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/master/QuoteGeneration/installer/linux/deb/sgx-dcap-pccs/sgx-dcap-pccs-1.0/debian/postinst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants