Bug 1151898

Summary: virt-ls --checksum: checksum for soft link is wrong, the soft link have no checksum value output
Product: Red Hat Enterprise Linux 6 Reporter: Lingfei Kong <lkong>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.6CC: leiwang, mbooth, ptoscano, rjones, virt-bugs, wshi, yuliu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1151897 Environment:
Last Closed: 2014-10-31 15:51:50 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: 1151897    
Bug Blocks:    

Description Lingfei Kong 2014-10-13 02:29:25 UTC
+++ This bug was initially created as a clone of Bug #1151897 +++

Description of problem:
checksum for soft link is wrong, the soft link have no checksum value output. 
Both md5sum and sha*sum can give checksum value for soft link. So the best way is also provide checksum value for soft link.

Version-Release number of selected component (if applicable):
libguestfs-1.27.62-1.1.el7


How reproducible:
100%


Steps to Reproduce:
#virt-ls -a rhel.img /etc -lR --checksum


Actual results:
.....
- 0644        447 dbc1e6da7574717bd3f7a02f98252c4c /etc/selinux/config
...
l 0777         17 /etc/sysconfig/selinux -> ../selinux/config
....


Expected results:
.....
- 0644        447 dbc1e6da7574717bd3f7a02f98252c4c /etc/selinux/config
...
l 0777         17 dbc1e6da7574717bd3f7a02f98252c4c /etc/sysconfig/selinux  -> ../selinux/config
....


Additional info:

Comment 1 Pino Toscano 2014-10-31 15:51:50 UTC
Closing as NOTABUG following resolution of bug 1151897 (see bug 1151897 comment 3).