Re: Amanda Community release 3.5.2 - debian test packages

2022-09-19 Thread gene heskett

On 9/19/22 14:49, Charles Curley wrote:

On Fri, 16 Sep 2022 11:52:18 -0400
gene heskett  wrote:


The first thing I note is the use of port 5000, and I'm wondering
about the possibility of fighting
over the ports as Octoprint uses FQDN:5000 as its web server to
administer its designated 3d printer.

Gene, I don't know where you get port 5000. According to /etc/services,
IANA has assigned amanda ports 10080-10083 inclusive. And amanda uses
those only if you don't run amanda over ssh.

root@hawk:~# grep amanda /etc/services
amanda  10080/tcp   # amanda backup services
kamanda 10081/tcp   # amanda backup services 
(Kerberos)
amandaidx   10082/tcp   # amanda backup services
amidxtape   10083/tcp   # amanda backup services
root@hawk:~#

I got that directly from the download links accompanying propaganda 
page. I thought
it was strange at the time because all I've ever seen is your list 
above, until now.
If that page is in error, it s/b fixed.  Either that, or FF missfired. 
Rare, but it

has happened.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Amanda Community release 3.5.2 - debian test packages

2022-09-19 Thread Charles Curley
On Fri, 16 Sep 2022 11:52:18 -0400
gene heskett  wrote:

> The first thing I note is the use of port 5000, and I'm wondering
> about the possibility of fighting
> over the ports as Octoprint uses FQDN:5000 as its web server to 
> administer its designated 3d printer.

Gene, I don't know where you get port 5000. According to /etc/services,
IANA has assigned amanda ports 10080-10083 inclusive. And amanda uses
those only if you don't run amanda over ssh.

root@hawk:~# grep amanda /etc/services 
amanda  10080/tcp   # amanda backup services
kamanda 10081/tcp   # amanda backup services 
(Kerberos)
amandaidx   10082/tcp   # amanda backup services
amidxtape   10083/tcp   # amanda backup services
root@hawk:~# 

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Re: Amanda Community release 3.5.2 - debian test packages

2022-09-19 Thread gene heskett

On 9/19/22 03:19, Stefan G. Weichinger wrote:

Am 16.09.22 um 17:52 schrieb gene heskett:

The first thing I note is the use of port 5000, and I'm wondering 
about the possibility of fighting
over the ports as Octoprint uses FQDN:5000 as its web server to 
administer its designated 3d printer.


I expect its changeable, and I've done it to Octoprint just for test, 
works fine. But is that a potential
problem if octoprint is sitting idle on a client at the time amanda 
gets fired up? Something to check

out I think, Stefan. Thanks.


Where do you see that port 5000?

Not where, what. octoprint runs as a web server which you send a browser 
to localhost:5000
on the machine running it, or if remote from that machine, you can also 
use for instance,
rock64v2:5000, but you have to login to see what octoprint is doing..  
firefox has a couple

cows babout  insecure logins, but can be coerced to work,
The octoprint instance is for pi's, but in this case its actually 
running inside a named venv
on a rock64, old v2, running armbian jammy. I have two of those setup on 
my local network.


I just looked at a print I started on that machine 10 minutes ago.

I grep through the sources and I am not sure ...

my installation in a test VM seems to work so far, although not yet 
fully compatible to the Debian packages, as Jose mentioned


The supplied by debian clients always worked, up until I lost both 2T 
seagate
drives in the same week last october, / and /amandatapes. But I always 
drove
those clients with my own build as server. Debians definition of the box 
its

supposed to run in doesn't quite match my personal view of security.

But that is a different horse entirely.

The problem i'm concerned with is the new versions use of port 5000, when
there is a running instance of octoprint someplace on ones local network.
Octoprint can be moved, I've done it, but so I expect amanda can be too,
just haven't investigated the tarball I grabbed a couple days ago. Even 
at my age,

88 in a couple weeks, I still have other irons in the fire.

Take care & stay well Stefan.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Amanda Community release 3.5.2 - debian test packages

2022-09-19 Thread Stefan G. Weichinger

Am 16.09.22 um 17:52 schrieb gene heskett:

The first thing I note is the use of port 5000, and I'm wondering about 
the possibility of fighting
over the ports as Octoprint uses FQDN:5000 as its web server to 
administer its designated 3d printer.


