FS#22008 - [bash] ~/.inputrc no longer read

Attached to Project: Arch Linux
Opened by Dominik (cpcgm) - Tuesday, 07 December 2010, 14:17 GMT
Last edited by Allan McRae (Allan) - Monday, 13 December 2010, 11:52 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

~/.inputrc is no longer read. My .inputrc:

---------
"\e[A":history-search-backward
"\e[B":history-search-forward

set show-all-if-ambiguous on
---------

Output of bind -v:

---------
[...]
set show-all-if-ambiguous off
[...]
---------

Additional info:
* bash 4.1.009-1


Steps to reproduce:

- Start bash
- Type "g" and press Tab or Up/Down
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 13 December 2010, 11:52 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Tuesday, 07 December 2010, 15:58 GMT
works for me
Comment by Dominik (cpcgm) - Tuesday, 07 December 2010, 16:03 GMT
Is there any configuration file that lists all possible inputrcs? Or does ~/.inputrc have to be included in /etc/inputrc? Maybe an update overwrote something?
Comment by Ionut Biru (wonder) - Tuesday, 07 December 2010, 16:08 GMT
no. we had it sourcing the ~/.inputrc but that behavior was wrong and is described here:  FS#21729  .

default it should be read.
Comment by Jan de Groot (JGC) - Wednesday, 08 December 2010, 00:10 GMT
Do you still have the INPUTRC variable set? If it's set to /etc/inputrc, then your ~/.inputrc will not be processed. By default INPUTRC should not be set. This has been fixed in some filesystem package update, possibly this has not been changed on your system due to .pacnew files.
Comment by Dominik (cpcgm) - Wednesday, 08 December 2010, 00:17 GMT
That seems to be it. env shows "INPUTRC=/etc/inputrc". The problem must have been caused by some package because ~/.inputrc has been read until recently. Where can I unset it permanently?
Comment by Ionut Biru (wonder) - Wednesday, 08 December 2010, 00:28 GMT
what does grep -r INPUTRC /etc returns?
Comment by Dominik (cpcgm) - Wednesday, 08 December 2010, 00:30 GMT
grep: /etc/pam_thinkfinger/root.bir: Keine Berechtigung
grep: /etc/pam_thinkfinger/dominik.bir: Keine Berechtigung
grep: /etc/.pwd.lock: Keine Berechtigung
grep: /etc/ppp/pap-secrets: Keine Berechtigung
grep: /etc/ppp/chap-secrets: Keine Berechtigung
grep: /etc/privoxy: Keine Berechtigung
grep: /etc/polkit-1/localauthority: Keine Berechtigung
grep: /etc/NetworkManager/system-connections/Auto eth0: Keine Berechtigung
grep: /etc/NetworkManager/system-connections/ChinaNet-4HTW: Keine Berechtigung
grep: /etc/NetworkManager/system-connections/lrz: Keine Berechtigung
grep: /etc/gshadow.pacnew: Keine Berechtigung
grep: /etc/sudoers: Keine Berechtigung
/etc/profile~:INPUTRC="/etc/inputrc"
/etc/profile~:export HISTSIZE HISTCONTROL INPUTRC LESS LC_COLLATE
grep: /etc/gshadow: Keine Berechtigung
grep: /etc/group-: Keine Berechtigung
grep: /etc/sudoers.d: Keine Berechtigung
grep: /etc/gshadow-: Keine Berechtigung
grep: /etc/shadow.pacnew: Keine Berechtigung
grep: /etc/crypttab: Keine Berechtigung
grep: /etc/sudoers.pacnew: Keine Berechtigung
grep: /etc/cups/ssl: Keine Berechtigung
grep: /etc/cups/printers.conf.O: Keine Berechtigung
grep: /etc/cups/classes.conf.O: Keine Berechtigung
grep: /etc/cups/classes.conf: Keine Berechtigung
grep: /etc/cups/printers.conf: Keine Berechtigung
grep: /etc/shadow-: Keine Berechtigung
grep: /etc/shadow: Keine Berechtigung
/etc/profile:INPUTRC="/etc/inputrc"
/etc/profile:export HISTSIZE HISTCONTROL INPUTRC LESS LC_COLLATE
grep: /etc/mtab.fuselock: Keine Berechtigung
grep: /etc/wicd/wired-settings.conf: Keine Berechtigung
grep: /etc/wicd/manager-settings.conf: Keine Berechtigung
grep: /etc/wicd/wireless-settings.conf: Keine Berechtigung
grep: /etc/passwd-: Keine Berechtigung
Comment by Allan McRae (Allan) - Wednesday, 08 December 2010, 00:31 GMT
update your /etc/profile from the .pacnew file
Comment by Ionut Biru (wonder) - Wednesday, 08 December 2010, 00:32 GMT
what version of filesystem to you have? i believe you are ignoring the filesystem package and /etc/profile has not been updated to the latest.

get rid of INPUTRC from /etc/profile


or what Allan said
Comment by Dominik (cpcgm) - Wednesday, 08 December 2010, 00:51 GMT
core/filesystem 2010.10-1

I upadeted from .pacnew but didn't restart yet.
Comment by Pierre Schmitz (Pierre) - Monday, 13 December 2010, 10:42 GMT
Why was I assigned to this bug and what am I supposed to do here? Looks like Dominik /etc/profile is just not up-to-date. Can we close this as "not a bug"?
Comment by Dominik (cpcgm) - Monday, 13 December 2010, 10:56 GMT
I think the question is: How did the "INPUTRC" get in my profile? I didn't change it and it clearly hasn't been there a couple of weeks ago.
Comment by Allan McRae (Allan) - Monday, 13 December 2010, 11:48 GMT
It was there in an old filesystem package (for years...). I believe there was a workaround to source your ~/.inputrc file even though that was set but that has been removed too, hence you seeing this now.

You are responsible for merging changes from .pacnew files on your system. Do that and this "bug" is fixed.
Comment by Dominik (cpcgm) - Monday, 13 December 2010, 11:50 GMT
I didn't know the thing with the removed workaround. → Close.

Loading...