Bug 1385272
Summary: | rhel-autorelabel service corrupts filesystem | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Enrico Scholz <rh-bugzilla> |
Component: | initscripts | Assignee: | David Kaspar // Dee'Kej <deekej> |
Status: | CLOSED ERRATA | QA Contact: | Leos Pol <lpol> |
Severity: | high | Docs Contact: | Filip Hanzelka <fhanzelk> |
Priority: | urgent | ||
Version: | 7.2 | CC: | deekej, pasik, rjones |
Target Milestone: | rc | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | initscripts-9.49.39-1.el7 | Doc Type: | Release Note |
Doc Text: |
*rhel-autorelabel* no longer corrupts the filesystem
In previous versions of Red Hat Enterprise Linux 7, forcing the SELinux autorelabel by creating the `/.autorelabel` file sometimes partially corrupted the filesystem. This made the system unbootable. A patch has been applied to prevent this behaviour. As a result, applying the *autorelabel* operation using the "touch /.autorelabel" command is no more expected to corrupt the filesystem.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 07:29:01 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: | 1380361, 1393867, 1400961 |
Description
Enrico Scholz
2016-10-15 20:40:44 UTC
'strace -f -p 1' and 'systemctl --force reboot' shows | munmap(0x7f72bd53c000, 1359872) = 0 | open("/dev/watchdog", O_WRONLY|O_CLOEXEC) = 3 | ioctl(3, SNDRV_RAWMIDI_IOCTL_PVERSION or WDIOC_GETSUPPORT, 0x7ffe87d3b9d0) = 0 | sendmsg(37, {msg_name(0)=NULL, msg_iov(4)=[{"PRIORITY=6\nSYSLOG_FACILITY=3\nCODE_FILE=src/shared/watchdog.c\nCODE_LINE=87\nCODE_FUNCTION=open_watchdog\nSYSLOG_IDENTIFIER=systemd\n", 128}, {"MESSAGE=", 8}, {"Hardware watchdog 'i6300ESB timer', version 0", 45}, {"\n", 1}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 182 | ioctl(3, WDIOC_SETTIMEOUT, 0x7ffe87d3b95ESC[HESC [the "ESC[..." strings are the grub boot menu)] without a prior unmounting or syncing of disks. The pull-request for this change is now merged into RHEL-7 branch: https://github.com/fedora-sysv/initscripts/pull/91 This is now part of RHEL-7 branch: https://github.com/fedora-sysv/initscripts/pull/95 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-2017:2286 |