[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-03-11 Thread David Wilde
@f11gar0, thank you for the research on this. Since you've modified eventlet code it's not possible for Keystone to carry it directly but I'm wondering if you've submitted this code to the eventlet repository and/or if there is a public bug about this issue that has bee filed there? Thanks

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-03-11 Thread Jeremy Stanley
When switching a bug's type from Public to Public Security, please clarify what about it leads you to suspect it represents an exploitable vulnerability. I'm switching it back to a regular Public bug in the meantime. If this was triggered by the earlier mention of a use-after-free condition, it

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-03-10 Thread willzhang
** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2042744 Title: su -s /bin/sh -c "keystone-manage db_sync" keystone To manage notifications

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-03-07 Thread Vinicius Stocker
The fix provided by @f11gar0 solved the problem for me. Thank you dear friend! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2042744 Title: su -s /bin/sh -c "keystone-manage db_sync" keystone To

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-03-06 Thread Alexandr
i FIX this with some thread.py edit: vi /usr/lib/python3/dist-packages/eventlet/green/thread.py (or your path to thread.py from exception traceback) find this code: def get_ident(gr=None): if gr is None: return id(greenlet.getcurrent()) else: return id(gr) and make

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-03-04 Thread Patrick McClory
W/ a fresh install of 22.04.04 + bobcat, not seeing the suggested fix from @tshebin work: ``` root@utility-04:/home/pmdev# grep keystone /etc/passwd keystone:x:122:130::/var/lib/keystone:/bin/bash root@utility-04:/home/pmdev# su -s /bin/sh -c "keystone-manage db_sync" keystone Exception ignored

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-03-04 Thread Florin Andrei
This has nothing to do with the shell. I've changed the shell to /bin/bash, then `su - keystone` then `keystone-manage db_sync` and I still get the error. I'm stuck trying to install it on Ubuntu 22.04.4 LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-03-04 Thread Shebin Thomas
guys the error occurs because of the permissions of keystone user grep keystone /etc/passwd if this commands gives the result with something like this /usr/sbin/nologin or /bin/false then change it using usermod -s /bin/bash keystone after this install and configure within the keystone user or

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-02-27 Thread git.user
Seems like it's a weakref black magic. wr is dead when _removeHandlerRef called It's too much for me, I just hack it out: def _removeHandlerRef(wr): """ ... if wr() is None: return ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-02-27 Thread David Wilde
** Changed in: keystone Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2042744 Title: su -s /bin/sh -c "keystone-manage db_sync" keystone To manage

[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

2024-02-25 Thread git.user
looks like kind of use-after-free I tried to trace it /usr/lib/python3/dist-packages/eventlet/green/thread.py ... def get_ident(gr=None): traceback.print_stack() ... and got AttributeError: 'NoneType' object has no attribute 'print_stack' On the other side if traceback one level up