@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
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
** 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
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
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
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
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
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
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
** 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
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
11 matches
Mail list logo