Bug 69647 - binaries are hardcoded with the wrong config directory
Summary: binaries are hardcoded with the wrong config directory
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: netatalk
Version: 7.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
: 71002 74636 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-24 03:22 UTC by Need Real Name
Modified: 2015-03-05 01:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-24 03:27:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-07-24 03:22:59 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530

Description of problem:
Config info for afpd in /etc/atalk/afpd.conf is ignored as the program
looks in /usr/etc/netatalk.

$ strings /usr/sbin/afpd | grep afpd.conf
/usr/etc/netatalk/afpd.conf


Version-Release number of selected component (if applicable):
1.5.2-3


How reproducible:
Always

Steps to Reproduce:
1. Change config in /etc/atalk/afpd.conf
2. Run /etc/rc.d/init.d/atalk restart
	

Actual Results:  Configured Servers fail to appear

Expected Results:  Well they should be registered!

Additional info:

The fix is to add --with-pkgconfdir=/etc/atalk to the spec file and
rebuild the package (see below).

%build
CFLAGS="$RPM_OPT_FLAGS -fsigned-char" ./configure --prefix=%{_prefix} \
        --with-cracklib --with-pam --with-shadow --with-tcp-wrappers \
        --with-ssl --with-flock-locksi --with-uams-path=%{_libdir} \
        --with-pkgconfdir=/etc/atalk

Alternatively add the -F /etc/atalk/afpd.conf to the init script.  Note that the
-F switch is not in the man page.

Doug

Comment 1 Need Real Name 2002-07-24 03:26:57 UTC
After reconfiguring with --with-pkgconfdir=/etc/atalk

$ strings afpd | grep /etc/atalk
/etc/atalk/afpd.conf
/etc/atalk/nls/
/etc/atalk/afppasswd
/etc/atalk/AppleVolumes.default
/etc/atalk/AppleVolumes.system

Comment 2 Phil Knirsch 2002-08-07 14:44:46 UTC
Fixed in latest netatalk-1.5.3.1-4 package available via rawhide.

Read ya, Phil

Comment 3 Phil Knirsch 2002-08-08 11:29:02 UTC
*** Bug 71002 has been marked as a duplicate of this bug. ***

Comment 4 Phil Knirsch 2002-09-28 06:43:22 UTC
*** Bug 74636 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.