I installed checkinstall 1.6.2 on CentOS 5.4 VM (VMWare Server on WinXP). After getting the dependencies installed it compiled with no errors. But when I run it in its own source directory, I keep getting an error that I can't track down. The message is:
install: cannot change ownership of '/usr/local/lib/installwatch.so': No such file or directory.
But not only does the file exist, it has the correct permissions and creation time. I am running this as root. I did change the permissions on both make and install to 0755, but that did not help. The command line is:
checkinstall -R --install=no
Any suggestions?
Bob McConnell N2SPP
----- Original Message ----
From: Bob McConnell rmcconne@lightlink.com To: CentOS mailing list centos@centos.org Sent: Thu, January 14, 2010 10:44:59 AM Subject: [CentOS] Problem with checkinstall
I installed checkinstall 1.6.2 on CentOS 5.4 VM (VMWare Server on WinXP). After getting the dependencies installed it compiled with no errors. But when I run it in its own source directory, I keep getting an error that I can't track down. The message is:
install: cannot change ownership of '/usr/local/lib/installwatch.so': No such file or directory.
But not only does the file exist, it has the correct permissions and creation time. I am running this as root. I did change the permissions on both make and install to 0755, but that did not help. The command line is:
Is SELinux enabled? it sounds like the typical SELinux-related problem.
what does "getenforce" say?
check the output of "ls -lZ /usr/local/lib/ " to get the file's context
Hope this helps
Fer
Fernando Gleiser wrote:
----- Original Message ----
From: Bob McConnell rmcconne@lightlink.com To: CentOS mailing list centos@centos.org Sent: Thu, January 14, 2010 10:44:59 AM Subject: [CentOS] Problem with checkinstall
I installed checkinstall 1.6.2 on CentOS 5.4 VM (VMWare Server on WinXP). After getting the dependencies installed it compiled with no errors. But when I run it in its own source directory, I keep getting an error that I can't track down. The message is:
install: cannot change ownership of '/usr/local/lib/installwatch.so': No such file or directory.
But not only does the file exist, it has the correct permissions and creation time. I am running this as root. I did change the permissions on both make and install to 0755, but that did not help. The command line is:
Is SELinux enabled? it sounds like the typical SELinux-related problem.
what does "getenforce" say?
check the output of "ls -lZ /usr/local/lib/ " to get the file's context
'getenforce' returns "Disabled"
'ls -lZ /usr/local/lib/' returns
drwxr-xr-x root root checkinstall -rwxr-xr-x root root installwatch.so
'ls -alZ' adds current and parent owned by root.root with context:
system_u:object_r:lib_t:s0 . system_u:object_r:usr_t:s0 ..
Bob McConnell N2SPP