Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8858 - Beagle's install script does not set the ownership to beaglidx for crawl dir /var/cache/beagle
Attached to Project:
Arch Linux
Opened by Riri (chicha) - Thursday, 06 December 2007, 20:36 GMT
Last edited by Varun Acharya (ganja_guru) - Monday, 10 December 2007, 18:38 GMT
Opened by Riri (chicha) - Thursday, 06 December 2007, 20:36 GMT
Last edited by Varun Acharya (ganja_guru) - Monday, 10 December 2007, 18:38 GMT
|
DetailsDescription:
Beagle crawl system failes because of wrong permissions for directory /var/cache/beagle. The directory belongs to root instead of beaglidx. This should be set in the install script. Additional info: * package version(s) beagle 0.3.0-2 * config and/or log files etc. 21:26 root ~]# /etc/cron.daily/beagle-crawl-system /etc/cron.daily/beagle-crawl-system: Processing files in /etc/beagle... /etc/cron.daily/beagle-crawl-system: Processing /etc/beagle/crawl-applications... Error: Unhandled exception thrown. Exiting immediately. System.TypeInitializationException: An exception was thrown by the type initializer for Beagle.Util.Conf ---> System.UnauthorizedAccessException: Access to the path "/var/cache/beagle/indexes/applications" is denied. at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] at System.IO.Directory.CreateDirectory (System.String path) [0x00000] at System.IO.DirectoryInfo.Create () [0x00000] at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create () at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] at System.IO.Directory.CreateDirectory (System.String path) [0x00000] at Beagle.Util.Conf..cctor () [0x00000] --- End of inner exception stack trace --- at <0x00000> <unknown method> at Beagle.Daemon.BuildIndex.DoMain (System.String[] args) [0x00000] at Beagle.Daemon.BuildIndex.Main (System.String[] args) [0x00000] /etc/cron.daily/beagle-crawl-system: Finished processing /etc/beagle/crawl-applications. /etc/cron.daily/beagle-crawl-system: Processing files in /etc/beagle... /etc/cron.daily/beagle-crawl-system: Processing /etc/beagle/crawl-documentation... Error: Unhandled exception thrown. Exiting immediately. System.TypeInitializationException: An exception was thrown by the type initializer for Beagle.Util.Conf ---> System.UnauthorizedAccessException: Access to the path "/var/cache/beagle/indexes/documentation" is denied. at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] at System.IO.Directory.CreateDirectory (System.String path) [0x00000] at System.IO.DirectoryInfo.Create () [0x00000] at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create () at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] at System.IO.Directory.CreateDirectory (System.String path) [0x00000] at Beagle.Util.Conf..cctor () [0x00000] --- End of inner exception stack trace --- at <0x00000> <unknown method> at Beagle.Daemon.BuildIndex.DoMain (System.String[] args) [0x00000] at Beagle.Daemon.BuildIndex.Main (System.String[] args) [0x00000] /etc/cron.daily/beagle-crawl-system: Finished processing /etc/beagle/crawl-documentation. /etc/cron.daily/beagle-crawl-system: Processing files in /etc/beagle... /etc/cron.daily/beagle-crawl-system: Processing /etc/beagle/crawl-windows... Error: Unhandled exception thrown. Exiting immediately. System.TypeInitializationException: An exception was thrown by the type initializer for Beagle.Util.Conf ---> System.UnauthorizedAccessException: Access to the path "/var/cache/beagle/indexes/windows" is denied. at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] at System.IO.Directory.CreateDirectory (System.String path) [0x00000] at System.IO.DirectoryInfo.Create () [0x00000] at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create () at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] at System.IO.Directory.CreateDirectory (System.String path) [0x00000] at Beagle.Util.Conf..cctor () [0x00000] --- End of inner exception stack trace --- at <0x00000> <unknown method> at Beagle.Daemon.BuildIndex.DoMain (System.String[] args) [0x00000] at Beagle.Daemon.BuildIndex.Main (System.String[] args) [0x00000] /etc/cron.daily/beagle-crawl-system: Finished processing /etc/beagle/crawl-windows. Steps to reproduce: Set the DEBUG variable to 1 in file /etc/cron.daily/beagle-crawl-system. Then run /etc/cron.daily/beagle-crawl-system as root. This issue is very easy to fix : chown -R beaglidx:beaglidx /var/cache/beagle This should also be fixed in the PKGBUILD / install script. I hope it helped ! Thank you to the devs for packaging this great tool :-) Cheers, Chicha |
This task depends upon
http://beagle-project.org/Known_Issues