Bug 1512749
| Summary: | grub2-setpassword ignores -o (--output_path) command line option | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Sandeep MJ <sjayapra> |
| Component: | grub2 | Assignee: | Peter Jones <pjones> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.4 | CC: | aruizrui, atodorov, cww, javierm, jhlavac, jstodola, pjones, smoroney, vanhoof |
| Target Milestone: | rc | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | grub2-2.02-0.68.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: The -o option to grub2-setpassword was documented but never implemented.
Consequence: The user may become confused about how to use the tool.
Fix: Implement -o support.
Result: Behavior matches existing documentation.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-30 11:36:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1477664, 1571842 | ||
|
Description
Sandeep MJ
2017-11-14 01:13:13 UTC
Not sure how this fact should be documented in this ticket (if at all), but this problem has also been present in Fedora Linux since version 25. Please see: BZ 1460530, "grub2-setpassword -o handling is broken" <https://bugzilla.redhat.com/show_bug.cgi?id=1460530> # grub2-setpassword -o /home/ Enter password: Confirm password: grep: /home//grub.cfg: Няма такъв файл или директория WARNING: The current configuration lacks password support! Update your configuration with grub2-mkconfig to support this feature. # ls -l /home/ общо 4 drwx------. 2 test test 76 18 юли 2,18 test -rw-------. 1 root root 298 23 юли 9,21 user.cfg # cat /home/user.cfg GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.B9C8B3C9D2715889F50B8B60E57E88E70446F962B43AB50A7B9AE48DA56985B8B123177E2CDFB1BC313CFD983FAA56FFC4B8AC9343FACB621C4CAFC301ADE80F.23A930D142D5FFEE25B7D5306EB5B10D60B15BABBF4C84FB8D0291E3329E41AE354329F4457EEAC6193387CB03334B4EDC4C3CF05F2F277DC54E787592A3DB4B # rpm -q grub2 grub2-2.02-0.73.el7.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3264 |