![]() default have my LAN subnet in the "allowed_hosts" parameter. I know working this way is much less secure, but I can handle it for a short period of time since my server is behind a firewall that only responds to my LAN network and the volumes configured on my AppleVolumes. default was the final piece of the puzzle and the whole thing might be a suitable workaround for others until we have a resolution. Adding "allow:nobody" to the relevant volume configs in AppleVolumes. This enabled me to connect to the server without crashing afpd but I couldn't connect to my volumes since now I was "nobody". On a hunch, I tried removing uam_dhx2 altogether and replaced it with uam_guest. Oct 15 00:24:29 fermion kernel: afpd: segfault at 0 ip (null) sp bf80020c error 4 in uams_dhx2_ pam.soīeing on Lion, I cannot use the uams_dhx UAM instead of uam_dhx2. Oct 15 00:24:24 fermion kernel: afpd: segfault at 0 ip (null) sp bf80020c error 4 in uams_dhx2_ pam.so That seems to point the problem to the uams_dhx2_pam.so module: I managed to see that afpd (actually libnetatalk) is registering a SIGSEGV handler and disabled it. I tried to understand the core of the issue but my debugging skills are not that good. Like other commenters I tried to compile newer 2.2.1 to no avail. I ran into this on my 32-bit system the moment I upgraded to Ocelot this morning. UpgradeStatus: Upgraded to oneiric on (1 days ago) ProcVersionSign ature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7 ![]() Jul 14 21:25:36 ubuntu afpd: #0 /usr/sbin/ afpd(netatalk_ panic+0x1c) Jul 14 21:25:36 ubuntu afpd: BACKTRACE: 3 stack frames: Worked fine in Natty before upgrade to ocelot Mount -t hfsplus -o force `blkid -U $DUUID` $MNTPĮcho "Usage: /etc/init.Netatalk shows kernel panic in syslog when trying to connect to server in OS X 10.6.8. # Description: Enable TimeMachine service and mount the drive.Įcho "This script must be run as root" 1>&2 Restart netatalk sudo service netatalk restart Time Machine folder for user B - limited to 200GB Time Machine folder for user A - limited to 400GB Backup folder for every user in group 'backup' Make sure to create the folders specified in the path of each volume. The configuration file is found under /usr/local/etc/afp.conf. Set appropriate permissions sudo chown backup:backup /mnt/Backup In order to mount and use this drive we have to install the necessary HFS packages: sudo apt-get install hfsplus hfsutils hfsprogsĬreate the mount destination folder sudo mkdir /mnt/BackupĪdd the drive to /etc/fstab UUID= /mnt/Backup hfsplus force,defaults 0 0 I am using a USB HDD, which was formatted on my Mac as a HFS+ (journaled) volume. Use the option -fstrans=no to prevent failing of mkdir -p commands during the install. ![]() ![]() configure -with-init-style=debian -with-zeroconf -with-cracklib -with-pam-confdir=/etc/pam.d -with-dbus-sysconf-dir=/etc/dbus-1/system.dĪfter successfull configuration the configure summary should look like this Configure summary:ĭbus system directory: /etc/dbus-1/system.d ![]() Build Install dependenciesĪpt-get install automake libtool build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev libssl-dev libdb5.3-dev db-util db5.1-util libgcrypt20 libgcrypt-dev libcrack2-dev libpam0g-dev libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libwrap0-dev systemtap-sdt-dev libacl1-dev libldap2-dev Download and unpack netatalk 3.1.2 wget Building and setting up netatalk 3.1.2 on Debian Jessie 8.0 1. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |