kern/81780: hard disk i/o error during reading in an acl is ignored without returning error.

trasz trasz at buziaczek.pl
Wed Jun 1 13:20:03 PDT 2005


>Number:         81780
>Category:       kern
>Synopsis:       hard disk i/o error during reading in an acl is ignored without returning error.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 01 20:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        5.4
>Organization:
>Environment:
FreeBSD traszkan.ds7 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed May 11 19:24:26 CEST 2005     trasz at traszkan.ds7:/usr/obj/usr/src/sys/TRASHCAN  i386
>Description:
recently i had a hard drive failure.  the problem was, the bad block was apparently not where data or ordinary metadata was stored, but 'under' an acl.  the occasional method of finding damaged file to restore from backup ("(find / -print0 | xargs -0 cat ) > /dev/null") failed - the kernel said 'Error retrieving ACL on object' without returning EIO to the userland.

>How-To-Repeat:
      
>Fix:
that place in /sys/ufs/ufs/ufs_vnops.c is marked with 'XXX: fall back until debugged'; probably there should be 'return (error)' before the closing brace.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list