On Sun, 2017-11-26 at 11:27 -0800, Kevin Fenzi wrote: > Greetings. > > as noted in downstream Fedora bug ( https://bugzilla.redhat.com/show_bug.cgi? > id=1517387 ) there's been a change in rpm's handling of queryformat with > %{ARCH} in it with the rpm shipped in Fedora 27. > > This results in: > > /bin/rpm -qf --queryformat > '[%{FILEMODES:octal}:%{FILEUSERNAME}:%{FILEGROUPNAME}:%{FILESIZES}:%{FILEMTIM > ES}:%{FILEMD5S}:%{ARCH}:%{FILELINKTOS}:%{FILENAMES}]\n' /usr/bin/rpm > error: incorrect format: array iterator used with different sized arrays > > ARCH is now just one value for the entire package instead of a value for > every file in that package. > > However, it's easy to get the old behavior by adding a = to the front of the > format with different array size. ie, %{=ARCH}. This also works on f25, f26, > el6 and el7 rpm. > > So, I think the fix is simple. > Hi,
Thanks for this. I had already noticed the problem. The development version of rkhunter (now at http://rkhunter.sourceforge.net/rkhunter-dev.tar.gz; or use commit fc99a3) has the fix in (using '=ARCH'). John. -- John Horne | Senior Operations Analyst | Technology and Information Services University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK ________________________________ [http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass> This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, Plymouth University accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. Plymouth University does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users