Skip to content

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