Skip to content
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

arch: workaround "GPGME error: Inappropriate ioctl for device" issue #137

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

marmarek
Copy link
Member

GPGME used by pacman tries very hard to configure terminal if it thinks
it can. When running inside docker, it results in a series of errors
like "GPGME error: Inappropriate ioctl for device", which then are
interpreted by pacman as signature verification failure.

Workaround this by adding " | cat" to pacman calls (or rather - scripts
that call pacman) to make stdout a pipe instead of pts. If it's stupid
but it works, it ain't stupid, right?

Related to QubesOS/qubes-issues#9193
And to many failures in CI

GPGME used by pacman tries very hard to configure terminal if it thinks
it can. When running inside docker, it results in a series of errors
like "GPGME error: Inappropriate ioctl for device", which then are
interpreted by pacman as signature verification failure.

Workaround this by adding " | cat" to pacman calls (or rather - scripts
that call pacman) to make stdout a pipe instead of pts. If it's stupid
but it works, it ain't stupid, right?

Related to QubesOS/qubes-issues#9193
And to many failures in CI
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.80%. Comparing base (dbf9a17) to head (8e219c9).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #137      +/-   ##
==========================================
+ Coverage   75.94%   77.80%   +1.86%     
==========================================
  Files          46       46              
  Lines        5059     5060       +1     
==========================================
+ Hits         3842     3937      +95     
+ Misses       1217     1123      -94     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fepitre
Copy link
Member

fepitre commented Jul 18, 2024

It looks like there is another thing that fails now..

@marmarek marmarek merged commit 19a1b93 into QubesOS:main Jul 18, 2024
4 checks passed
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