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#14561 - uptimed is checking /usr/etc/ instead of /etc/ for config files
Attached to Project:
Community Packages
Opened by Isaac G (IsaacG) - Sunday, 03 May 2009, 04:48 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 04 May 2009, 08:55 GMT
Opened by Isaac G (IsaacG) - Sunday, 03 May 2009, 04:48 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 04 May 2009, 08:55 GMT
|
Detailspkgname=uptimed
pkgver=0.3.16 pkgrel=1 uptimed is checking /usr/etc/ instead of /etc/ for config files I confirmed by running makepkg -o to get the src, added a printf() to show what config file it was trying to open and makepkg -e Config location stores in #define'd FILE_CONFIG Several Makefiles* contain: AM_CFLAGS = -march=native -O2 -pipe -fomit-frame-pointer -DFILE_CONFIG=\"$(sysconfdir)/uptimed.conf\" configure has: sysconfdir='${prefix}/etc' PKGBUILD has: ./configure --prefix=/usr Guess the issue is that PKGBUILD line. Not sure why it has that prefix bit... |
This task depends upon
> ./configure
resulted in it using /usr/local/etc/uptimed.conf for the config file.
Changing the ./configure script to use
> sysconfdir='/etc'
caused it to use /etc/uptimed.conf file for configs.
Not sure how this out to be handled.
./configure --prefix=/usr --sysconfdir=/etc
Confirming that that fix does work.