Description of problem: updating to shadow-utils to 2:4.6-1 causes useradd -D -b /somedir to segfault. Version-Release number of selected component (if applicable): shadow-utils-4.6-1.fc28.x86_64 How reproducible: Always. Steps to Reproduce: clean install of fedora server test useradd (shadow-utils-2:4.5-9) useradd -D -b /somedir grep HOME /etc/default/useradd note it changed the default. upgrade shadow-utils dnf -y upgrade shadow-utils # installs 2:4.6-1 repeat test with unique dir: useradd -D -b /baz Actual results: Segmentation Fault (core dumped) Expected results: update default HOME properly Additional info: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff6fe37e3 in __gen_tempname () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff6fe37e3 in __gen_tempname () from /lib64/libc.so.6 #1 0x000055555555cc3d in set_defaults () #2 0x000055555555ba94 in main ()
Confirmed bug exists in Fedora 29 with shadow-utils-4.6-2.fc29.x86_64 # gdb useradd ... (gdb) run -D -b /somedir Starting program: /usr/sbin/useradd -D -b /somedir warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: 0x00007ffff7d694f3 in __gen_tempname () from /lib64/libc.so.6 (gdb) bt Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: Python Exception <class 'ModuleNotFoundError'> No module named 'gdb': #0 0x00007ffff7d694f3 in __gen_tempname () from /lib64/libc.so.6 #1 0x000055555555cd9d in set_defaults () Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: #2 0x000055555555bbf4 in main () Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
shadow-utils-4.6-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-053fa23050
shadow-utils-4.6-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-783dfc5196
shadow-utils-4.6-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-053fa23050
shadow-utils-4.6-4.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-783dfc5196
update verified to work on fedora 29. Thanks!
Please do not close the bug, it will be closed automatically once the update is pushed to stable.
shadow-utils-4.6-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
shadow-utils-4.6-4.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.