 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

17th November 2011, 09:41 PM
|
 |
Fedora QA Community Monkey
|
|
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,836

|
|
|
Public Service Announcement: F16 users, do a 'yum reinstall bash'
See title. Anyone running F16 should probably run 'yum reinstall bash' as root, just to be safe from the effects of Bug #752827. A buggy bash upgrade removed the entry for bash from /etc/shells, which seems to have various subtle effects. It could be causing any kind of new weirdness you've noticed in F16 recently.
To see if you've been hit by this you can check /etc/shells and see if the line /bin/bash is in there. If it isn't, 'yum reinstall bash' should fix it. The reinstall is a pretty safe operation anyway, so you may as well just do it to be safe.
Sorry for the bug!
Edit: as of right now, this bug is going to happen after the first update of any fresh F16 installation done without the updates repos enabled. The problem is that the offending script is in the %postun of the bash package that's *in the Fedora 16 images*, so even though we've issued an update with a fix for the script, the bad script is always going to get run the first time you update the bash package after a clean F16 install. So it's actually quite hard to entirely fix the bug. I've asked the maintainer to think if there's a way he can make an update repair the damage done by the bad script, so future installs are not affected.
Last edited by AdamW; 17th November 2011 at 09:46 PM.
|

18th November 2011, 12:08 AM
|
|
Registered User
|
|
Join Date: Aug 2011
Posts: 715

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Yikes, that sounds awkward.
I hope you guys get this sorted out!
I've just checked and my new laptop with F16 was affected.
I however haven't notice anything seriously wrong with it and it is not like I didn't use the CLI or didn't do any scripting.
What kind of weirdness could this bug cause if I may ask?
|

18th November 2011, 01:16 AM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,186

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Quote:
Originally Posted by Dutchy
Yikes, that sounds awkward.
I hope you guys get this sorted out!
I've just checked and my new laptop with F16 was affected.
I however haven't notice anything seriously wrong with it and it is not like I didn't use the CLI or didn't do any scripting.
What kind of weirdness could this bug cause if I may ask?
|
In my case, it showed up when I went to install the extension for VirtualBox that provides USB support. That led me to investigate and instigate bug reports, first in 706148 against shells where I was told to file against setup and did so in 753780. The OP had a third report listed, so it has made the rounds.
Strange that it was only when the VirtualBox installer needed to use bash that it cropped up and not in prior use. I'm thankful that it is fixed though. That was a rather bad time for it to show up, as I needed to access one program through the virtual Vista machine in VirtualBox, which wanted the USB driver first.
__________________
StephenH
"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach
http://pilgrim-wanderings.blogspot.com
|

19th November 2011, 01:38 PM
|
|
Registered User
|
|
Join Date: May 2009
Posts: 150

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Quote:
Originally Posted by AdamW
See title. Anyone running F16 should probably run 'yum reinstall bash' as root, just to be safe from the effects of Bug #752827. A buggy bash upgrade removed the entry for bash from /etc/shells, which seems to have various subtle effects. It could be causing any kind of new weirdness you've noticed in F16 recently.
To see if you've been hit by this you can check /etc/shells and see if the line /bin/bash is in there. If it isn't, 'yum reinstall bash' should fix it. The reinstall is a pretty safe operation anyway, so you may as well just do it to be safe.
|
Thanks, Adam. I reinstalled as recommended, and the process duly added /bin/bash and /bin/sh to /etc/shells. But out of curiosity, why is /bin/dash listed twice?
Palooka
|

20th November 2011, 05:29 PM
|
|
Registered User
|
|
Join Date: Mar 2010
Posts: 87

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
I spent 45 minutes figureing out what has gone wrong as I could not login to my F16 system. Not on my regular account, not using root. Fortunately I had another working install I could use, join #fedora and ask for ideas.
I just wonder how this hits persons who do not have secondary (working) install and perhaps have wiped their installation media (Ie. I installed from USB stick, which has been wiped long time ago). Those persons are totally foobared.
Anyway, special thanks to nirik @ #fedora
|

21st November 2011, 03:00 AM
|
|
Registered User
|
|
Join Date: Dec 2010
Posts: 89

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
what about this?
* for live-cds, open konsole / gnome-terminal and run a 'yum reinstall bash' and then launch the installer.
Will that suffice for live-cds? (did not try)
I already installed and was hit by the bug installing vbox extentions).
|

21st November 2011, 04:14 AM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,186

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Quote:
Originally Posted by rtguille
what about this?
* for live-cds, open konsole / gnome-terminal and run a 'yum reinstall bash' and then launch the installer.
Will that suffice for live-cds? (did not try)
I already installed and was hit by the bug installing vbox extentions).
|
Actually, from what I read, you need to do this twice. The first update will get you the buggy version. The second will actually do the update to the fixed version. That failing, you can manually edit your /etc/shells file to ensure that /bin/bash is present. Then your vbox extensions should work fine.
__________________
StephenH
"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach
http://pilgrim-wanderings.blogspot.com
|

21st November 2011, 11:39 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: China
Posts: 108

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
mark it...
---
[root@localhost ~]# cat /etc/shells
/sbin/nologin
/bin/dash
[root@localhost ~]# echo /bin/bash >> /etc/shells
[root@localhost ~]# cat /etc/shells
/sbin/nologin
/bin/dash
/bin/bash
__________________
---manhh3---
Lenovo G475g
amd e300 apu + ram 3g
centos6 amd64
|

21st November 2011, 03:02 PM
|
|
Official Gnome 3 Sales Rep. (and Adminstrator)
|
|
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,857

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Quote:
Originally Posted by manhh
[root@localhost ~]# echo /bin/bash >> /etc/shells
[root@localhost ~]# cat /etc/shells
/sbin/nologin
/bin/dash
/bin/bash
|
You probably want /bin/sh in there too.
Gareth
|

21st November 2011, 09:13 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 226

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
GTK! It wasn't in mine. Now it is. Thanks for the heads up.
|

30th December 2011, 05:34 PM
|
 |
Registered User
|
|
Join Date: Sep 2011
Location: Sweden
Age: 32
Posts: 37

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
i ran it just to be on the safe side..cheers for the info
__________________
Asus EEE Fuduntu 32bit
|

23rd February 2012, 04:40 PM
|
 |
Registered User
|
|
Join Date: Feb 2012
Location: Brazil
Posts: 12

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Done.
Tkx for the update.
|

6th March 2012, 03:58 PM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: WV, USA
Posts: 3

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Thank you. Switched to Fedora 16 yesterday evening from Ubuntu. Nice to see community here as well.
|

3rd April 2012, 06:56 PM
|
|
Registered User
|
|
Join Date: Mar 2012
Location: Cleveland
Posts: 1

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Thank you!! I just switched from ubuntu and LOVE fedora! Its not boggy at all, but the glitch got me and I couldn't adjust my brightness! lol thanks for this fix
|

10th July 2012, 01:28 AM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 183

|
|
|
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'
Quote:
Originally Posted by AdamW
See title. Anyone running F16 should probably run 'yum reinstall bash' as root, just to be safe from the effects of Bug #752827. A buggy bash upgrade removed the entry for bash from /etc/shells, which seems to have various subtle effects. It could be causing any kind of new weirdness you've noticed in F16 recently.
|
I've got some weirdness going on (happened after I did my last update):
- gawk is symlink'd to itself
- can't install both vim-enhanced and vim-minimal
(see thread at http://forums.fedoraforum.org/showthread.php?t=282045)
I have /bin/sh in /etc/shells, and I even re-installed bash, but nothing changed. Could this problem be something else,or maybe just a cascade of the original problem?
Just checking...
ken
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 08:01 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|