I expect its changeable, and I've done it to Octoprint just for test, 
works fine. But is that a potential
problem if octoprint is sitting idle on a client at the time amanda gets 
fired up? Something to check

out I think, Stefan. Thanks.


Where do you see that port 5000?

I grep through the sources and I am not sure ...

my installation in a test VM seems to work so far, although not yet 
fully compatible to the Debian packages, as Jose mentioned




Re: Amanda Community release 3.5.2 - debian test packages

2022-09-19 Thread Stefan G. Weichinger

Am 16.09.22 um 16:55 schrieb gene heskett:

On 9/16/22 07:28, Stefan G. Weichinger wrote:
I might rebuild later if needed, just wanted to share asap. Right now 
I am quite busy with X things.


.

I agree, Wayland in place of X needs all the help it can get.


I didn't mean X11 ;-)  .. wanted to say something like "busy with many 
things"


No issues with Wayland here, btw.



Re: Amanda Community release 3.5.2 - debian test packages

2022-09-16 Thread gene heskett

On 9/16/22 07:28, Stefan G. Weichinger wrote:

Am 02.08.22 um 17:26 schrieb Jose M Calhariz:


I am not doing progress in solving the autotools problems.

I copied debian directory from official Debian 3.5.1, refresh patches,
and "debuild".  I fails with alot of warnings and this relevant error:

automake: error: cannot open < config/amanda/file-list: No such file 
or directory

autoreconf: automake failed with exit status: 1
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path 
'*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' 
\) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p

" > debian/autoreconf.after
dh_autoreconf: autoreconf -f -i returned exit code 1
make: *** [debian/rules:41: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2

debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -ICVS -I.svn failed


I was able to build debian packages today. This is straight from the 
github repository, I only applied one patch to the 3.5.2 code to make 
it work (that patch is in 3.6 beta already).


I decide to share the packages all you amanda-users, just to get some 
testing and reviewing going:


https://oc.oops.co.at/nextcloud/s/kRbZ82ikQ4a8gjn

! these are no official upstream packages or so ! I cannot guarantee 
for anything :-) !


Looking forward to any test results or so. Pls only use these packages 
in TEST environments.


one more:

I remember differences between upstream and debian: backup user etc

I might rebuild later if needed, just wanted to share asap. Right now 
I am quite busy with X things.


.
The first thing I note is the use of port 5000, and I'm wondering about 
the possibility of fighting
over the ports as Octoprint uses FQDN:5000 as its web server to 
administer its designated 3d printer.


I expect its changeable, and I've done it to Octoprint just for test, 
works fine. But is that a potential
problem if octoprint is sitting idle on a client at the time amanda gets 
fired up? Something to check

out I think, Stefan. Thanks.

Take care and stay well.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Amanda Community release 3.5.2 - debian test packages

2022-09-16 Thread gene heskett

On 9/16/22 07:28, Stefan G. Weichinger wrote:

Am 02.08.22 um 17:26 schrieb Jose M Calhariz:


I am not doing progress in solving the autotools problems.

I copied debian directory from official Debian 3.5.1, refresh patches,
and "debuild".  I fails with alot of warnings and this relevant error:

automake: error: cannot open < config/amanda/file-list: No such file 
or directory

autoreconf: automake failed with exit status: 1
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path 
'*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' 
\) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p

" > debian/autoreconf.after
dh_autoreconf: autoreconf -f -i returned exit code 1
make: *** [debian/rules:41: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2

debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -ICVS -I.svn failed


I was able to build debian packages today. This is straight from the 
github repository, I only applied one patch to the 3.5.2 code to make 
it work (that patch is in 3.6 beta already).


I decide to share the packages all you amanda-users, just to get some 
testing and reviewing going:


https://oc.oops.co.at/nextcloud/s/kRbZ82ikQ4a8gjn

! these are no official upstream packages or so ! I cannot guarantee 
for anything :-) !


Looking forward to any test results or so. Pls only use these packages 
in TEST environments.


one more:

I remember differences between upstream and debian: backup user etc

I might rebuild later if needed, just wanted to share asap. Right now 
I am quite busy with X things.


.
I agree, Wayland in place of X needs all the help it can get. I just 
pulled the 4, 3.6.0 branch files
but I'll have to start it up from scratch. Total loss of nearly 
everything last October.


Thank you Stefan

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page