debops / ansible-console

Configure system console and terminal-related options
GNU General Public License v3.0
13 stars 10 forks source link

hidepid=2 breaks facts.py until ansible v2.2.1.0-0.2.rc2 #40

Closed cultcom closed 7 years ago

cultcom commented 7 years ago

in facts.py line 335 the following check breaks after mounting /proc with hidepid=2 if proc_1 == 'init' or proc_1.endswith('sh'):

because proc_1 is "None" now.

The check was change with commit e6d9a45cd02f290feb8063baa60e8a5fbde079e0

So this breaks older versions of ansible.

drybjed commented 7 years ago

This issue should be solved already on stable-2.2 Ansible branch, at least the one from GitHub. Version from PyPI hasn't been updated yet. Can you check and confirm?

cultcom commented 7 years ago

Yes, this works with stable-2.2 but I wanted to file this issue in case others are having the same problem...