I have an RPM which does
- File copy (say, 123.so )
- in %post, runs
If copy the same files manually (user is root) and launch the same command manually, then everything works. If I create an RPM which does exactly the same, then the script fails with "file not found" exception (though the specified file does exist).
What is the difference between RPM and copy&execute commands? I suppose that RPM does something, which prevents script from normal working, but what could that be? Is where any way to track things performed by RPM installator?
I have CentOS,
/etc/init.d/VontuMonitor is a 3rd-party script.
[UPD] This is my RPM and I'm sure that there is nothing but file copy and this command in spec-file.