[MCOL-860] temp file error when using yum localinstall Created: 2017-08-07  Updated: 2017-08-16  Resolved: 2017-08-16

Status: Closed
Project: MariaDB ColumnStore
Component/s: installation
Affects Version/s: 1.0.10
Fix Version/s: 1.0.11, 1.1.0

Type: Bug Priority: Major
Reporter: David Thompson (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

CentOS 7


Sprint: 2017-16

 Description   

With 1.0.10 if you use yum localinstall on centos7 then you get something like the following error at the end:
Exception OSError: (2, 'No such file or directory', '/tmp/tmpMHNTcy') in <bound method TemporaryFileWrapper.del_ of <closed file '<fdopen>', mode 'w+b' at 0x2153db0>> ignored
Complete!
[root@centos ~]#

This is benign and can be ignored but is bad to see.

This does not happen if you use rpm which is the documented approach. Ive used yum localinstall with past versions without this error.



 Comments   
Comment by David Hill (Inactive) [ 2017-08-15 ]

fixed. Issue was a statement in post-install that deleted files from /tmp/ But it was also deleting a temp file used by yum. So removed that statement. Was only there to resolve an issue where a non-root install will fail on a system that had a root install done before.

develop-1.0

commit 1cae6db09da6481dac18fb534d9573790759dcbf
Author: david hill <david.hill@mariadb.com>
Date: Tue Aug 15 13:29:50 2017 -0500

MCOL-860 - remove comment to delete files from /tmp in post-install

oam/install_scripts/post-install | 6 ++----

commit c147cc67e5edac328e0fbeda4e995edddef46ca1
Author: david hill <david.hill@mariadb.com>
Date: Tue Aug 15 13:30:59 2017 -0500

MCOL-860 - remove comment to delete files from /tmp in post-install

oam/install_scripts/post-install | 5 ++---

Comment by David Hill (Inactive) [ 2017-08-15 ]

how to test...

place 1.0.11 / 1.1.0 rpm packages onto a centos system.

then run and make sure the error does get reported.

yum localinstall mariadb-columnstore*rpm

Comment by Daniel Lee (Inactive) [ 2017-08-16 ]

Build verified: 1.0.11-1 and 1.1.0-1

Generated at Thu Feb 08 02:24:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.