Description: Fix use FHS-compatible state dir /var/lib/netatalk Author: Jonas Smedegaard Forwarded: no Last-Update: 2019-02-15 Modified for Alpine --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ diff --git a/doc/manual/configuration.xml b/doc/manual/configuration.xml index 96d3947..ee6436a 100644 --- a/doc/manual/configuration.xml +++ b/doc/manual/configuration.xml @@ -173,7 +173,7 @@ basedir regex = /usr/home database storing ID <-> name mappings. The CNID Databases are by default located in - /var/netatalk/CNID. + /var/lib/netatalk/CNID. There is a command line utility called dbd available which can be used to verify, repair and rebuild the CNID @@ -1614,9 +1614,9 @@ aclmode = passthrough If the .tracker_profile file does not exist, create it first. If you need to make the environment variables persistent, source .tracker_profile from /root/.profile. Adjust PREFIX to point to the base directory Netatalk is installed to.$ su # cat .tracker_profile PREFIX="/usr/local" -export XDG_DATA_HOME="$PREFIX/var/netatalk/" -export XDG_CACHE_HOME="$PREFIX/var/netatalk/" -export DBUS_SESSION_BUS_ADDRESS="unix:path=$PREFIX/var/netatalk/spotlight.ipc" +export XDG_DATA_HOME="$PREFIX/var/lib/netatalk/" +export XDG_CACHE_HOME="$PREFIX/var/lib/netatalk/" +export DBUS_SESSION_BUS_ADDRESS="unix:path=$PREFIX/var/lib/netatalk/spotlight.ipc" # . .tracker_profile # diff --git a/doc/manual/upgrade.xml b/doc/manual/upgrade.xml index bbe03ca..caae02d 100644 --- a/doc/manual/upgrade.xml +++ b/doc/manual/upgrade.xml @@ -137,8 +137,8 @@ The CNID databases are now stored under - /var/netatalk/CNID/ - by default. You can use configure --localstatedir=PATH at + /var/lib/netatalk/CNID/ + on Alpine systems. You can use configure --localstatedir=PATH at compile time to change the location. @@ -183,8 +183,8 @@ Move afp_voluuid.conf and - afp_signature.conf to the localstate directory (default - /var/netatalk/), you can use afpd -v + afp_signature.conf to the localstate directory (Debian uses + /var/lib/netatalk/), you can use afpd -v in order to find the correct path