Bug 823270 - grubby --default-kernel segfault as user
grubby --default-kernel segfault as user
Status: CLOSED DUPLICATE of bug 751608
Product: Fedora
Classification: Fedora
Component: grubby (Show other bugs)
17
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Peter Jones
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-20 09:01 EDT by Nicolas Chauvet (kwizart)
Modified: 2012-08-31 10:51 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-31 10:51:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
grubby --default-kernel segault when run as user (14.23 KB, text/plain)
2012-05-20 09:01 EDT, Nicolas Chauvet (kwizart)
no flags Details

  None (edit)
Description Nicolas Chauvet (kwizart) 2012-05-20 09:01:12 EDT
Created attachment 585639 [details]
grubby --default-kernel segault when run as user

Description of problem:
grubby --default-kernel segfault when run as non privileged users.
Even if it's not supposed to do so, the command should return insufficient privilege but not to segfault. 

Version-Release number of selected component (if applicable):
grubby-8.11-1.fc17

How reproducible:
always from two different setup running f17 (i686 and x86_64).

Steps to Reproduce:
1.$ grubby --default-kernel

  
Actual results:
grubby recieved SIGSEGV!  Backtrace (6):
grubby[0x40525f]
/lib64/libc.so.6[0x38ffc359e0]
grubby[0x401bc9]
grubby[0x404232]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x38ffc21735]
grubby[0x404691]

Expected results:
return an error code or the default kernel

Additional info:
When run as root (as probably expected) the right kernel is output in one of theses setup. (then there is another bug as #736188 for the other).
# grubby --default-kernel
/boot/vmlinuz-3.3.4-5.fc17.x86_64
Comment 1 Andrew Elwell 2012-08-31 10:51:55 EDT

*** This bug has been marked as a duplicate of bug 751608 ***

Note You need to log in before you can comment on or make changes to this bug.