Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th November 2011, 09:41 PM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,176
linuxfirefox
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.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net

Last edited by AdamW; 17th November 2011 at 09:46 PM.
Reply With Quote
  #2  
Old 18th November 2011, 12:08 AM
Dutchy Offline
Registered User
 
Join Date: Aug 2011
Posts: 926
linuxfirefox
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?
Reply With Quote
  #3  
Old 18th November 2011, 01:16 AM
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 60
Posts: 1,341
linuxfirefox
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'

Quote:
Originally Posted by Dutchy View Post
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
Reply With Quote
  #4  
Old 19th November 2011, 01:38 PM
Palooka Offline
Registered User
 
Join Date: May 2009
Posts: 168
linuxfirefox
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'

Quote:
Originally Posted by AdamW View Post
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
Reply With Quote
  #5  
Old 20th November 2011, 05:29 PM
japafi Offline
Registered User
 
Join Date: Mar 2010
Posts: 87
linuxfirefox
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
Reply With Quote
  #6  
Old 21st November 2011, 03:00 AM
rtguille Offline
Registered User
 
Join Date: Dec 2010
Posts: 91
linuxfirefox
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).
Reply With Quote
  #7  
Old 21st November 2011, 04:14 AM
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 60
Posts: 1,341
linuxfirefox
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'

Quote:
Originally Posted by rtguille View Post
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
Reply With Quote
  #8  
Old 21st November 2011, 11:39 AM
manhh Offline
Registered User
 
Join Date: Mar 2008
Location: China
Posts: 119
linuxfirefox
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
__________________
Lenovo G475g
amd e300 apu + ram 3g
win8 + ubuntu 1204 amd64
Reply With Quote
  #9  
Old 21st November 2011, 03:02 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 31
Posts: 2,750
linuxfirefox
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'

Quote:
Originally Posted by manhh View Post
[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
Reply With Quote
  #10  
Old 21st November 2011, 09:13 PM
VernDog Offline
Registered User
 
Join Date: Aug 2009
Posts: 313
linuxchrome
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.
Reply With Quote
  #11  
Old 30th December 2011, 05:34 PM
friTTe Offline
Registered User
 
Join Date: Sep 2011
Location: Sweden
Age: 33
Posts: 37
linuxchrome
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
Reply With Quote
  #12  
Old 23rd February 2012, 04:40 PM
ErikLehnsherr Offline
Registered User
 
Join Date: Feb 2012
Location: Brazil
Posts: 12
linuxfirefox
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'

Done.
Tkx for the update.
Reply With Quote
  #13  
Old 6th March 2012, 03:58 PM
benbadge72 Offline
Registered User
 
Join Date: Mar 2012
Location: WV, USA
Posts: 3
linuxfirefox
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.
Reply With Quote
  #14  
Old 3rd April 2012, 06:56 PM
zombiedolly Offline
Registered User
 
Join Date: Mar 2012
Location: Cleveland
Posts: 1
linuxfirefox
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
Reply With Quote
  #15  
Old 10th July 2012, 01:28 AM
daytooner Offline
Registered User
 
Join Date: Apr 2009
Posts: 198
linuxfedorafirefox
Re: Public Service Announcement: F16 users, do a 'yum reinstall bash'

Quote:
Originally Posted by AdamW View Post
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
Reply With Quote
Reply

Tags
announcement, bash, f16, public, reinstall, service, users, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Public service announcement FriedChips Wibble 19 4th October 2008 06:01 AM
warning: master_wakeup_timer_event: service public/pickup: linux_fed2 Servers & Networking 3 25th January 2007 10:59 AM


Current GMT-time: 11:15 (Sunday, 20-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat