Opened 15 years ago

Closed 15 years ago

#356 closed defect (fixed)

Bad call to "star" when using -R flag on RHEL5.3 resulting in an empty backup

Reported by: kritzenthaler Owned by: Bruno Cornec
Priority: low Milestone: 2.2.9
Component: mondo Version: 2.2.8
Severity: blocker Keywords:
Cc:

Description

=== Distro : RHEL 5.3 ===

pkgs list :

-rw-r----- 1 root root 61421 Mar 27 2007 afio-2.4.7-1.i386.rpm
-rw-r----- 1 root root 10912 Mar 27 2007 buffer-1.19-1.i386.rpm
-rw-r----- 1 root root 253867 Feb 18 2009 mindi-2.0.6-1.rhel5.i386.rpm
-rw-r----- 1 root root 254548 Feb 4 2009 mindi-busybox-1.7.3-1.rhel5.i386.rpm
-rw-r----- 1 root root 610882 Oct 14 2008 mkisofs-2.01-10.7.el5.i386.rpm
-rw-r----- 1 root root 934919 Feb 10 2009 mondo-2.2.8-1.rhel5.i386.rpm
-rw-r----- 1 root root 1909171 Feb 4 2009 mondo-doc-2.2.8-1.rhel5.noarch.rpm

=== cmd-line executed : mondoarchive -OVi -N -R -d /tmp/backup -E /tmp/backup -s 4480m ===

The resulting backup does not contain data because every call to "star" fails due to the "-acl" flag. Could it be related with the version of "star" brought by RHEL5.3 (star-1.5a75-2.i386) ?

Here is a mondoarchive.log extract (full file attached):
...
[Main] libmondo-archive.c->archive_this_fileset_with_star#230: res=65024; tmp='star: Processed all possible files, despite earlier errors.' [Main] libmondo-archive.c->archive_this_fileset_with_star#234: Star returned nonfatal error

[Main] libmondo-archive.c->archive_this_fileset_with_star#256: Succeeded in writing set 0, on try #2

[Main] libmondo-archive.c->create_afio_files_in_background#1134: [12467:0] - archived 0 OK [Main] libmondo-archive.c->create_afio_files_in_background#1094: [12467:0] - EXATing 2... [Main] libmondo-archive.c->create_afio_files_in_background#1107: [12467:0] - archiving 2... [Main] libmondo-archive.c->archive_this_fileset_with_star#224: command = 'star H=star list=/usr/mondo.tmp.r6Am5d/filelist.2 -c -xfflags -acl file=/usr/mondo.tmp.r6Am5d/tmpfs/2.star.bz2 -bz 2>> /var/log/mondoarchive.log'

star: Archive format 'star' does not support -acl. Usage: star cmd [options] file1 ... filen

Use star -help and star -xhelp to get a list of valid cmds and options.

Use star H=help to get a list of valid archive header formats.

Use star diffopts=help to get a list of valid diff options.
...

Attachments (2)

mondoarchive.log (542.9 KB ) - added by kritzenthaler 15 years ago.
mondoarchive.zip (41.9 KB ) - added by kritzenthaler 15 years ago.

Download all attachments as: .zip

Change History (3)

by kritzenthaler, 15 years ago

Attachment: mondoarchive.log added

by kritzenthaler, 15 years ago

Attachment: mondoarchive.zip added

comment:1 by Bruno Cornec, 15 years ago

Milestone: 2.2.102.2.9
Resolution: fixed
Status: newclosed

Fix in rev [2419] Due to an old usage of the star format which is incompatible with ACLs. Format has been changed to exustar instead.

Note: See TracTickets for help on using tickets.