Bug #2860

ACLs not restored

Added by Filippo Carletti almost 7 years ago. Updated almost 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-ibays
Target version:v6.5
Security class: Resolution:
Affected version:v6.5-rc1 NEEDINFO:No

Description

After restoring a backup, all ibays were missing acls.

ACL data from backup is relative to /var/lib/nethserver/ibay/, but

/etc/e-smith/events/post-restore-data/S60nethserver-ibays-restore

is missing a
cd /var/lib/nethserver/ibay/

See /etc/e-smith/events/pre-backup-data/S50nethserver-ibays-dump-acls

Associated revisions

Revision 11381481
Added by Giacomo Sanchietti almost 7 years ago

ACL restore: change working directory. Refs #2860

History

#1 Updated by Filippo Carletti almost 7 years ago

  • Target version set to v6.5

#2 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20
  • Affected version set to v6.5-rc1

#3 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#4 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#5 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-ibays-2.1.0-1.0git11381481.ns6.noarch.rpm
Test case
  • Create an ibay and set a custom ACL
  • Backup ACLs:
    /etc/e-smith/events/actions/nethserver-ibays-dump-acls
    
  • Remove the ACLs from created ibay:
    setfacl -b /var/lib/nethserver/ibay/<ibay>
    
  • Restore ACLs:
    /etc/e-smith/events/actions/nethserver-ibays-restore
    
  • Check restored ACLs with getfacl command

#6 Updated by Davide Principi almost 7 years ago

  • Assignee set to Davide Principi

#7 Updated by Davide Principi almost 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

#8 Updated by Davide Principi almost 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-ibays-2.1.1-1.ns6.noarch.rpm

Also available in: Atom PDF