Frank Lahm | 1 Jun 2012 13:29

Netatalk 3.0 beta2 is available

Netatalk 3.0 beta2
==================

The Netatalk development team is proud to announce the release of
the second beta version of the new major Netatalk release 3.0.
This release is NOT intended for production systems.

Netatalk is a freely-available Open Source AFP fileserver.
A *NIX/*BSD system running Netatalk is capable of serving many Macintosh
clients simultaneously as an AppleShare file server (AFP).

The suite contains:

* netatalk   - the main server service controller
* afpd       - the AFP file server daemin
* cnid_metad - the CNID database multiplexing daemon
* cnid_dbd   - the CNID database daemon serving CNIDs for AFP volumes
* various supporting programs and utilities

Summary of major new features and enhancements in 3.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* New ini style configuration file afp.conf which replaces all previous
  configuration files
* New default AppleDouble backend using filesytem Extended Attributes,
  conversion from AppleDouble v2 is done automatically on access
* New service controller process "netatalk" responsible for starting and
  restarting afpd and cnid_metad as necessary
* AppleTalk support has been removed
* Coherent cross-platform locking with Solaris CIFS server
(Continue reading)

HAT | 1 Jun 2012 16:03
Picon
Gravatar

starting order

Hi, 
SMF still has a problem.
netatalk starts before mDNSResponder.

$ svcs multicast netatalk
STATE          STIME    FMRI
online         22:49:14 svc:/network/netatalk:default
online         22:49:28 svc:/network/dns/multicast:default

log:
Jun 01 22:45:17.477221 netatalk[16683] {netatalk.c:327} (N:AFPDaemon): Netatalk AFP server exiting
Jun 01 22:49:14.423579 netatalk[470] {netatalk.c:280} (N:Default): Netatalk AFP server starting
Jun 01 22:49:14.498717 cnid_metad[472] {cnid_metad.c:518} (N:AFPDaemon): CNID Server listening on localhost:4700
Jun 01 22:49:24.501256 afpd[471] {afp_config.c:109} (N:AFPDaemon): Netatalk AFP/TCP listening on 192.168.1.149:548
Jun 01 22:49:27.760585 afpd[471] {afp_mdns.c:207} (E:AFPDaemon): Failed to add service:
_afpovertcp._tcp, error=-65537

--

-- 
HAT

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Frank Lahm | 1 Jun 2012 17:01

Re: starting order

2012/6/1 HAT <hat <at> fa2.so-net.ne.jp>:
> Hi,
> SMF still has a problem.
> netatalk starts before mDNSResponder.
>
> $ svcs multicast netatalk
> STATE          STIME    FMRI
> online         22:49:14 svc:/network/netatalk:default
> online         22:49:28 svc:/network/dns/multicast:default
>
> log:
> Jun 01 22:45:17.477221 netatalk[16683] {netatalk.c:327} (N:AFPDaemon): Netatalk AFP server exiting
> Jun 01 22:49:14.423579 netatalk[470] {netatalk.c:280} (N:Default): Netatalk AFP server starting
> Jun 01 22:49:14.498717 cnid_metad[472] {cnid_metad.c:518} (N:AFPDaemon): CNID Server listening on localhost:4700
> Jun 01 22:49:24.501256 afpd[471] {afp_config.c:109} (N:AFPDaemon): Netatalk AFP/TCP listening on 192.168.1.149:548
> Jun 01 22:49:27.760585 afpd[471] {afp_mdns.c:207} (E:AFPDaemon): Failed to add service:
_afpovertcp._tcp, error=-65537

[develop fc7cdce] Add mdns as optional dependency to Netatalk SMF manifest
should fix it.
-f

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Netatalk-devel mailing list
(Continue reading)

HAT | 1 Jun 2012 18:57
Picon
Gravatar

Re: starting order

Frank Lahm <franklahm <at> googlemail.com>, 1 Jun 2012 17:01:54 +0200
> 2012/6/1 HAT <hat <at> fa2.so-net.ne.jp>:
>> Hi,
>> SMF still has a problem.
>> netatalk starts before mDNSResponder.
>>
>> $ svcs multicast netatalk
>> STATE          STIME    FMRI
>> online         22:49:14 svc:/network/netatalk:default
>> online         22:49:28 svc:/network/dns/multicast:default
>>
>> log:
>> Jun 01 22:45:17.477221 netatalk[16683] {netatalk.c:327} (N:AFPDaemon): Netatalk AFP server exiting
>> Jun 01 22:49:14.423579 netatalk[470] {netatalk.c:280} (N:Default): Netatalk AFP server starting
>> Jun 01 22:49:14.498717 cnid_metad[472] {cnid_metad.c:518} (N:AFPDaemon): CNID Server listening on localhost:4700
>> Jun 01 22:49:24.501256 afpd[471] {afp_config.c:109} (N:AFPDaemon): Netatalk AFP/TCP listening on 192.168.1.149:548
>> Jun 01 22:49:27.760585 afpd[471] {afp_mdns.c:207} (E:AFPDaemon): Failed to add service:
_afpovertcp._tcp, error=-65537
> 
> [develop fc7cdce] Add mdns as optional dependency to Netatalk SMF manifest
> should fix it.

ok!

$ svcs  multicast netatalk
STATE          STIME    FMRI
online          1:33:28 svc:/network/dns/multicast:default
online          1:33:28 svc:/network/netatalk:default

BTW,
(Continue reading)

Oichinokata | 2 Jun 2012 19:17
Favicon

apple_dump reports errors if a file name contains white space

Hello,

I am a netatalk user, and I have joined this ML recently.

I have installed netatalk 3.0beta2 on Ubuntu 10.04, and run "apple_dump" command.

"apple_dump" command reports errors if a file name contains " " (white space).

$ apple_dump Screen\ shot\ 2012-06-02\ at\ 1.07.24.png 
"Screen shot 2012-06-02 at 1.07.24.png" is not AppleSingle/AppleDouble format.
getfattr: Screen: No such file or directory
getfattr: shot: No such file or directory
getfattr: 2012-06-02: No such file or directory
getfattr: at: No such file or directory
getfattr: 1.07.24.png: No such file or directory
AppleSingle/AppleDouble data is not found.

I have made a patch below.

================================================================
$ diff -u apple_dump.org apple_dump
--- apple_dump.org	2012-06-01 21:29:23.000000000 +0900
+++ apple_dump	2012-06-03 01:17:28.490826622 +0900
 <at>  <at>  -833,6 +833,7  <at>  <at> 
sub checkea {
my ($file) =  <at> _;

+    $file =~ s/ /\\ /g;
if ( $eacommand == 1 ) {
	open(EALIST, "getfattr ".$file." |");
(Continue reading)

Oichinokata | 2 Jun 2012 18:53
Favicon

apple_dump reports errors if a file name contains white space

Hello,

I am a netatalk user, and I have joined this ML recently.

I have installed netatalk 3.0beta2 on Ubuntu 10.04, and run "apple_dump" command.

"apple_dump" command reports errors if a file name contains " " (white space).

$ apple_dump Screen\ shot\ 2012-06-02\ at\ 1.07.24.png 
"Screen shot 2012-06-02 at 1.07.24.png" is not AppleSingle/AppleDouble format.
getfattr: Screen: No such file or directory
getfattr: shot: No such file or directory
getfattr: 2012-06-02: No such file or directory
getfattr: at: No such file or directory
getfattr: 1.07.24.png: No such file or directory
AppleSingle/AppleDouble data is not found.

I have made a patch below.

================================================================
$ diff -u apple_dump.org apple_dump
--- apple_dump.org	2012-06-01 21:29:23.000000000 +0900
+++ apple_dump	2012-06-03 01:17:28.490826622 +0900
 <at>  <at>  -833,6 +833,7  <at>  <at> 
sub checkea {
my ($file) =  <at> _;

+    $file =~ s/ /\\ /g;
if ( $eacommand == 1 ) {
	open(EALIST, "getfattr ".$file." |");
(Continue reading)

HAT | 4 Jun 2012 16:55
Picon
Gravatar

Re: apple_dump reports errors if a file name contains white space

Oichinokata <oichinokata <at> oichinote.com>, 3 Jun 2012 01:53:04 +0900
>"apple_dump" command reports errors if a file name contains " " (white space).

"'", """ and "\" also cause the same problem...
It is necessary to consider carefully more.

--

-- 
HAT

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
HAT | 4 Jun 2012 17:56
Picon
Gravatar

Re: apple_dump reports errors if a file name contains white space

> Oichinokata <oichinokata <at> oichinote.com>, 3 Jun 2012 01:53:04 +0900
>>"apple_dump" command reports errors if a file name contains " " (white space).
> 
> "'", """ and "\" also cause the same problem...
> It is necessary to consider carefully more.

Fixed in git.
<http://netatalk.git.sourceforge.net/git/gitweb.cgi?p=netatalk/netatalk;a=commit;h=45de28fff51f6dcc354c4fabfda9bdb570324194>

Thanks!

--

-- 
HAT

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Oichinokata | 4 Jun 2012 18:07
Favicon

Re: apple_dump reports errors if a file name contains white space

Thank you very much.

  Oichinokata

On 2012/06/05, at 0:56, HAT wrote:

>> Oichinokata <oichinokata <at> oichinote.com>, 3 Jun 2012 01:53:04 +0900
>>> "apple_dump" command reports errors if a file name contains " " (white space).
>> 
>> "'", """ and "\" also cause the same problem...
>> It is necessary to consider carefully more.
> 
> Fixed in git.
> <http://netatalk.git.sourceforge.net/git/gitweb.cgi?p=netatalk/netatalk;a=commit;h=45de28fff51f6dcc354c4fabfda9bdb570324194>
> 
> Thanks!
> 
> -- 
> HAT

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
HAT | 10 Jun 2012 03:43
Picon
Gravatar

--enable-fhs is wrong

Hi,

$ ./bootstrap
$ ./configure --with-init-style=redhat-systemd --enable-fhs
$ make
$ etc/afpd/afpd -v
afpd 3.0dev - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

          AFP versions: 2.2 3.0 3.1 3.2 3.3 
         CNID backends: dbd last tdb 

              afp.conf: /etc/netatalk/afp.conf
       state directory: /usr/local/var/netatalk/
    afp_signature.conf: /usr/local/var/netatalk/afp_signature.conf
      afp_voluuid.conf: /usr/local/var/netatalk/afp_voluuid.conf
       UAM search path: /usr/local/lib/netatalk/
  Server messages path: /etc/netatalk/msg/


Are these paths right?

--

-- 
HAT
(Continue reading)


Gmane