Chris Adams wrote:
> Once upon a time, Michael Catanzaro <mcatanz...@redhat.com> said:
>> On Tue, Apr 11 2023 at 12:18:58 PM -0500, Chris Adams
>> <li...@cmadams.net> wrote:
>>>I wouldn't do that part; that's additional disk I/O for every prompt.
>>>Especially when the system might be having issues, users (especially
>>>root) don't need something interfering with every command.  This would
>>>mean an NFS home would insta-hang at the slightest issue.
>> 
>> Hm, but consider also that if the filesystem is slow or unreliable,
>> then your entire desktop is going to hang as well. (It probably
>> _shouldn't_ hang, but it absolutely does.) You cannot even open
>> gnome-terminal until the I/O operations complete. With that baseline
>> in mind, I'd say the benefits outweigh the costs, but we should make
>> it easy to opt out somehow.
> 
> You are assuming Fedora is only used for desktops.

Indeed.  I think that setting PROMPT_COMMAND as an array in
the default configuration would be the place to start.  Then
packages which enable such functionality can be added with
more granularity.

If the desktop working group wants to default to having such
a configuration enabled, it can be done without affecting
the server images, etc.  And folks can easily opt-out even
on the desktop.  (I'd still prefer if it was opt-in for the
desktop, but that's just an opinion.)

That makes it easier to add snippets to /etc/profile.d
rather than coordinating everything via the setup package.
Hard-coding a default for everyone which leaves a good
number of folks unhappy in either case is not ideal.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to