Skip to content

Cannot create/modify users in the FinalizeScripts area #2273

Closed Answered by gridhead
gridhead asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, no dice with the said changes.

Error

‣  Running postinstall script /home/fedohide-origin/projects/centgrid/config.sh…
/work/postinst: line 4: 21783 Segmentation fault      (core dumped) useradd --comment centosuser --groups wheel --password "$6$GS46qLbRcZN9TToD$2S1Ty5MUi/Yl4/FLV4F2emIHwtc1qxkv3nJ5SK4fEYY30kdxFbtpZRxm.ye65iohThsGrEilxjWnAY5TGPau51" --create-home centosuser
‣ "/work/postinst final" returned non-zero exit code 139.

I went back to read the documentation a bit and I found this excerpt.

If a script uses the .chroot extension, mkosi will chroot into the image using mkosi-chroot (see below) before executing the script. For example, if mkosi.postinst.chroot exists…

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gridhead
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@DaanDeMeyer
Comment options

@gridhead
Comment options

@gridhead
Comment options

@DaanDeMeyer
Comment options

@gridhead
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants