[Bug 271831] Re: ldconfig should check immediately on startup whether it can write to /etc/* or not
Launchpad Bug Tracker
271831 at bugs.launchpad.net
Thu Nov 6 14:56:13 UTC 2014
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: glibc (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/271831
Title:
ldconfig should check immediately on startup whether it can write to
/etc/* or not
Status in “glibc” package in Ubuntu:
Confirmed
Bug description:
Very often I run "ldconfig" and I wait a long long time only to tell me that it can't write to /etc/something
This is my own fault because I forgot to write "sudo" in front of the "ldconfig" and that's fine.
However, ldconfig should not do all the work first and then check if the file is writable.
It would provide a much better user experience if ldconfig would immediately on startup verify that it has permissions to write to /etc/*SOME_NEED_FILES*, then do the work that takes a long time, and then finally write the updated SO cache info to the file in /etc/SOME_FILE
Just because it's a _command line_ tool for _developers_ does not mean
it can't have "usability" or be smart about these things. And it's
also an easy thing to fix I suspect.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/271831/+subscriptions
More information about the foundations-bugs
mailing list