Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Alex Willmer 8a34b925a4 tests: Re-enable become/sudo tests, fix them on macOS runners
The tasks in tests/imageprep/_user_accounts.yml that create users did not
specify a primary group for those users - this left the decision to Ansible's
user module, and/or the underlying OS. In Ansible 9+ (ansible-core 2.16+ the
user module defaults to primary group "staff." Earlier don't supply a default,
which releases probably results in a primary group nameed "None" (due to
stringifying the Python singleton of the same name), or whatever the macOS
Directory Services has for no data/NULL.

The invalid GID 4294967295 (MAX_UINT32 == 2**32-1) in the sudo error probably
enters the mix via something similar to sudo CVE-2019-14287.

Fixes #692

See
- https://github.com/ansible/ansible/pull/79999
- https://github.com/ansible/ansible/commit/c69c83c962f987c78af98da0746527df
- https://www.sudo.ws/security/advisories/minus_1_uid/

> Bruce Wayne : [confused]  Am I meant to understand any of that?
> Lucius Fox : Not at all, I just wanted you to know how hard it was.
> -- Batman Begins
1 year ago
.ci CI: Use templated ansible_user for localhost Ansible tests 1 year ago
.github ci: Reduce number of Jobs by parameterizing Mitogen Docker SSH tests 1 year ago
ansible_mitogen ansible_mitogen: Template ssh_*_args connection options 1 year ago
docs tests: Re-enable become/sudo tests, fix them on macOS runners 1 year ago
examples Remove get_password_hash, unused 1 year ago
mitogen Begin 0.3.15.dev 1 year ago
scripts add Python3 compatibility 2 years ago
tests tests: Re-enable become/sudo tests, fix them on macOS runners 1 year ago
.gitignore Ignore Ansible retry files 2 years ago
.lgtm.yml Whoops, merge together lgtm.yml and .lgtm.yml 6 years ago
LICENSE Bump copyright year and use generic author name (testing Travis) 5 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 7 years ago
README.md docs: shields.io badges for PyPI version & supported Python versions 1 year ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 7 years ago
preamble_size.py mitogen.parent: Remove tabs from minimized first stage 4 years ago
run_tests tests: Remove unittest2, use stdlib unittest 4 years ago
setup.cfg Declare universal wheel support 5 years ago
setup.py Declare Python 3.13 support 1 year ago
tox.ini ci: Reduce number of Jobs by parameterizing Mitogen Docker SSH tests 1 year ago

README.md