Description of problem: setup-nsssysinit.sh should be able to report whether nss-sysinit is currently enabled or disabled. It can recognize additional command line argument value - such as 'status' - and print info when that is provided. Similar check is already done for 'off' action, so it may look as: grep -q '^library=libnsssysinit' /etc/pki/nssdb/pkcs11.txt && echo 'ON' || echo 'OFF' Version-Release number of selected component (if applicable): nss-3.12.7-6.fc13
Created attachment 450266 [details] Adds command line option to report on nss-sysinit current status It also includes the fix for Bug 636792.
Created attachment 450436 [details] Updated patch Updated patch with few more changes. (In reply to comment #1) > Created attachment 450266 [details] > Adds command line option to report on nss-sysinit current status For the sake of consistency, I'd probably avoid using two different ways to do the same check: if [ `grep '^library=libnsssysinit' ${p11conf}` ]; grep -q '^library=libnsssysinit' ${p11conf} I've actually moved this test to separate function to avoid duplication. I've also extended status output to be a little more verbose. Feel free to change if you find it better to say "NSS sysinit is on/off" instead of "NSS sysinit is enabled/disabled". > It also includes the fix for Bug 636792. Moved umask call a bit.
Thank you, this is much better. I prefer using enabled/disabled in the display but need to keep the options on|off for compatibility sake as we don't want to break scripts that may already be expecting on or off. By the way, since we are writing man pages for the nss security tools I should add a little man page for this script as well.
nss-3.12.7-8.fc14,nss-softokn-3.12.7-7.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/nss-3.12.7-8.fc14,nss-softokn-3.12.7-7.fc14
nss-3.12.7-8.fc13,nss-softokn-3.12.7-7.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/nss-3.12.7-8.fc13,nss-softokn-3.12.7-7.fc13
nss-3.12.7-8.fc14, nss-softokn-3.12.7-7.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update nss nss-softokn'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/nss-3.12.7-8.fc14,nss-softokn-3.12.7-7.fc14
nss-3.12.8-2.fc14,nss-softokn-3.12.8-1.fc14,nss-util-3.12.8-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/nss-3.12.8-2.fc14,nss-softokn-3.12.8-1.fc14,nss-util-3.12.8-1.fc14
nss-util-3.12.8-1.fc12,nss-softokn-3.12.8-1.fc12,nss-3.12.8-2.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/nss-util-3.12.8-1.fc12,nss-softokn-3.12.8-1.fc12,nss-3.12.8-2.fc12
nss-3.12.8-2.fc13, nss-softokn-3.12.8-1.fc13, nss-util-3.12.8-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
nss-3.12.8-2.fc14, nss-softokn-3.12.8-1.fc14, nss-util-3.12.8-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
nss-util-3.12.8-1.fc12, nss-softokn-3.12.8-1.fc12, nss-3.12.8-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.