Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Turritopsis Dohrnii Teo En Ming
Noted with thanks.

On Fri, Feb 15, 2019 at 6:04 PM Adam Weremczuk  wrote:
>
> The upload volume is currently capped at 750GB per day:
>
> https://support.google.com/a/answer/172541?hl=en
>
> So it would take you about 67 days to push to a single account and about
> 14 days if you split the data into 5 even chunks and push simultaneously
> to 5 accounts.
>
> You would need a very fast internet connection to go much faster with
> any provider anyway.
>
>
> On 15/02/19 09:48, Adam Weremczuk wrote:
> > Actually even a cheaper "Business" plan offers unlimited storage for 5
> > or more users.
> >
> > So you might spend as little as $50 per month:
> >
> > https://gsuite.google.com/intl/en_us/pricing.html
> >
> > My links are for UK and US.
> >
> > Edit the URL to browse different regions.
> >
> >
> > On 15/02/19 09:34, Adam Weremczuk wrote:
> >> Hi,
> >>
> >> It could make sense to sign up for Google Enterprise subscription:
> >>
> >> https://gsuite.google.co.uk/intl/en_uk/pricing.html
> >>
> >> 5 users will cost you 5 x £20 = £100 per month and give 5 accounts
> >> with unlimited storage in a trusted and reliable place.
> >>
> >> AFAIK there is upload speed cap in place so it may take you many days
> >> to complete the initial push.
> >>
> >> Moving forward I would recommend rsync or similar for differential
> >> data updates.
> >>
> >> Not sure why you've posted your question to this list though?
> >>
> >> Thanks,
> >> Adam
> >
>

===BEGIN EMAIL SIGNATURE===

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: 
https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html



Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

===END EMAIL SIGNATURE===



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Turritopsis Dohrnii Teo En Ming
Noted with thanks.

On Fri, Feb 15, 2019 at 5:53 PM Curt  wrote:
>
> On 2019-02-15, Turritopsis Dohrnii Teo En Ming  wrote:
> >
> > Basically personal data. I don't intend to access the data in the
> > Cloud often. Just want to park it permanently in the Cloud. Maybe I
> > can access the Cloud from anywhere in the world?
> >
>
>
> https://en.wikipedia.org/wiki/Amazon_Glacier
>
>
>  Glacier has two costs, one for storage and one for retrieval.  Uploading data
>  to Glacier is free. Storage pricing is simple: it currently costs 0.4 cents 
> per
>  gigabyte per month, which is 82% cheaper than S3 Standard.
>
>  In 2016, AWS revised their retrieval pricing model.[16] The new model bases
>  the retrieval fee on the number of gigabytes retrieved. This can amount to a
>  99% price cut for users who perform only one glacier retrieval in a month. At
>  the same time, AWS introduced new methods of retrieval that take different
>  amounts of time. An expedited retrieval costs one cent per request and three
>  cents per gigabyte, and can retrieve data in one to five minutes. A standard
>  retrieval costs five cents per thousand requests and one cent per gigabyte, 
> and
>  takes three to five hours. A bulk retrieval costs 2.5 cents per thousand
>  requests and 0.25 cents per gigabyte, and takes seven to twelve hours. AWS 
> also
>  introduced provisioned capacity for expedited retrievals, each unit of which
>  costs $100 per month and guarantees at least three expedited retrievals every
>  five minutes, and up to 150 MB/s of retrieval bandwidth. Without provisioned
>  capacity, expedited retrievals are done on a capacity available basis.
>
> Happy storage.
>

===BEGIN EMAIL SIGNATURE===

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: 
https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html



Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

===END EMAIL SIGNATURE===



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Turritopsis Dohrnii Teo En Ming
Noted with thanks.


On Fri, Feb 15, 2019 at 5:48 PM Adam Weremczuk  wrote:
>
> Actually even a cheaper "Business" plan offers unlimited storage for 5
> or more users.
>
> So you might spend as little as $50 per month:
>
> https://gsuite.google.com/intl/en_us/pricing.html
>
> My links are for UK and US.
>
> Edit the URL to browse different regions.
>
>
> On 15/02/19 09:34, Adam Weremczuk wrote:
> > Hi,
> >
> > It could make sense to sign up for Google Enterprise subscription:
> >
> > https://gsuite.google.co.uk/intl/en_uk/pricing.html
> >
> > 5 users will cost you 5 x £20 = £100 per month and give 5 accounts
> > with unlimited storage in a trusted and reliable place.
> >
> > AFAIK there is upload speed cap in place so it may take you many days
> > to complete the initial push.
> >
> > Moving forward I would recommend rsync or similar for differential
> > data updates.
> >
> > Not sure why you've posted your question to this list though?
> >
> > Thanks,
> > Adam
>

===BEGIN EMAIL SIGNATURE===

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: 
https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html



Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

===END EMAIL SIGNATURE===



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Turritopsis Dohrnii Teo En Ming
Noted with thanks.

On Fri, Feb 15, 2019 at 5:34 PM Adam Weremczuk  wrote:
>
> Hi,
>
> It could make sense to sign up for Google Enterprise subscription:
>
> https://gsuite.google.co.uk/intl/en_uk/pricing.html
>
> 5 users will cost you 5 x £20 = £100 per month and give 5 accounts with
> unlimited storage in a trusted and reliable place.
>
> AFAIK there is upload speed cap in place so it may take you many days to
> complete the initial push.
>
> Moving forward I would recommend rsync or similar for differential data
> updates.
>
> Not sure why you've posted your question to this list though?
>
> Thanks,
> Adam

===BEGIN EMAIL SIGNATURE===

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: 
https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html



Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

===END EMAIL SIGNATURE===



Re: Using a VPN to bypass surveillance and censorship (was: how to find out video memory size?)

2019-02-15 Thread john doe
On 2/16/2019 7:27 AM, Long Wind wrote:
> Thank Ben!but vpn can also be blocked by Chinese government
> i've been using some vpn servers for a long timebut they are blocked in 
> Spring Festival, which begins in Februaryi believe government increase 
> blocking in this period
>

"Tor" or similar.

--
John Doe



Re: Using a VPN to bypass surveillance and censorship (was: how to find out video memory size?)

2019-02-15 Thread Long Wind
Thank Ben!but vpn can also be blocked by Chinese government
i've been using some vpn servers for a long timebut they are blocked in Spring 
Festival, which begins in Februaryi believe government increase blocking in 
this period 
  

On Saturday, February 16, 2019 1:50 PM, Ben Finney  
wrote:
 

 Long Wind  writes:

> google is blocked in china, and i can't use it to find answer

It appears DuckDuckGo (a much more freedom-respecting search engine) is
also blocked in China.

This article discusses using a VPN to bypass surveillance and censorship
https://www.comparitech.com/privacy-security-tools/blockedinchina/duckduckgo/>.

-- 
 \      “Natural catastrophes are rare, but they come often enough. We |
  `\  need not force the hand of nature.” —Carl Sagan, _Cosmos_, 1980 |
_o__)                                                                  |
Ben Finney



   

Re: how to find out video memory size?

2019-02-15 Thread Pascal Hambourg

Le 16/02/2019 à 06:52, David Wright a écrit :

On Sat 16 Feb 2019 at 05:20:32 (+), Long Wind wrote:

i've just bought a display card, how to know its memory size?


$ lspci -v
will tell you. Eg:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated 
Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo Haswell-ULT Integrated Graphics Controller
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at b200 (64-bit, non-prefetchable) [size=4M]
Memory at a000 (64-bit, prefetchable) [size=256M]


This only shows the PCI memory address ranges. The actual memory size 
may differ. Sometimes it is written in the kernel logs or Xorg logs.




Re: how to find out video memory size?

2019-02-15 Thread David Wright
On Sat 16 Feb 2019 at 05:20:32 (+), Long Wind wrote:
> i've just bought a display card, how to know its memory size?
> google is blocked in china, and i can't use it [google, I assume] to find 
> answer

Install the card and I think
$ lspci -v
will tell you. Eg:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated 
Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo Haswell-ULT Integrated Graphics Controller
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at b200 (64-bit, non-prefetchable) [size=4M]
Memory at a000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
[virtual] Expansion ROM at 000c [disabled] [size=128K]
Capabilities: 
Kernel driver in use: i915
Kernel modules: i915


Cheers,
David.



Using a VPN to bypass surveillance and censorship (was: how to find out video memory size?)

2019-02-15 Thread Ben Finney
Long Wind  writes:

> google is blocked in china, and i can't use it to find answer

It appears DuckDuckGo (a much more freedom-respecting search engine) is
also blocked in China.

This article discusses using a VPN to bypass surveillance and censorship
https://www.comparitech.com/privacy-security-tools/blockedinchina/duckduckgo/>.

-- 
 \  “Natural catastrophes are rare, but they come often enough. We |
  `\   need not force the hand of nature.” —Carl Sagan, _Cosmos_, 1980 |
_o__)  |
Ben Finney



Re: get my ip address

2019-02-15 Thread David Wright
On Sat 16 Feb 2019 at 11:10:32 (+0900), John Crawley wrote:
> On 16/02/2019 08.54, David Wright wrote:
> > On Fri 15 Feb 2019 at 22:04:42 (+), Darac Marjal wrote:
> > > If you're going to recommend parsing `ip`, the -j option may be more
> > > amenable to scripting. (JSON output)
> > > 
> > > On 15/02/2019 15:52, David Wright wrote:
> > > > On Fri 15 Feb 2019 at 12:02:20 (+0100), Markus Schönhaber wrote:
> > > > > Tony, 15.2.2019, 11:11:29 +0100:
> > > > > 
> > > > > > Debian 9. I need to read my IPv6 address into a python script.
> >↑
> > Some of us here are still running stable (stretch) and older. So
> > perhaps only for buster onwards and, I assume, stretch-backports.
> > But …
> > 
> > > > [That's probably best if your destination is a Python program. ←snipped]
> > 
> > > > Otherwise, for scripting, it's easy to overlook   ip -o a
> > > > which makes parsing much easier.
> > 
> > (Sorry if I was expected to explicitly write "shell scripting".)
> > … I don't think that JSON would be any help: rather, the opposite.
> 
> Though a call to jq makes parsing json very easy for shell scripts.

I'm not sure I understand why you'd ask ip to write JSON, and then
post-process it with jq to filter it to different JSON, and then
parse it in a shell, rather than just parsing something as simple as
the oneline format using the tools that every system has installed
(like grep, sed).

That is, unless you're already involving jq for something else,
like the OP is with their Python program. And as we've seen, Python
has a module or function for just about everything, and may avoid
having to call ip in the first place.

Cheers,
David.



Re: Informatique scolaire debian

2019-02-15 Thread Nicolas FRANCOIS
Le Fri, 15 Feb 2019 20:43:55 +0100,
Francois Meyer  a écrit :

> Bonjour à tous
> 
> Connaissez-vous des boites sérieuses qui pourraient vendre une
> vingtaine d'ulta-portables installés sous debian / ubuntu et assurer
> un peu de maintenance ?
> 
> Je sais qu'il y en a mais pas si elles bossent bien.
> 
> Je travaille dans un lycée, mais je n'ai pas la main sur le réseau
> (Dieu m'en garde !). Je voudrais des machines sur lesquelles je peux
> bricoler au besoin (installer des applis que je connais, restreindre
> les possibilités de connexion, etc) mais si possible ne pas avoir à
> me farcir trop de maintenance (faire les maj, gérer les pannes).

Tu as pensé à des Raspberry Pi ? C'est pour SNT/NSI ?

\bye

-- 

Nicolas FRANCOIS  |  /\ 
http://nicolas.francois.free.fr   | |__|
  X--/\\
We are the Micro$oft.   _\_V
Resistance is futile.   
You will be assimilated. darthvader penguin


pgpbknxKtAGzm.pgp
Description: Signature digitale OpenPGP


Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Turritopsis Dohrnii Teo En Ming
On Fri, Feb 15, 2019 at 10:10 PM Dan Ritter  wrote:
>
> Turritopsis Dohrnii Teo En Ming wrote:
> > Hi,
> >
> > Could you recommend affordable and reliable cloud storage for 50 TB of data?
> >
> > Here are some important factors to consider:
> >
> > 1. Personal/non-commercial use.
> > 2. Must be affordable, since I am unemployed most of the time and have
> > super low levels of income for the past 12 years since I graduated
> > from the National University of Singapore in 2007.
> > 3. Cloud storage provider must not be a fly-by-night company, that is,
> > it will not suddenly close down the next day.
> >
>
> 50TB is a lot of data. Do you actually have it right now, or are
> you projecting into the future? How are you storing it?

Using external portable USB hard drives.

>
> -dsr-

===BEGIN EMAIL SIGNATURE===

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: 
https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html



Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

===END EMAIL SIGNATURE===



Re: Peter -- Re: (Stuck! Fresh 9.6 install) iwlwifi-8625-26.ucode <- Can not find/what is it? Spot of help please?

2019-02-15 Thread Peter Ehlert
I don't really know, it is a net install, draws the current packages 
from the repos... so it must have access. no wire was plunged in and my 
wifi adapter needed iwiwifi-7260-17.ucode and asked for it.

The installer seems to Only install needed/desired packages.
for example, I did Not want the "default Debian desktop" (gnome) and 
wanted only Mate... so I got exactly that, and less cruft.


I do like Buster, and it will be the new "stable" in a few months.
Buster is running on one of my machines, and has had no problems for 
several months.
There is a lot of vetting to even get to "testing" aka Buster, I suspect 
there will be little change before it goes mainstream.


On 2/15/19 8:49 AM, deb wrote:


On 2/15/2019 11:01 AM, Peter Ehlert wrote:

Buster install on 820 Friday, February 15 2019
on USB #1: firmware-buster-DI-alpha5-amd64-netinst.iso
I also have on USB #2: firmware-9.4.0-amd64-DVD-1.iso

booted with #1, ... It did ask for firmware, I put #2 in and pressed 
"continue" and install continued and I was able to select my wifi


Hopefully the same will work for you



Thanks Peter

This will be my fallback.

It will ask me if it then uses those ISOs to install OTHER firmware 
things, correct?



I don't want an Ubuntu-scenario, where it just dumps in all kinds of 
non-free things to make a nice "user experience".



ps

How's Buster overall?

Should I just jump to that?


Thanks!








Re: Can't scan new disk

2019-02-15 Thread David Christensen

On 2/15/19 3:24 PM, Mark Allums wrote:
I just bought a new backup disk, and I want to check it. It's mounted in 
a USB dock.


Running the following gives an error:

root@martha:~# umount /dev/sdb1
root@martha:~# e2fsck -c -c -C 0 -f -F -k -p /dev/sdb1
/dev/sdb1 is in use.
e2fsck: Cannot continue, aborting.

What's causing this and how do I fix it?  It's not MATE; I tried 
rebooting to rescue mode, but that didn't help.



On 2/15/19 5:37 PM, Mark Allums wrote:
> ... Seagate IronWolf Pro 12 TB


What is the make and model of the USB dock, and is it rated for 12 TB?


Does e2fsck work when the drive is connected to an internal SATA port?


I use HDD trays and mobile docks for my backup drives:

https://www.startech.com/HDD/Mobile-Racks/Black-Serial-ATA-Drive-Drawer-with-Shock-Absorbers-Professional-Series~DRW115SATBK


David



Re: get my ip address

2019-02-15 Thread John Crawley

On 16/02/2019 08.54, David Wright wrote:

On Fri 15 Feb 2019 at 22:04:42 (+), Darac Marjal wrote:

If you're going to recommend parsing `ip`, the -j option may be more
amenable to scripting. (JSON output)

On 15/02/2019 15:52, David Wright wrote:

On Fri 15 Feb 2019 at 12:02:20 (+0100), Markus Schönhaber wrote:

Tony, 15.2.2019, 11:11:29 +0100:


Debian 9. I need to read my IPv6 address into a python script.

  ↑
Some of us here are still running stable (stretch) and older. So
perhaps only for buster onwards and, I assume, stretch-backports.
But …


[That's probably best if your destination is a Python program. ←snipped]



Otherwise, for scripting, it's easy to overlook   ip -o a
which makes parsing much easier.


(Sorry if I was expected to explicitly write "shell scripting".)
… I don't think that JSON would be any help: rather, the opposite.


Though a call to jq makes parsing json very easy for shell scripts.

--
John




Re: Can't scan new disk

2019-02-15 Thread Mark Allums

On 2/15/19 6:08 PM, deb wrote:


On 2/15/2019 6:24 PM, Mark Allums wrote:

umount /dev/sdb1
root@martha:~# e2fsck -c -c -C 0 -f -F -k -p /dev/sdb1 




Just curious, is it a Western Digital disk?





No, a Seagate IronWolf Pro 12 TB



Re: Can't scan new disk

2019-02-15 Thread Mark Allums

On 2/15/19 6:21 PM, songbird wrote:

Mark Allums wrote:


I just bought a new backup disk, and I want to check it. It's mounted in
a USB dock.

Running the following gives an error:

root@martha:~# umount /dev/sdb1
root@martha:~# e2fsck -c -c -C 0 -f -F -k -p /dev/sdb1
/dev/sdb1 is in use.
e2fsck: Cannot continue, aborting.

What's causing this and how do I fix it?  It's not MATE; I tried
rebooting to rescue mode, but that didn't help.


   sure you got the right disk?


100% sure.




   does it show up in the journal/log when you
unplug it and plug it back in?

   something may be grabbing it automatically perhaps
so check your fstab entry and make sure it isn't
being mounted automatically if you don't want it to
be done like that.  (is it appearing in /mnt ? ).

   check the label, uuid, partition table before doing
anything too serious to it (to make sure you really
do have the right device).

   i never have backup disks being mounted automatically
because i don't always even have them running.


   songbird



It isn't mounted.



Re: Can't scan new disk

2019-02-15 Thread songbird
Mark Allums wrote:

> I just bought a new backup disk, and I want to check it. It's mounted in 
> a USB dock.
>
> Running the following gives an error:
>
> root@martha:~# umount /dev/sdb1
> root@martha:~# e2fsck -c -c -C 0 -f -F -k -p /dev/sdb1
> /dev/sdb1 is in use.
> e2fsck: Cannot continue, aborting.
>
> What's causing this and how do I fix it?  It's not MATE; I tried 
> rebooting to rescue mode, but that didn't help.

  sure you got the right disk?

  does it show up in the journal/log when you
unplug it and plug it back in?

  something may be grabbing it automatically perhaps
so check your fstab entry and make sure it isn't
being mounted automatically if you don't want it to
be done like that.  (is it appearing in /mnt ? ).

  check the label, uuid, partition table before doing
anything too serious to it (to make sure you really
do have the right device).

  i never have backup disks being mounted automatically
because i don't always even have them running.


  songbird



Re: Can't scan new disk

2019-02-15 Thread deb



On 2/15/2019 6:24 PM, Mark Allums wrote:

umount /dev/sdb1
root@martha:~# e2fsck -c -c -C 0 -f -F -k -p /dev/sdb1 




Just curious, is it a Western Digital disk?





Re: get my ip address

2019-02-15 Thread David Wright
On Fri 15 Feb 2019 at 22:04:42 (+), Darac Marjal wrote:
> If you're going to recommend parsing `ip`, the -j option may be more
> amenable to scripting. (JSON output)
> 
> On 15/02/2019 15:52, David Wright wrote:
> > On Fri 15 Feb 2019 at 12:02:20 (+0100), Markus Schönhaber wrote:
> >> Tony, 15.2.2019, 11:11:29 +0100:
> >>
> >>> Debian 9. I need to read my IPv6 address into a python script.
 ↑
Some of us here are still running stable (stretch) and older. So
perhaps only for buster onwards and, I assume, stretch-backports.
But …

> > [That's probably best if your destination is a Python program. ←snipped]

> > Otherwise, for scripting, it's easy to overlook   ip -o a
> > which makes parsing much easier.

(Sorry if I was expected to explicitly write "shell scripting".)
… I don't think that JSON would be any help: rather, the opposite.

Cheers,
David.



Can't scan new disk

2019-02-15 Thread Mark Allums
I just bought a new backup disk, and I want to check it. It's mounted in 
a USB dock.


Running the following gives an error:

root@martha:~# umount /dev/sdb1
root@martha:~# e2fsck -c -c -C 0 -f -F -k -p /dev/sdb1
/dev/sdb1 is in use.
e2fsck: Cannot continue, aborting.

What's causing this and how do I fix it?  It's not MATE; I tried 
rebooting to rescue mode, but that didn't help.


Mark



Re: get my ip address

2019-02-15 Thread Darac Marjal
If you're going to recommend parsing `ip`, the -j option may be more
amenable to scripting. (JSON output)

On 15/02/2019 15:52, David Wright wrote:
> On Fri 15 Feb 2019 at 12:02:20 (+0100), Markus Schönhaber wrote:
>> Tony, 15.2.2019, 11:11:29 +0100:
>>
>>> Debian 9. I need to read my IPv6 address into a python script.
>>>
>>> I am aware that I can call ip a and parse the result. The parsing,
>>> whilst quite achievable, is slightly tricky, but I can manage the RE, so
>>>  that's not my question.
>>>
>>> Is there any other way to obtain this data, maybe from /sys?
>> Take a look at this:
>> https://pypi.org/project/netifaces/
>>
>> This is packaged on stretch as python[3]-netifaces
> That's probably best if your destination is a Python program.
>
> Otherwise, for scripting, it's easy to overlook   ip -o a
> which makes parsing much easier. But note that you may then
> need to be more specific, eg compare
>
> $ ip a
>
> with
>
> $ ip -o l
> $ ip -o a
>
> Cheers,
> David.
>



Re: ejecución de un cron

2019-02-15 Thread Matias Mucciolo


On Friday, February 15, 2019 4:39:00 PM -03 miguel angel gonzalez wrote:
> Hola Matias.
> El fichero lo crea y me pone el tiempo, ¿pero esa fecha es la de
> finalización? Si te fijas pone la misma que la de inicio de la tarea.
> *El script del cron:*
> 
> #!/bin/bash
> DIA=`date +"%d/%m/%Yi%H:%M:%S"`
> tar cvzf /home/user/aplicacion.tar.gz /home/user/wars/aplicacion.war.bck
> echo prueba >> /home/user/prueba.out
> echo $DIA >> /home/user/prueba.out
> --
> *El contenido del fichero de salida con la fecha:*
> prueba
> 15/02/2019i13:35:01
> --
> *El cron:*
> 35 13  *   *   *   sh /home/user/prueba_cron.sh >>
> /home/user/prueba_cron2.out
> 
> 
> Gracias.
> 
> 

jaja claro cuando ejecutas el date y lo guardas en una variable 
es apenas arranca..por eso cuando haces el echo $DIA al final del 
script contiene la hora de arranque..
En ves de guardarlo en una variable ejecuta directamente el comando date
al final del script.

si no me explico avisame.
saludos
Matias.-



Re: Permanent Use of IPv4

2019-02-15 Thread Pascal Hambourg

Le 15/02/2019 à 16:13, Stephen P. Molnar a écrit :
Thanks for help from this gropup I can force the use of IPv4 by 
running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.


This does not force the use of IPv4 but disables the use of IPv6 
addresses on existing interfaces.


For a number of reasons I have just done a fresh install of Stretch, 
hoping that the installer woould allow me to select IPv4, which, of 
course it didn't.


You can pass ipv6.disable_ipv6=1 to the installer/kernel command line.
I don't remember if the installer records such custom parameters to 
/etc/default/grub GRUB_CMDLINE_LINUX however.




Re: Permanent Use of IPv4

2019-02-15 Thread Pascal Hambourg

Le 15/02/2019 à 17:48, Reco a écrit :


Why it is safe - because systemd configures NICs first, starts services
next, and then applies kernel knobs (aka sysctl).


Are you sure ? AFAICS, sysctl is started before networking, and NICs may 
be configured asynchronously if they have allow-auto.




Re: Permanent Use of IPv4

2019-02-15 Thread Pascal Hambourg

Le 15/02/2019 à 20:03, Stephen P. Molnar a écrit :


On 02/15/2019 12:11 PM, Felix Miata wrote:

Reco composed on 2019-02-15 19:48 (UTC+0300):


On Fri, Feb 15, 2019 at 11:17:06AM -0500, Felix Miata wrote:
I made ipv6.disable=1 a standard option here at least as far back as 
2011. If it ever caused a problem I never found out about it.


This totally disables the IPv6 subsystem. It has been reported to break 
stuff which rely on the IPv6 subsystem (even if not using IPv6). This is 
why it is recommended to use ipv6.disable_ipv6=1 which only disables 
IPv6 addresses on interfaces, not the whole IPv6 subsystem.



echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf

which did, indeed, result in the file being created.

However, there is only one problem, it didn't work.

This is what I get:

root@AbNormal:/home/comp# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
group default qlen 1

     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
2: enp2s0:  mtu 1500 qdisc pfifo_fast 
state UP group default qlen 1000

     link/ether bc:ee:7b:5e:83:36 brd ff:ff:ff:ff:ff:ff
     inet 192.168.1.123/24 brd 192.168.1.255 scope global dynamic enp2s0
    valid_lft 86306sec preferred_lft 86306sec
     inet6 2600:1700:4280:3690::2b/128 scope global dynamic

(...)

You can see that the loopback interface does not have the ::1/128 IPv6 
address, so the file had some effect. I suspect a race condition : the 
setting was applied before enp2s0 was created and did not apply to it. 
Try to add this to the file to apply the setting to any new interface :


net.ipv6.conf.default.disable_ipv6 = 1


Also,  /proc/cmdline is empty.


What do you mean ? It cannot be empty and has nothing to do with sysctl 
config files anyway.




Re: Informatique scolaire debian

2019-02-15 Thread MENGUAL Jean-Philippe

Bonjour,

Hypra fait ce genre de chose, et on est sans doute les plus fermes sur 
le fait de pratiquer Debian et pas Ubuntu.


Après habituellement on travaille sur du 13 pouces sur du Clevo, ce qui 
est un peu cher. Pour de l'ultra portable, on pourrait faire le boulot, 
si vous nous dites le type de machine envisagé.


Pour info sur le site debian.org, vous avez dans Obtenir Debian une 
liste de gens qui vendent des ordi avec Debian préinstallée.


Cordialement,

signature_jp_2
Logo Hypra  JEAN-PHILIPPE MENGUAL
DIRECTEUR TECHNIQUE ET QUALITÉ
102, rue des poissonniers, 75018, Paris
Tel : +331 84 73 06 61  Mob : +336 76 34 93 37

jpmeng...@hypra.fr 
www.hypra.fr 
Facebook Hypra  Twitter Hypra 
 Linkedin Jean-Philippe 




Le 15/02/2019 à 20:43, Francois Meyer a écrit :

Bonjour à tous

Connaissez-vous des boites sérieuses qui pourraient vendre une 
vingtaine d'ulta-portables installés sous debian / ubuntu et assurer 
un peu de maintenance ?


Je sais qu'il y en a mais pas si elles bossent bien.

Je travaille dans un lycée, mais je n'ai pas la main sur le réseau 
(Dieu m'en garde !). Je voudrais des machines sur lesquelles je peux 
bricoler au besoin (installer des applis que je connais, restreindre 
les possibilités de connexion, etc) mais si possible ne pas avoir à me 
farcir trop de maintenance (faire les maj, gérer les pannes).


Actuellement la mode est de distribuer des tablettes apple qui sont 
faites pour le divertissement et remplissent très bien leur fonction 
au détriment de l'éducatif (pardon pour cette petite remarque H-S) et 
je voudrais éviter cela sans renoncer aux bénéfices de l'informatique 
dans l'éducation.


Bonne soirée

François








Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Edwin Pers
On Fri, Feb 15, 2019, 1:44 AM Turritopsis Dohrnii Teo En Ming <
tdteoenm...@gmail.com wrote:

> Hi,
>
> Could you recommend affordable and reliable cloud storage for 50 TB of
> data?
>  -snip-


I haven't seen backblaze mentioned here - 6$/mo for unlimited cold storage.
Files are accessible from a browser, and they can ship you hard drives in a
disaster recovery situation.

-ed

>


Informatique scolaire debian

2019-02-15 Thread Francois Meyer

Bonjour à tous

Connaissez-vous des boites sérieuses qui pourraient vendre une vingtaine 
d'ulta-portables installés sous debian / ubuntu et assurer un peu de 
maintenance ?


Je sais qu'il y en a mais pas si elles bossent bien.

Je travaille dans un lycée, mais je n'ai pas la main sur le réseau (Dieu 
m'en garde !). Je voudrais des machines sur lesquelles je peux bricoler 
au besoin (installer des applis que je connais, restreindre les 
possibilités de connexion, etc) mais si possible ne pas avoir à me 
farcir trop de maintenance (faire les maj, gérer les pannes).


Actuellement la mode est de distribuer des tablettes apple qui sont 
faites pour le divertissement et remplissent très bien leur fonction au 
détriment de l'éducatif (pardon pour cette petite remarque H-S) et je 
voudrais éviter cela sans renoncer aux bénéfices de l'informatique dans 
l'éducation.


Bonne soirée

François






Re: Permanent Use of IPv4

2019-02-15 Thread David Wright
On Fri 15 Feb 2019 at 14:03:47 (-0500), Stephen P. Molnar wrote:
> On 02/15/2019 12:11 PM, Felix Miata wrote:
> > Reco composed on 2019-02-15 19:48 (UTC+0300):
> > > On Fri, Feb 15, 2019 at 11:17:06AM -0500, Felix Miata wrote:
> > > > I made ipv6.disable=1 a standard option here at least as far back as 
> > > > 2011. If it ever caused a
> > > > problem I never found out about it.
> > > That's a fine example of "works for me" approach.
> > > And I've seen multiple cases where "disable IPv6" equaled "non-booting 
> > > OS".
> > Maybe I left out an important point, which is that "for me" means hundreds 
> > of installations
> > including most of the historically most popular distros, Debian, *buntu, 
> > Mint, Fedora, openSUSE,
> > Mageia, Gentoo and a few others.
> > 
> > I have a hard time imagining a dependency on ipv6 to be able to boot, even 
> > including thin client or
> > PXE, but then I don't know anything of any prospect of booting from outside 
> > a firewall where ipv6
> > might be a sole option.
> Thanks for all of the responses.
> 
> I elected to go with;
> 
> echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf
> 
> which did, indeed, result in the file being created.
> 
> However, there is only one problem, it didn't work.

Creating the file doesn't do anything on its own as the kernel doesn't
know you created it. It will be read at the next boot, but for
immediate effect, you need to tell the kernel with

   sysctl -w net.ipv6.conf.all.disable_ipv6=1

> This is what I get:
> 
> root@AbNormal:/home/comp# ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> 2: enp2s0:  mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
> link/ether bc:ee:7b:5e:83:36 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.123/24 brd 192.168.1.255 scope global dynamic enp2s0
>valid_lft 86306sec preferred_lft 86306sec
> inet6 2600:1700:4280:3690::2b/128 scope global dynamic
>valid_lft 3506sec preferred_lft 3506sec
> inet6 2600:1700:4280:3690:a445:78de:cff9:22d5/64 scope global
> temporary dynamic
>valid_lft 3538sec preferred_lft 3538sec
> inet6 2600:1700:4280:3690:beee:7bff:fe5e:8336/64 scope global
> mngtmpaddr noprefixroute dynamic
>valid_lft 3538sec preferred_lft 3538sec
> inet6 fe80::beee:7bff:fe5e:8336/64 scope link
>valid_lft forever preferred_lft forever
> 
> Also,  /proc/cmdline is empty.
> 
> Now, if I run the file manually, as I have been doing, I get:
> 
> root@AbNormal:/home/comp# ./Disable_ipv6
> net.ipv6.conf.all.disable_ipv6 = 1
> root@AbNormal:/home/comp# ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> 2: enp2s0:  mtu 1500 qdisc pfifo_fast
> state UP group default qlen 1000
> link/ether bc:ee:7b:5e:83:36 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.123/24 brd 192.168.1.255 scope global dynamic enp2s0
>valid_lft 86274sec preferred_lft 86274sec
> root@AbNormal:/home/comp#

Precisely. Now you've told the kernel.

Cheers,
David.



Re: Permanent Use of IPv4

2019-02-15 Thread Curt
On 2019-02-15, Stephen P. Molnar  wrote:
>
> On 02/15/2019 12:11 PM, Felix Miata wrote:
>> Reco composed on 2019-02-15 19:48 (UTC+0300):
>>
>>> On Fri, Feb 15, 2019 at 11:17:06AM -0500, Felix Miata wrote:
 I made ipv6.disable=1 a standard option here at least as far back as 2011. 
 If it ever caused a
 problem I never found out about it.
>>> That's a fine example of "works for me" approach.
>>> And I've seen multiple cases where "disable IPv6" equaled "non-booting OS".
>> Maybe I left out an important point, which is that "for me" means hundreds 
>> of installations
>> including most of the historically most popular distros, Debian, *buntu, 
>> Mint, Fedora, openSUSE,
>> Mageia, Gentoo and a few others.
>>
>> I have a hard time imagining a dependency on ipv6 to be able to boot, even 
>> including thin client or
>> PXE, but then I don't know anything of any prospect of booting from outside 
>> a firewall where ipv6
>> might be a sole option.
> Thanks for all of the responses.
>
> I elected to go with;
>
> echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf
>
> which did, indeed, result in the file being created.
>
> However, there is only one problem, it didn't work.
>

I did see an (Ubuntu?) bug to that exact effect (maybe not at all
pertinent, in which case, sorry).

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1771222




Re: Permanent Use of IPv4

2019-02-15 Thread Stephen P. Molnar



On 02/15/2019 12:11 PM, Felix Miata wrote:

Reco composed on 2019-02-15 19:48 (UTC+0300):


On Fri, Feb 15, 2019 at 11:17:06AM -0500, Felix Miata wrote:

I made ipv6.disable=1 a standard option here at least as far back as 2011. If 
it ever caused a
problem I never found out about it.

That's a fine example of "works for me" approach.
And I've seen multiple cases where "disable IPv6" equaled "non-booting OS".

Maybe I left out an important point, which is that "for me" means hundreds of 
installations
including most of the historically most popular distros, Debian, *buntu, Mint, 
Fedora, openSUSE,
Mageia, Gentoo and a few others.

I have a hard time imagining a dependency on ipv6 to be able to boot, even 
including thin client or
PXE, but then I don't know anything of any prospect of booting from outside a 
firewall where ipv6
might be a sole option.

Thanks for all of the responses.

I elected to go with;

echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf

which did, indeed, result in the file being created.

However, there is only one problem, it didn't work.

This is what I get:

root@AbNormal:/home/comp# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
group default qlen 1

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
2: enp2s0:  mtu 1500 qdisc pfifo_fast 
state UP group default qlen 1000

link/ether bc:ee:7b:5e:83:36 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.123/24 brd 192.168.1.255 scope global dynamic enp2s0
   valid_lft 86306sec preferred_lft 86306sec
inet6 2600:1700:4280:3690::2b/128 scope global dynamic
   valid_lft 3506sec preferred_lft 3506sec
inet6 2600:1700:4280:3690:a445:78de:cff9:22d5/64 scope global 
temporary dynamic

   valid_lft 3538sec preferred_lft 3538sec
inet6 2600:1700:4280:3690:beee:7bff:fe5e:8336/64 scope global 
mngtmpaddr noprefixroute dynamic

   valid_lft 3538sec preferred_lft 3538sec
inet6 fe80::beee:7bff:fe5e:8336/64 scope link
   valid_lft forever preferred_lft forever

Also,  /proc/cmdline is empty.

Now, if I run the file manually, as I have been doing, I get:

root@AbNormal:/home/comp# ./Disable_ipv6
net.ipv6.conf.all.disable_ipv6 = 1
root@AbNormal:/home/comp# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
group default qlen 1

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
2: enp2s0:  mtu 1500 qdisc pfifo_fast 
state UP group default qlen 1000

link/ether bc:ee:7b:5e:83:36 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.123/24 brd 192.168.1.255 scope global dynamic enp2s0
   valid_lft 86274sec preferred_lft 86274sec
root@AbNormal:/home/comp#

 Next suggestions, please.

Thanks in advance.

--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



Re: P2V Debian 9 with VMware Converter

2019-02-15 Thread Calabaza
El vie., 15 feb. 2019 a las 13:48, Adam Weremczuk
() escribió:
>
> I've investigated a bit more and it actually has something to with EFI
> rather than Debian version.

I think the same, take a look a this wiki:

[0] 
https://wiki.debian.org/UEFI#Force_grub-efi_installation_to_the_removable_media_path



> This Debian 9 clones fine:
>
> Model: IBM ServeRAID M5014 (scsi)
> Disk /dev/sda: 998GB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
> Disk Flags:
>
> Number  Start   End SizeFile system  Name  Flags
>   1  1049kB  2097kB  1049kB bios_grub
>   2  2097kB  271MB   268MB   fat32  boot, esp
>   3  271MB   998GB   998GB  lvm
>
>
> And this one gives the error:
>
> Model: DELL PERC H730P Mini (scsi)
> Disk /dev/sda: 4197GB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
> Disk Flags:
>
> Number  Start   End SizeFile system  Name  Flags
>   1  1049kB  511MB   510MB   fat16uefi  boot, esp
>   2  511MB   767MB   256MB   ext3 boot
>   3  767MB   4197GB  4196GB   lvm   lvm


After reading part of the wiki [0] I suggest You: to compare if the uefi files
are in the correct places on both system.


> All my existing VMs across all ESXi hosts are configured with BIOS boot.

I think you need a time to shutdown your server and clone it
with dd and a livecd and then add a VM with this raw image
and work with the booting stuffs: maybe reinstall the uefi things or
change it to BIOS boot.


p.s.: Please don't top posting.

-- 
Guillermo Galeano Fernández

http://es.wikipedia.org/wiki/Netiquette
http://www.ietf.org/rfc/rfc1855.txt



Re: Permanent Use of IPv4

2019-02-15 Thread Felix Miata
Reco composed on 2019-02-15 19:48 (UTC+0300):

> On Fri, Feb 15, 2019 at 11:17:06AM -0500, Felix Miata wrote:

>> I made ipv6.disable=1 a standard option here at least as far back as 2011. 
>> If it ever caused a
>> problem I never found out about it.

> That's a fine example of "works for me" approach.
> And I've seen multiple cases where "disable IPv6" equaled "non-booting OS".

Maybe I left out an important point, which is that "for me" means hundreds of 
installations
including most of the historically most popular distros, Debian, *buntu, Mint, 
Fedora, openSUSE,
Mageia, Gentoo and a few others.

I have a hard time imagining a dependency on ipv6 to be able to boot, even 
including thin client or
PXE, but then I don't know anything of any prospect of booting from outside a 
firewall where ipv6
might be a sole option.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: P2V Debian 9 with VMware Converter

2019-02-15 Thread Adam Weremczuk
I've investigated a bit more and it actually has something to with EFI 
rather than Debian version.



This Debian 9 clones fine:

Model: IBM ServeRAID M5014 (scsi)
Disk /dev/sda: 998GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End Size    File system  Name  Flags
 1  1049kB  2097kB  1049kB bios_grub
 2  2097kB  271MB   268MB   fat32  boot, esp
 3  271MB   998GB   998GB  lvm


And this one gives the error:

Model: DELL PERC H730P Mini (scsi)
Disk /dev/sda: 4197GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End Size    File system  Name  Flags
 1  1049kB  511MB   510MB   fat16    uefi  boot, esp
 2  511MB   767MB   256MB   ext3 boot
 3  767MB   4197GB  4196GB   lvm   lvm


All my existing VMs across all ESXi hosts are configured with BIOS boot.



Re: Permissions error with Postfix + Cyrus

2019-02-15 Thread Reco
Hi.

On Fri, Feb 15, 2019 at 01:18:50PM -0300, Daniel Bareiro wrote:
> But I have noticed that after doing a reboot I have this problem again.

Its' expected. /var/run is a symlink to /run, in-memory filesystem
(tmpfs). Which becomes empty after each reboot.
Every time you boot, systemd calls systemd-tmpfiles with the
following config:

$ cat /usr/lib/tmpfiles.d/cyrus-imapd.conf
#Type Path  Mode UID   GID  Age Argument
d /run/cyrus0755 cyrus mail -   -
d /run/cyrus/socket 0750 cyrus mail -   -

Since dpkg-statoverride is honored only at package installation or
upgrade, systemd wins ☺.

And if you're not using systemd - /etc/init.d/cyrus-imapd takes care of
calling systemd-tmpfiles.


> Any idea what could be a definitive solution? Maybe I'm missing
> something here?

Try this if you're using systemd:

cat > /etc/tmpfiles.d/cyrus-imapd.conf << EOF
#Type Path  Mode UID   GID  Age Argument
d /run/cyrus0755 cyrus lmtp -   -
d /run/cyrus/socket 0750 cyrus lmtp -   -
EOF


And you have to dpkg-divert /usr/lib/tmpfiles.d/cyrus-imapd.conf if
you're *not* using systemd, see above.

Reco



Peter -- Re: (Stuck! Fresh 9.6 install) iwlwifi-8625-26.ucode <- Can not find/what is it? Spot of help please?

2019-02-15 Thread deb



On 2/15/2019 11:01 AM, Peter Ehlert wrote:

Buster install on 820 Friday, February 15 2019
on USB #1: firmware-buster-DI-alpha5-amd64-netinst.iso
I also have on USB #2: firmware-9.4.0-amd64-DVD-1.iso

booted with #1, ... It did ask for firmware, I put #2 in and pressed 
"continue" and install continued and I was able to select my wifi


Hopefully the same will work for you



Thanks Peter

This will be my fallback.

It will ask me if it then uses those ISOs to install OTHER firmware 
things, correct?



I don't want an Ubuntu-scenario, where it just dumps in all kinds of 
non-free things to make a nice "user experience".



ps

How's Buster overall?

Should I just jump to that?


Thanks!




Re: Permanent Use of IPv4

2019-02-15 Thread Reco
Hi.

On Fri, Feb 15, 2019 at 11:17:06AM -0500, Felix Miata wrote:
> Reco composed on 2019-02-15 19:02 (UTC+0300):
> 
> > On Fri, Feb 15, 2019 at 10:55:23AM -0500, Felix Miata wrote:
> 
> >> To me, "on boot" implies something on the kernel cmdline, e.g.:
> 
> >>ipv6.disable=1
> 
> > And by doing *this* you're risking breaking systemd and the overall
> > boot process.
> > Yep, the thing's written that way - it *expects* (some can say 'forces')
> > you to have IPv6.
> 
> I made ipv6.disable=1 a standard option here at least as far back as 2011. If 
> it ever caused a
> problem I never found out about it.

That's a fine example of "works for me" approach.
And I've seen multiple cases where "disable IPv6" equaled "non-booting
OS".


> > Hence this BSD-style "safe hack". Do not touch "base system" (systemd in
> > this case), but implement assorted kludges around it.
> 
> I don't understand this "BSD-style" or "safe hack" or the whole next sentence.

Why systemd was opposed by some? Because it utilizes BSD approach of
providing you with so-called "base system", every single component of
which is somewhat lacking, compared to specialized software.
To name a few systemd examples, automounting facility, journaling
facility, network configuration, console configuration, DNS resolution
facility, DHCP server, DHCP client, RA server, NTP client.
Oh, there's also a parody for HTTP server, but they disable *that* in
Debian by default.

In BSD world, you cannot exclude any component of a "base system" from
your OS, unless you resort to removing files or recompiling.
Likewise, you cannot remove certain components of systemd, see above for
the non-complete list (unless you remove certain files, that is).
You can install certain software which *can* make those tasks better,
and even use such software, but an appropriate component of "base
system" still will be there. Waiting.

A "safe hack" is a bypass of certain "base system" component (in this
case, IPv6 addresses assignment), which does not compromise the ability
of the OS to boot, but renders the desired outcome (in this case -
disabling IPv6).

Why it is safe - because systemd configures NICs first, starts services
next, and then applies kernel knobs (aka sysctl).

Reco



Permissions error with Postfix + Cyrus

2019-02-15 Thread Daniel Bareiro
Hi all!

I am observing the following problem after the upgrade from Jessie to
Stretch at the time of trying to deliver each mail:

--
[/var/run/cyrus/socket/lmtp]: Permission denied
--

The delivery is normalized after executing this command:

--
# dpkg-statoverride --force --update --add cyrus lmtp 750
/var/run/cyrus/socket
--

But I have noticed that after doing a reboot I have this problem again.
Any idea what could be a definitive solution? Maybe I'm missing
something here?

Thanks in advance.

Kind regards,
Daniel



signature.asc
Description: OpenPGP digital signature


Re: (Stuck! Fresh 9.6 install) iwlwifi-8625-26.ucode <- Can not find/what is it? Spot of help please?

2019-02-15 Thread Peter Ehlert

Buster install on 820 Friday, February 15 2019
on USB #1: firmware-buster-DI-alpha5-amd64-netinst.iso
I also have on USB #2: firmware-9.4.0-amd64-DVD-1.iso

booted with #1, ... It did ask for firmware, I put #2 in and pressed 
"continue" and install continued and I was able to select my wifi


Hopefully the same will work for you

On 2/11/19 10:33 AM, deb wrote:


Hello folks:

When I hit the networking section on a fresh install of 9.6 (full 
install .ISO, not live),


I'm told to insert a USB of these non-free bits.

   iwlwifi-8625-26.ucode, iwlwifi-8625-25.ucode, 
iwlwifi-8625-24.ucode, iwlwifi-8625-23.ucode, iwlwifi-8625-22.ucode



The Problem is - I can't find 26-to-23 anywhere online.

My research attempts are below.


Questions:

==

* What *are* 26, 25, 24, 23 for? I'm guessing Intel wifi; as that's 
what I believe -22 is for.


   But I don't see 26 to 23 listed anywhere...

* wouldn't it be useful for the installer to Also say what exact 
hardware it is, that is requiring various bits & pieces?



Hardware:

===

 * 1 yr old Intel NUC, i7; new.

 * Crucial memory, new.

 * Kingston A400 SSD, new.

 * aforementioned full 9.6 Stretch install .iso on a USB stick. I'm 
using the graphical install.



  My research attempts before emailing the list, are below.

==

1. THIS is a good resource, from a fellow with a similar 
Jessie-related problem.


https://www.linuxquestions.org/questions/debian-26/how-to-provide-non-free-firmware-files-to-the-debian-jessie-installer-4175542680/ 



    However neither this, nor the /stretch versions have anything on 
26-23.


2. The archive files that I found with -22, do not include any 26-23 
files.


3. Package Search turns up nothing:

https://packages.debian.org/search?suite=stretch=any=filename=contents=8625 



4. Intel's current wireless section only has -22 files.

    (also see 2. above)

http://www.intel.com/content/www/us/en/support/articles/05511/network-and-i-o/wireless-networking.html?wapkw=iwlwifi 



5. A flat out search turns up nothing.

https://www.startpage.com/do/dsearch?query=iwlwifi-8625-26.ucode=web=opensearch=english 




A spot of help please?

Thank you









Re: Permanent Use of IPv4

2019-02-15 Thread Felix Miata
Reco composed on 2019-02-15 19:02 (UTC+0300):

> On Fri, Feb 15, 2019 at 10:55:23AM -0500, Felix Miata wrote:

>> To me, "on boot" implies something on the kernel cmdline, e.g.:

>>  ipv6.disable=1

> And by doing *this* you're risking breaking systemd and the overall
> boot process.
> Yep, the thing's written that way - it *expects* (some can say 'forces')
> you to have IPv6.

I made ipv6.disable=1 a standard option here at least as far back as 2011. If 
it ever caused a
problem I never found out about it.

> Hence this BSD-style "safe hack". Do not touch "base system" (systemd in
> this case), but implement assorted kludges around it.

I don't understand this "BSD-style" or "safe hack" or the whole next sentence.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: P2V Debian 9 with VMware Converter

2019-02-15 Thread Adam Weremczuk

Hi Calbaza,

I'm not surprised it works for Debian 8 (released in 2015) as the tool 
officially supports Ubuntu 16 (released in 2016).


It also works like a charm for Debian 7 (2013) but not Debian 9 (2017).

All my VMs run as version 11 too.

It fails with the same error when tried against 3 different ESXi hosts 
(6.0, 6.0 and 6.7) running on 2010, 2015 and 2017 server hardware 
respectively.


I think the errors are misleading and it should start working in one of 
the next releases on VMware vCenter Converter Standalone.


I'm now giving Veeam a shot on this (which also doesn't require source 
machine to be shut down).


If it fails I will resort to old school manual VM creation and data copying.

Thanks,
Adam


On 15/02/19 15:38, Calabaza wrote:


I convert about 17 Debian machines with Debian 8 with little or no problem.
(I understand that you need Debian 9 but that is my experience).

I'm think your problem is about the virtual hardware versión of
destination in your ESX.

I have all my machines with Virtual Hardware version: 11

Read this links, may be help you:

[0] What other requirements and considerations are there for virtual
machines with EFI firmware?
[0] https://communities.vmware.com/docs/DOC-28494
[1] https://communities.vmware.com/thread/519642

Here [2] say that

"(...) EFI firmware is supported from hardware version 11 and above. (...)"

[2] https://communities.vmware.com/thread/584625
[3] 
https://akmyint.wordpress.com/2012/09/30/my-p2v-notes-stand-alone-servers-or-non-clustered/

I'm a Spanish speaker, sorry for my bad English.





Guillermo -> Re: P2V Debian 9 with VMware Converter

2019-02-15 Thread deb



On 2/15/2019 10:38 AM, Calabaza wrote:

I'm a Spanish speaker, sorry for my bad English.

-- Guillermo Galeano Fernández



Your English (and help) are excellent Guillermo.

I'm sure that the majority of others could not help in Spanish, were the 
situations reversed.


Thank you!




Re: Permanent Use of IPv4

2019-02-15 Thread Reco
Hi.

On Fri, Feb 15, 2019 at 10:55:23AM -0500, Felix Miata wrote:
> Reco composed on 2019-02-15 18:23 (UTC+0300):
> 
> > On Fri, Feb 15, 2019 at 10:13:14AM -0500, Stephen P. Molnar wrote:
> 
> >> Thanks for help from this gropup I can force the use of IPv4 by running:  
> >> sysctl -w net.ipv6.conf.all.disable_ipv6=1.
> > ...
> >> My question is how can I implement the sysctl statement on boot?
> 
> > echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf
> 
> There already may be a file there for the purpose, maybe better to take a 
> looksee first instead of
> possibly blindly overwriting:

That's true in the case of generic OP. But as a list regular I'm
acquainted with Stephen, so I find this scenario unlikely.


> To me, "on boot" implies something on the kernel cmdline, e.g.:
> 
>   ipv6.disable=1

And by doing *this* you're risking breaking systemd and the overall
boot process.
Yep, the thing's written that way - it *expects* (some can say 'forces')
you to have IPv6.

Hence this BSD-style "safe hack". Do not touch "base system" (systemd in
this case), but implement assorted kludges around it.

Reco



Re: Permanent Use of IPv4

2019-02-15 Thread Grzesiek Sójka

On 2/15/19 4:12 PM, Stephen P. Molnar wrote:
Thanks for help from this gropup I can force the use of IPv4 by 
running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.



If you would like to prevent the kernel from loading IPv6 simply add the 
following: ipv6.disable=1 to the kernel boot parameters. If you use lilo 
then in the /etc/lilo.conf should be line beginning with append:


image=/boot/vmlinuz
root=/dev/md0
label=DebianSid
initrd=/boot/initrd.img
append="net.ifnames=0 biosdevname=0 ipv6.disable=1"

In case of grub.conf search for the line beginning with "linux":

# For booting GNU/Linux
menuentry "Stretch - remote" --id deb {
set root=(hd0,msdos2)
	linux /boot/vmlinuz root=/dev/sda2 net.ifnames=0 biosdevname=0 
ipv6.disable=1

initrd /boot/initrd.img
}

After reboot you should see ipv6.disable=1 in /proc/cmdline

Greg



Re: Permanent Use of IPv4

2019-02-15 Thread Felix Miata
Reco composed on 2019-02-15 18:23 (UTC+0300):

> On Fri, Feb 15, 2019 at 10:13:14AM -0500, Stephen P. Molnar wrote:

>> Thanks for help from this gropup I can force the use of IPv4 by running:  
>> sysctl -w net.ipv6.conf.all.disable_ipv6=1.
> ...
>> My question is how can I implement the sysctl statement on boot?

> echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf

There already may be a file there for the purpose, maybe better to take a 
looksee first instead of
possibly blindly overwriting:


#
# /etc/sysctl.conf is meant for local sysctl settings
#
# sysctl reads settings from the following locations:
#   /boot/sysctl.conf-
#   /lib/sysctl.d/*.conf
#   /usr/lib/sysctl.d/*.conf
#   /usr/local/lib/sysctl.d/*.conf
#   /etc/sysctl.d/*.conf
#   /run/sysctl.d/*.conf
#   /etc/sysctl.conf
#
# To disable or override a distribution provided file just place a
# file with the same name in /etc/sysctl.d/
#
# See sysctl.conf(5), sysctl.d(5) and sysctl(8) for more information
#


To me, "on boot" implies something on the kernel cmdline, e.g.:

ipv6.disable=1

Even using that I sometimes find ipv6 errors in dmesg that can be cured via an 
avahi config change.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Dependências desencontradas ao instalar o openscad

2019-02-15 Thread Guimarães Faria Corcete DUTRA , Leandro
Le Sun, Feb 10, 2019 à 8:59 AM, Hiure Queiroz
 a écrit :
>
> Então achei que aquela alteração que o Terceiro sugeriu de editar o 
> /etc/apt/preferences.d/stable já me faria remover todos os pacotes do 
> testing, mas pelo jeito não era só isso.

Sugiro que leias um pouco de documentação do Apt.  Havia um Apt how-to
em português que não é mais atualizável mas talvez seja útil.


> A outra sugestão do Terceiro foi de fazer um upgrade para o buster logo, será 
> que é melhor nesse caso?

Certamente seria o caminho natural, mas não é garantido, vez que ainda
não é uma versão estável.  Mas remover os pacotes de teste também não
é garantido.  O mais seguro sempre é ater-se à estável, e o segundo
mais seguro manter uma distribuição teste pura.



Re: get my ip address

2019-02-15 Thread David Wright
On Fri 15 Feb 2019 at 12:02:20 (+0100), Markus Schönhaber wrote:
> Tony, 15.2.2019, 11:11:29 +0100:
> 
> > Debian 9. I need to read my IPv6 address into a python script.
> > 
> > I am aware that I can call ip a and parse the result. The parsing,
> > whilst quite achievable, is slightly tricky, but I can manage the RE, so
> >  that's not my question.
> > 
> > Is there any other way to obtain this data, maybe from /sys?
> 
> Take a look at this:
> https://pypi.org/project/netifaces/
> 
> This is packaged on stretch as python[3]-netifaces

That's probably best if your destination is a Python program.

Otherwise, for scripting, it's easy to overlook   ip -o a
which makes parsing much easier. But note that you may then
need to be more specific, eg compare

$ ip a

with

$ ip -o l
$ ip -o a

Cheers,
David.



Re: Permanent Use of IPv4

2019-02-15 Thread Grzesiek Sójka

On 2/15/19 4:12 PM, Stephen P. Molnar wrote:
Thanks for help from this gropup I can force the use of IPv4 by 
running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.


If you would like to prevent the kernel from loading IPv6 simply add the 
followink




Re: P2V Debian 9 with VMware Converter

2019-02-15 Thread Calabaza
El mié., 13 feb. 2019 a las 11:36, Adam Weremczuk
() escribió:
>
> Forgot to mention the source server was up and running the entire time,
> no down time.
>
>
> On 13/02/19 14:06, Alexandre GRIVEAUX wrote:
> > It's hard to beat 20-30 seconds it takes to click and type into VMware
> > Converter and leave it running.
> > It works well for Debian 7, probably 8 as well but not 9 :(
>

I convert about 17 Debian machines with Debian 8 with little or no problem.
(I understand that you need Debian 9 but that is my experience).

I'm think your problem is about the virtual hardware versión of
destination in your ESX.

I have all my machines with Virtual Hardware version: 11

Read this links, may be help you:

[0] What other requirements and considerations are there for virtual
machines with EFI firmware?
[0] https://communities.vmware.com/docs/DOC-28494
[1] https://communities.vmware.com/thread/519642

Here [2] say that

"(...) EFI firmware is supported from hardware version 11 and above. (...)"

[2] https://communities.vmware.com/thread/584625
[3] 
https://akmyint.wordpress.com/2012/09/30/my-p2v-notes-stand-alone-servers-or-non-clustered/

I'm a Spanish speaker, sorry for my bad English.

-- 
Guillermo Galeano Fernández

http://es.wikipedia.org/wiki/Netiquette
http://www.ietf.org/rfc/rfc1855.txt



Re: Permanent Use of IPv4

2019-02-15 Thread Bastien Durel
Le vendredi 15 février 2019 à 10:12 -0500, Stephen P. Molnar a écrit :
> Thanks for help from this gropup I can force the use of IPv4 by 
> running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.
> 
> For a number of reasons I have just done a fresh install of Stretch, 
> hoping that the installer woould allow me to select IPv4, which, of 
> course it didn't.
> 
> Although I have been using Linux since the early days of Slackware, I
> am 
> not a hardware or OS person.
> 
> My question is how can I implement the sysctl statement on boot?
> 
> Thanks in advance.
> 
Hello.

Put it in a .conf file under /etc/sysctl.d/
See /etc/sysctl.d/README.sysctl

Regards,

-- 
Bastien



Re: ejecución de un cron

2019-02-15 Thread miguel angel gonzalez
Hola Matias.
El fichero lo crea y me pone el tiempo, ¿pero esa fecha es la de
finalización? Si te fijas pone la misma que la de inicio de la tarea.
*El script del cron:*

#!/bin/bash
DIA=`date +"%d/%m/%Yi%H:%M:%S"`
tar cvzf /home/user/aplicacion.tar.gz /home/user/wars/aplicacion.war.bck
echo prueba >> /home/user/prueba.out
echo $DIA >> /home/user/prueba.out
--
*El contenido del fichero de salida con la fecha:*
prueba
15/02/2019i13:35:01
--
*El cron:*
35 13  *   *   *   sh /home/user/prueba_cron.sh >>
/home/user/prueba_cron2.out


Gracias.



El vie., 15 feb. 2019 a las 16:32, Matias Mucciolo ()
escribió:

> On Friday, February 15, 2019 4:22:42 PM -03 miguel angel gonzalez wrote:
> > Buenas tardes,
> > Os pongo en antecedentes,una máquina por la noche hace unas tareas
> > programadas en cron. Veo en el log tanto en syslog como en /var/log/cron
> > (lo acabo de activar) que sólo registra el inicio de la tarea, pero no el
> > fin. ¿Se ocurre alguna manera de hacerlo?
> > Estoy haciendo pruebas de este tipo:
> > #35 13  *   *   *   sh /home/parsys/prueba_cron.sh >>
> > /home/parsys/prueba_cron2.out#35 13  *   *   *   sh
> > /home/parsys/prueba_cron.sh >> /home/parsys/prueba_cron2.out#35 13
> > *   *   *   sh /home/user/prueba_cron.sh >> /home/parsys/
> > prueba_cron2.out
> > En el fichero de salida, sólo muetra la hora de inicio. He puesto una
> > variable llamada date en el script para que me envíe la hora al fichero
> de
> > salida (prueba_cron2.out), pero nada. Quiero saber cuando finaliza.
> > ¿Alguna idea? Muchas gracias de antemano.
> > Un saludo.
> >
> > --
> > /m.a.
>
> Hola
> si eso debería funcionar..
> si el script finaliza bien y si el script esta bien realizado.
>
> si pegas el script en un pastebin para revisarlo mejor...
>
> tambien podes probarejecutando el script fuera del cron
> para ver si realmente realiza el output del date.
>
> saludos
> Matias.-
>
>
>

-- 
/m.a.


Re: ejecución de un cron

2019-02-15 Thread Matias Mucciolo
On Friday, February 15, 2019 4:22:42 PM -03 miguel angel gonzalez wrote:
> Buenas tardes,
> Os pongo en antecedentes,una máquina por la noche hace unas tareas
> programadas en cron. Veo en el log tanto en syslog como en /var/log/cron
> (lo acabo de activar) que sólo registra el inicio de la tarea, pero no el
> fin. ¿Se ocurre alguna manera de hacerlo?
> Estoy haciendo pruebas de este tipo:
> #35 13  *   *   *   sh /home/parsys/prueba_cron.sh >>
> /home/parsys/prueba_cron2.out#35 13  *   *   *   sh
> /home/parsys/prueba_cron.sh >> /home/parsys/prueba_cron2.out#35 13
> *   *   *   sh /home/user/prueba_cron.sh >> /home/parsys/
> prueba_cron2.out
> En el fichero de salida, sólo muetra la hora de inicio. He puesto una
> variable llamada date en el script para que me envíe la hora al fichero de
> salida (prueba_cron2.out), pero nada. Quiero saber cuando finaliza.
> ¿Alguna idea? Muchas gracias de antemano.
> Un saludo.
> 
> --
> /m.a.

Hola
si eso debería funcionar..
si el script finaliza bien y si el script esta bien realizado.

si pegas el script en un pastebin para revisarlo mejor...

tambien podes probarejecutando el script fuera del cron
para ver si realmente realiza el output del date.

saludos
Matias.-




Re: Permanent Use of IPv4

2019-02-15 Thread Reco
Hi.

On Fri, Feb 15, 2019 at 10:13:14AM -0500, Stephen P. Molnar wrote:
> Thanks for help from this gropup I can force the use of IPv4 by running:  
> sysctl -w net.ipv6.conf.all.disable_ipv6=1.
...
> My question is how can I implement the sysctl statement on boot?

echo 'net.ipv6.conf.all.disable_ipv6 = 1' > /etc/sysctl.d/noipv6.conf

Reco



ejecución de un cron

2019-02-15 Thread miguel angel gonzalez
Buenas tardes,
Os pongo en antecedentes,una máquina por la noche hace unas tareas
programadas en cron. Veo en el log tanto en syslog como en /var/log/cron
(lo acabo de activar) que sólo registra el inicio de la tarea, pero no el
fin. ¿Se ocurre alguna manera de hacerlo?
Estoy haciendo pruebas de este tipo:
#35 13  *   *   *   sh /home/parsys/prueba_cron.sh >>
/home/parsys/prueba_cron2.out#35 13  *   *   *   sh
/home/parsys/prueba_cron.sh >> /home/parsys/prueba_cron2.out#35 13
*   *   *   sh /home/user/prueba_cron.sh >> /home/parsys/
prueba_cron2.out
En el fichero de salida, sólo muetra la hora de inicio. He puesto una
variable llamada date en el script para que me envíe la hora al fichero de
salida (prueba_cron2.out), pero nada. Quiero saber cuando finaliza.
¿Alguna idea? Muchas gracias de antemano.
Un saludo.

-- 
/m.a.


Permanent Use of IPv4

2019-02-15 Thread Stephen P. Molnar
Thanks for help from this gropup I can force the use of IPv4 by 
running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.


For a number of reasons I have just done a fresh install of Stretch, 
hoping that the installer woould allow me to select IPv4, which, of 
course it didn't.


Although I have been using Linux since the early days of Slackware, I am 
not a hardware or OS person.


My question is how can I implement the sysctl statement on boot?

Thanks in advance.

--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



Permanent Use of IPv4

2019-02-15 Thread Stephen P. Molnar
Thanks for help from this gropup I can force the use of IPv4 by 
running:  sysctl -w net.ipv6.conf.all.disable_ipv6=1.


For a number of reasons I have just done a fresh install of Stretch, 
hoping that the installer woould allow me to select IPv4, which, of 
course it didn't.


Although I have been using Linux since the early days of Slackware, I am 
not a hardware or OS person.


My question is how can I implement the sysctl statement on boot?

Thanks in advance.

--
Stephen P. Molnar, Ph.D.
Consultant
www.molecular-modeling.net
(614)312-7528 (c)
Skype: smolnar1



Re: powernow-k8 module missing in kernel 4.9.0-8-rt-amd64

2019-02-15 Thread Curt
On 2019-02-15, Cindy-Sue Causey  wrote:
>
> Never got past the subject line at that point. That would be the same
> subject line that still sits in the active inbox, too. I'm thinking...
> surely fodder for a cognitive/comprehension study somewhere.

I now note the 'rt' in the subject line, which incited me to read the
body of the OP's article with greater care.

 Hello, I was trying to activate the module powernow-k8 to put the
 system in "performance" and I realized that it is not there. In the
 kernel 4.9.0-8-amd64 if it appears and is fully functional. It has been
 deleted for something special, is it a bug? Cheers

Ignoring the 'if' in the second sentence (no doubt a typo), the OP seems
to be saying the powernow-k8 module appears in the 4.9.0-8-amd64 kernel,
whereas it's absent in the rt version of that kernel.

Didier must be right and cpu scaling and real time don't mix.



Re: Bug with soft raid?

2019-02-15 Thread Andy Smith
Hi Steve,

On Fri, Feb 15, 2019 at 09:35:27AM +0100, steve wrote:
> >for i in /dev/sd{b..f}; do echo "DISK: ${i}"; smartctl -l scterc "${i}"; 
> >sleep 3; done
> 
> I get this for sdb and sdc
> 
> SCT Error Recovery Control:
>   Read: Disabled
>  Write: Disabled
> 
> and this for sdf
> 
> SCT Error Recovery Control:
>   Read: 70 (7.0 seconds)
>  Write: 70 (7.0 seconds)
> 
> What does it tell me ?

It means that sd[bc] may support SCTERC but it's disabled (promising),
and sdf does support it and it's set to 7 seconds (good).

For disks in Linux software RAID, SCTERC with a low timeout is
essential. If it's not possible then the block layer timeout for the
device should be increased.

You should try to set SCTERC for sd[bc] like so:

# for dev in /dev/sd[cd]; do smartctl -l scterc,70,70 "$dev"; done

If that works then great - all your drives support SCTERC and have low
timeouts.

If setting it to 70 (centiseconds, so 7 seconds) doesn't work then you
will need to increase the block layer timeout like this:

# for dev in sd[cd]; do echo 180 > /sys/block/sda/device/timeout; done

The reason to do this is that should any of your drives encounter a
problem reading or writing, without SCTERC set the drive will try very
hard to do whatever it was meant to be doing for a very long period of
time, and while it's doing that it will be unresponsive to anything
else.

The default block layer timeout is 30 seconds and a drive having
problems reading or writing just 1 sector can easily spend longer than
this trying to do so. Linux then drops the entire device from the array.
If you're lucky this only happens on the one device and you're able to
add it back in again, but a very common cause of arrays not assembling
or always having a device kicked out is these sorts of timeouts.

When using RAID it is much better to have the drive give up sooner as
the RAID should take care of what was unable to be read or written. So,
being able to set SCTERC is best, but failing that you really must set
the block layer timeout high enough.

The smartctl and /sys/block settings above don't survive a power cycle
so would need to be set at every boot.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Dan Ritter
Turritopsis Dohrnii Teo En Ming wrote: 
> Hi,
> 
> Could you recommend affordable and reliable cloud storage for 50 TB of data?
> 
> Here are some important factors to consider:
> 
> 1. Personal/non-commercial use.
> 2. Must be affordable, since I am unemployed most of the time and have
> super low levels of income for the past 12 years since I graduated
> from the National University of Singapore in 2007.
> 3. Cloud storage provider must not be a fly-by-night company, that is,
> it will not suddenly close down the next day.
> 

50TB is a lot of data. Do you actually have it right now, or are
you projecting into the future? How are you storing it?

-dsr-



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Turritopsis Dohrnii Teo En Ming
Hi Georgi,

Thank you for sharing.

I will bookmark the link.


On Fri, Feb 15, 2019 at 5:33 PM Georgi Naplatanov  wrote:
>
> On 2/15/19 8:44 AM, Turritopsis Dohrnii Teo En Ming wrote:
> > Hi,
> >
> > Could you recommend affordable and reliable cloud storage for 50 TB of data?
> >
> > Here are some important factors to consider:
> >
> > 1. Personal/non-commercial use.
> > 2. Must be affordable, since I am unemployed most of the time and have
> > super low levels of income for the past 12 years since I graduated
> > from the National University of Singapore in 2007.
> > 3. Cloud storage provider must not be a fly-by-night company, that is,
> > it will not suddenly close down the next day.
> >
>
> Hi Turritopsis,
>
>
> https://www.hetzner.com has offers for storage up to 10TB for € 39.90
> per month without VAT. Maybe it'll worth to ask them if they can provide
> 50TB for your needs.
>
> https://www.hetzner.com/storage/storage-box
>
> Kind regards
> Georgi
>

===BEGIN EMAIL SIGNATURE===

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: 
https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html



Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

===END EMAIL SIGNATURE===



Re: vender cds debian,duvidas;

2019-02-15 Thread Gilberto F da Silva
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Feb 01, 2019 at 09:33:58AM -0300, Fred Maranhão wrote:
> você fez uma pesquisa de mercado para saber se existe público
> para o seu produto?
> 
> nos últimos anos eu tenho baixado e queimado minhas próprias imagens
> de CD. e mais recentemente, com o advento do boot via pen-drive, tem sido
> comum baixar a imagem e preparar um pen-drive de boot.
> 
> e no ambiente corporativo, tem aumentado a quantidade de máquinas
> virtuais, onde ainda temos que baixar a imagem do CD, mas apresentamos
> ela virtualmente para a máquina virtual a ser instalada, sem necessidade
> de criar uma mídia física (CD, pendrive...)
> 
> sugiro que você venda os CDs sob demanda. só queime uma mídia
> quando fechar uma venda.

  CD é algo ultrapassado.  O DVD é do mesmo tamanho e armazena muito
  mais informações.

  Eu comprei um laptop que nem veio com leitor de discos.
  
- - - -- 

Stela dato:2.458.530,051  Loka tempo:2019-02-15 10:13:36 Vendredo 
- - - -==-
O fato é que depois de viajar anos, esse Voyager não descobriu 
nenhuma forma de vida inteligente pelaí. O Cosmos, ao que parece, é 
igualzinho  à Terra.
-- Millôr Fernandes
- - -BEGIN PGP SIGNATURE-
Comment: +-+
Comment: !   Gilberto F da Silva - ICQ 136.782.571 !
Comment: !gfs1...@gmx.net - Slackware64 14.2   !
Comment: +-+

iEYEARECAAYFAlxmrkIACgkQJxugWtMhGw6qIQCg7e9VLOYEz0qyDxEQufN6EGlL
icwAoI9ZPvLpw4Y0RpKG4s6kEaCsZBEU
=3rJG
- - -END PGP SIGNATURE-
- -BEGIN PGP SIGNATURE-
Comment: +-+
Comment: !   Gilberto F da Silva - ICQ 136.782.571 !
Comment: !gfs1...@gmx.net - Slackware64 14.2   !
Comment: +-+

iEYEARECAAYFAlxmroIACgkQJxugWtMhGw7uigCgx7r1/z2xItHTn6MHqyIHFi4w
YBIAoKQMrNPHjX393APoa5v0iHT0JvQ9
=6/gQ
- -END PGP SIGNATURE-
-BEGIN PGP SIGNATURE-
Comment: +-+
Comment: !   Gilberto F da Silva - ICQ 136.782.571 !
Comment: !gfs1...@gmx.net - Slackware64 14.2   !
Comment: +-+

iEYEARECAAYFAlxmr1EACgkQJxugWtMhGw6+PQCggPLXoM+eJi2eGOK2sPDOk58O
7SoAoLWO2jr0oCbz2wgIjzHN/n0k9G/p
=Rb7C
-END PGP SIGNATURE-



Re: get my ip address

2019-02-15 Thread Markus Schönhaber
Tony, 15.2.2019, 11:11:29 +0100:

> Debian 9. I need to read my IPv6 address into a python script.
> 
> I am aware that I can call ip a and parse the result. The parsing,
> whilst quite achievable, is slightly tricky, but I can manage the RE, so
>  that's not my question.
> 
> Is there any other way to obtain this data, maybe from /sys?

Take a look at this:
https://pypi.org/project/netifaces/

This is packaged on stretch as python[3]-netifaces

-- 
Regards
  mks




Re: powernow-k8 module missing in kernel 4.9.0-8-rt-amd64

2019-02-15 Thread Cindy-Sue Causey
On 2/15/19, Curt  wrote:
> On 2019-02-15, didier gaumet  wrote:
>> Le 15/02/2019 à 09:26, Curt a écrit :
>>
>>> It's included as a module in *my* kernel 4.9.0-8-amd64:
>>>
>>> curty@einstein:~$  grep -i powernow /boot/con*
>>> /boot/config-4.9.0-7-amd64:CONFIG_X86_POWERNOW_K8=m
>>> /boot/config-4.9.0-8-amd64:CONFIG_X86_POWERNOW_K8=m
>>
>> I have verified: CONFIG_X86_POWERNOW_K8 is not mentionned in the config
>> file of linux-image-4.9.0-8-rt-amd64.
>> I do not know if it is a bug. But considering a real-time kernel, maybe
>> the Powernow functionnalities (frequency scaling and power management)
>> are partly or totally irrelevant?
>>
>
> The OP said she had an rt kernel? I missed that detail.


After you said that, I did, too (miss that part). For fun, I read back
through the included snippets still in my active inbox and, nope,
didn't see it...

So I searched my email trash bucket...

Never got past the subject line at that point. That would be the same
subject line that still sits in the active inbox, too. I'm thinking...
surely fodder for a cognitive/comprehension study somewhere.

In Reality, it's about how I personally mass-read emails. Right-click,
pop a whole bunch open in separate tabs, rapid read, and delete. That
reminds me, there's another possibly still unanswered Debian-User
thread that I keep meaning to go back to and pose a possible answer.
My method of email reading annoyingly, apparently, repeatedly triggers
a duplication of that other User's issue.

:)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with birdseed *



Re: get my ip address

2019-02-15 Thread tomas
On Fri, Feb 15, 2019 at 11:11:29AM +0100, tony wrote:
> Hi all,
> 
> Debian 9. I need to read my IPv6 address into a python script.

You don't have "an IP address". Your host has, and it has zero or
more (potentially many) IP addresses. With IPV6, you'll almost
certainly end up with more than one per interface.

> I am aware that I can call ip a and parse the result. The parsing,
> whilst quite achievable, is slightly tricky, but I can manage the RE, so
>  that's not my question.
> 
> Is there any other way to obtain this data, maybe from /sys?

Try a DuckDuckGo search for ["IP address" site:docs.python.org/3]

Here [1] is a link for your convenience.

Cheers
[1] https://duckduckgo.com/html?q=%22IP%20address%22+site:docs.python.org/3
-- tomás


signature.asc
Description: Digital signature


get my ip address

2019-02-15 Thread tony
Hi all,

Debian 9. I need to read my IPv6 address into a python script.

I am aware that I can call ip a and parse the result. The parsing,
whilst quite achievable, is slightly tricky, but I can manage the RE, so
 that's not my question.

Is there any other way to obtain this data, maybe from /sys?

Cheers, Tony.



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Adam Weremczuk

The upload volume is currently capped at 750GB per day:

https://support.google.com/a/answer/172541?hl=en

So it would take you about 67 days to push to a single account and about 
14 days if you split the data into 5 even chunks and push simultaneously 
to 5 accounts.


You would need a very fast internet connection to go much faster with 
any provider anyway.



On 15/02/19 09:48, Adam Weremczuk wrote:
Actually even a cheaper "Business" plan offers unlimited storage for 5 
or more users.


So you might spend as little as $50 per month:

https://gsuite.google.com/intl/en_us/pricing.html

My links are for UK and US.

Edit the URL to browse different regions.


On 15/02/19 09:34, Adam Weremczuk wrote:

Hi,

It could make sense to sign up for Google Enterprise subscription:

https://gsuite.google.co.uk/intl/en_uk/pricing.html

5 users will cost you 5 x £20 = £100 per month and give 5 accounts 
with unlimited storage in a trusted and reliable place.


AFAIK there is upload speed cap in place so it may take you many days 
to complete the initial push.


Moving forward I would recommend rsync or similar for differential 
data updates.


Not sure why you've posted your question to this list though?

Thanks,
Adam






Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Adam Weremczuk
Actually even a cheaper "Business" plan offers unlimited storage for 5 
or more users.


So you might spend as little as $50 per month:

https://gsuite.google.com/intl/en_us/pricing.html

My links are for UK and US.

Edit the URL to browse different regions.


On 15/02/19 09:34, Adam Weremczuk wrote:

Hi,

It could make sense to sign up for Google Enterprise subscription:

https://gsuite.google.co.uk/intl/en_uk/pricing.html

5 users will cost you 5 x £20 = £100 per month and give 5 accounts 
with unlimited storage in a trusted and reliable place.


AFAIK there is upload speed cap in place so it may take you many days 
to complete the initial push.


Moving forward I would recommend rsync or similar for differential 
data updates.


Not sure why you've posted your question to this list though?

Thanks,
Adam




Re: powernow-k8 module missing in kernel 4.9.0-8-rt-amd64

2019-02-15 Thread Curt
On 2019-02-15, didier gaumet  wrote:
> Le 15/02/2019 à 09:26, Curt a écrit :
>
>> It's included as a module in *my* kernel 4.9.0-8-amd64:
>> 
>> curty@einstein:~$  grep -i powernow /boot/con*
>> /boot/config-4.9.0-7-amd64:CONFIG_X86_POWERNOW_K8=m
>> /boot/config-4.9.0-8-amd64:CONFIG_X86_POWERNOW_K8=m
>
> I have verified: CONFIG_X86_POWERNOW_K8 is not mentionned in the config
> file of linux-image-4.9.0-8-rt-amd64.
> I do not know if it is a bug. But considering a real-time kernel, maybe
> the Powernow functionnalities (frequency scaling and power management)
> are partly or totally irrelevant?
>

The OP said she had an rt kernel? I missed that detail.



Software para sua empresa

2019-02-15 Thread bugfree.com.br 3579-3071 (21)

None [1]
None [2]
Trabalhamos com sistemas open source e proprietário para web, mobile e desktop 
com total suporte para sua empresa.
Já são 20 anos de experiência com sistemas ERP (com emissão NF-e, NFS-e, 
NFC-e), CRM e outros.
Venda, implantação e configuração de toda infraestrutura necessária como 
Servidores, Computadores, Nobreaks, Rede, Impressoras, Leitores.
Automatize, controle suas Vendas, pedidos, Leads, etc.
Entre em contato para obter mais informações.
Bugfree do Brasil   -   (21) 3579-3071*
Cancelar a inscrição [3] | Contato [4]


[1] http://bugfree.com.br:8070/r/68z/m/13147020
[2] http://bugfree.com.br:8070/r/ENL/m/13147020
[3] http://bugfree.com.br:8070/unsubscribe_from_list
[4] http://bugfree.com.br:8070/r/ENL/m/13147020


Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Curt
On 2019-02-15, Turritopsis Dohrnii Teo En Ming  wrote:
>
> Basically personal data. I don't intend to access the data in the
> Cloud often. Just want to park it permanently in the Cloud. Maybe I
> can access the Cloud from anywhere in the world?
>


https://en.wikipedia.org/wiki/Amazon_Glacier


 Glacier has two costs, one for storage and one for retrieval.  Uploading data
 to Glacier is free. Storage pricing is simple: it currently costs 0.4 cents per
 gigabyte per month, which is 82% cheaper than S3 Standard.

 In 2016, AWS revised their retrieval pricing model.[16] The new model bases
 the retrieval fee on the number of gigabytes retrieved. This can amount to a
 99% price cut for users who perform only one glacier retrieval in a month. At
 the same time, AWS introduced new methods of retrieval that take different
 amounts of time. An expedited retrieval costs one cent per request and three
 cents per gigabyte, and can retrieve data in one to five minutes. A standard
 retrieval costs five cents per thousand requests and one cent per gigabyte, and
 takes three to five hours. A bulk retrieval costs 2.5 cents per thousand
 requests and 0.25 cents per gigabyte, and takes seven to twelve hours. AWS also
 introduced provisioned capacity for expedited retrievals, each unit of which
 costs $100 per month and guarantees at least three expedited retrievals every
 five minutes, and up to 150 MB/s of retrieval bandwidth. Without provisioned
 capacity, expedited retrievals are done on a capacity available basis.

Happy storage.



Re: powernow-k8 module missing in kernel 4.9.0-8-rt-amd64

2019-02-15 Thread didier gaumet
Le 15/02/2019 à 09:26, Curt a écrit :

> It's included as a module in *my* kernel 4.9.0-8-amd64:
> 
> curty@einstein:~$  grep -i powernow /boot/con*
> /boot/config-4.9.0-7-amd64:CONFIG_X86_POWERNOW_K8=m
> /boot/config-4.9.0-8-amd64:CONFIG_X86_POWERNOW_K8=m

I have verified: CONFIG_X86_POWERNOW_K8 is not mentionned in the config
file of linux-image-4.9.0-8-rt-amd64.
I do not know if it is a bug. But considering a real-time kernel, maybe
the Powernow functionnalities (frequency scaling and power management)
are partly or totally irrelevant?



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Adam Weremczuk

Hi,

It could make sense to sign up for Google Enterprise subscription:

https://gsuite.google.co.uk/intl/en_uk/pricing.html

5 users will cost you 5 x £20 = £100 per month and give 5 accounts with 
unlimited storage in a trusted and reliable place.


AFAIK there is upload speed cap in place so it may take you many days to 
complete the initial push.


Moving forward I would recommend rsync or similar for differential data 
updates.


Not sure why you've posted your question to this list though?

Thanks,
Adam



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Georgi Naplatanov
On 2/15/19 8:44 AM, Turritopsis Dohrnii Teo En Ming wrote:
> Hi,
> 
> Could you recommend affordable and reliable cloud storage for 50 TB of data?
> 
> Here are some important factors to consider:
> 
> 1. Personal/non-commercial use.
> 2. Must be affordable, since I am unemployed most of the time and have
> super low levels of income for the past 12 years since I graduated
> from the National University of Singapore in 2007.
> 3. Cloud storage provider must not be a fly-by-night company, that is,
> it will not suddenly close down the next day.
> 

Hi Turritopsis,


https://www.hetzner.com has offers for storage up to 10TB for € 39.90
per month without VAT. Maybe it'll worth to ask them if they can provide
50TB for your needs.

https://www.hetzner.com/storage/storage-box

Kind regards
Georgi



Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Turritopsis Dohrnii Teo En Ming
On Fri, Feb 15, 2019 at 5:03 PM Alexander V. Makartsev
 wrote:
>
> On 15.02.2019 11:44, Turritopsis Dohrnii Teo En Ming wrote:
>
> Hi,
>
> Could you recommend affordable and reliable cloud storage for 50 TB of data?
>
> Here are some important factors to consider:
>
> 1. Personal/non-commercial use.
>
> Out of pure interest, what kind of data do plan to store? How often do you 
> plan to access it and from what location?
> 5 GB of data looks enormous to transfer over the Internet on daily basis.

Hi Alexander,

Basically personal data. I don't intend to access the data in the
Cloud often. Just want to park it permanently in the Cloud. Maybe I
can access the Cloud from anywhere in the world?

>
> 2. Must be affordable, since I am unemployed most of the time and have
> super low levels of income for the past 12 years since I graduated
> from the National University of Singapore in 2007.
>
> I don't think there are any kind of storage service available for that kind 
> of storage demand and costs a few tenners.
> 50 TB is no joke and even basic calculation gives values around $1300 per 
> month.

USD$1300 per month is more than half or 50% of the monthly salary of a
typical university graduate in Singapore. So I don't think I will be
able to afford to pay USD$1300 per month just for cloud storage alone.

> I don't know the whole picture of your use case, but I think it would be much 
> cheaper in a long run to self-host it on premises. Even with high 
> availability solution.
>
> 3. Cloud storage provider must not be a fly-by-night company, that is,
> it will not suddenly close down the next day.
>
> Basically, you have to stick with one of major companies, like Google, 
> Amazon, CloudFlare, Microsoft.
> Otherwise, there is no guarantee that your data will vanish one day with the 
> company, but even then, once your data is uploaded into cloud it could become 
> a hostage at any time in the future.

Noted above sentence with thanks.

>
> Please advise.
>
> Thank you.
>
>
>
> --
> With kindest regards, Alexander.
>
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄⠀⠀⠀

===BEGIN EMAIL SIGNATURE===

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: 
https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html



Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

===END EMAIL SIGNATURE===⠀



Re: kmail - just a little problem

2019-02-15 Thread Freek de Kruijf
Op woensdag 13 februari 2019 17:25:56 CET schreef Hans:
> Hi folks,
> 
> I am running into a little problem with kmail in plasma.
> 
> The problem is, that the column on the very left side (the one where the
> folders like "kmail-folder" are shown)  with the the definition "name" is
> very, very big (more than 4000 pixels wide). But I can not get it smaller,
> and there appeared a scrollbar below.
> 
> I found no way to get rid of this and get the column smaller. It cannot be
> shifted in any way. If I add the other columns like "unread", "size" and
> "general", those can be made smaller and wider.
> 
> Any idea, how this behaviour appeared and how I can get rid of this?
> 
> Thank you for reading this message and for any help.
> 
> Best regards
> 
> Hans

I had the same problem some time ago. The only solution I found, was to remove 
the configuration of kmail/kontact and start a new configuration.  I renamed 
the user and generated a new user with the same name and the same userid and 
groupid. Copied most of the configurations from the previous user, obviously 
except those for kontact/kmail.

-- 
fr.gr.

Freek de Kruijf





Re: Please Recommend Affordable and Reliable Cloud Storage for 50 TB of Data

2019-02-15 Thread Alexander V. Makartsev
On 15.02.2019 11:44, Turritopsis Dohrnii Teo En Ming wrote:
> Hi,
>
> Could you recommend affordable and reliable cloud storage for 50 TB of data?
>
> Here are some important factors to consider:
>
> 1. Personal/non-commercial use.
Out of pure interest, what kind of data do plan to store? How often do
you plan to access it and from what location?
5 GB of data looks enormous to transfer over the Internet on daily
basis.
> 2. Must be affordable, since I am unemployed most of the time and have
> super low levels of income for the past 12 years since I graduated
> from the National University of Singapore in 2007.
I don't think there are any kind of storage service available for that
kind of storage demand and costs a few tenners.
50 TB is no joke and even basic calculation gives values around $1300
per month.
I don't know the whole picture of your use case, but I think it would be
much cheaper in a long run to self-host it on premises. Even with high
availability solution.
> 3. Cloud storage provider must not be a fly-by-night company, that is,
> it will not suddenly close down the next day.
Basically, you have to stick with one of major companies, like Google,
Amazon, CloudFlare, Microsoft.
Otherwise, there is no guarantee that your data will vanish one day with
the company, but even then, once your data is uploaded into cloud it
could become a hostage at any time in the future.
> Please advise.
>
> Thank you.
>


-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄ 



Re: How to file a proper bug report

2019-02-15 Thread Andrea Borgia
Hello, TJ

Just a quick note on "AMD open driver": I assume you have been using the
standard kernel in Buster, right?

Have you tried this version?
https://github.com/M-Bab/linux-kernel-amdgpu-binaries

I have a Ryzen with embedded graphics and it works quite nicely, though I
am no gamer.

Regards,
Andrea.

Il giorno ven 15 feb 2019 alle ore 00:28  ha scritto:

> I have a user question on how to file a proper Debian bug report under
> certain circumstances.
>
> I've been testing Debian Buster off and on with Steam games. I have noted
> that using the AMD open driver and Buster with Alien Isolation seems to
> suffer some graphics regressions, specifically "blinking black squares."
> This does not happen under Debian Stable with the kernel from
> stretch-backports (needed for my AMD Radeon 580RX on a Ryzen 5 2600X). I'd
> like to file a proper bug report, but I can't be confident that it Buster's
> Mesa library that is the issue. I have no real experience debugging the
> graphics stack, unfortunately.
>
> I've noted that this remains unaddressed in Ubuntu 18.04 LTS as well (if
> that is actually helpful).
>
> What is the best/most productive way to proceed?
>
> Thank you!
> T.J.
>


Re: Bug with soft raid?

2019-02-15 Thread steve

Hi all,

Thank you for your answers. Was busy so couldn't answer before.

My system disk (with /, /usr, /boot and /boot/efi) is on a separate
(non-RAID) disk sda.



Maybe this works for you, too?
You can try:


cat /proc/mdstat 
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md1 : active raid1 sdf5[3] sdc5[1] sdb5[2](S)

 117120896 blocks super 1.2 [2/2] [UU]
 
md2 : active raid1 sdf6[3] sdc6[1] sdb6[2](S)

 97589120 blocks super 1.2 [2/2] [UU]
 
md0 : active raid1 sdf1[3] sdc1[1] sdb1[2](S)

 19514240 blocks super 1.2 [2/2] [UU]



for i in /dev/sd{b..f}; do echo "DISK: ${i}"; smartctl -l scterc "${i}"; sleep 
3; done


I get this for sdb and sdc

SCT Error Recovery Control:
  Read: Disabled
 Write: Disabled


and this for sdf

SCT Error Recovery Control:
  Read: 70 (7.0 seconds)
 Write: 70 (7.0 seconds)


What does it tell me ?



Re: powernow-k8 module missing in kernel 4.9.0-8-rt-amd64

2019-02-15 Thread Curt
On 2019-02-15, didier gaumet  wrote:
> Le 14/02/2019 à 14:16, Suso Comesaña a écrit :
>> Hello, I was trying to activate the module powernow-k8 to put the system
>> in "performance" and I realized that it is not there. In the kernel
>> 4.9.0-8-amd64 if it appears and is fully functional. It has been deleted
>> for something special, is it a bug? Cheers
>
> this command
>
> $ grep -i powernow /boot/con*
>
> should inform you: maybe instead of "m" for module, the result would be
> "y" for included in the kernel (I do not know)
>
>
>

It's included as a module in *my* kernel 4.9.0-8-amd64:

curty@einstein:~$  grep -i powernow /boot/con*
/boot/config-4.9.0-7-amd64:CONFIG_X86_POWERNOW_K8=m
/boot/config-4.9.0-8-amd64:CONFIG_X86_POWERNOW_K8=m






Re: powernow-k8 module missing in kernel 4.9.0-8-rt-amd64

2019-02-15 Thread didier gaumet
Le 14/02/2019 à 14:16, Suso Comesaña a écrit :
> Hello, I was trying to activate the module powernow-k8 to put the system
> in "performance" and I realized that it is not there. In the kernel
> 4.9.0-8-amd64 if it appears and is fully functional. It has been deleted
> for something special, is it a bug? Cheers

this command

$ grep -i powernow /boot/con*

should inform you: maybe instead of "m" for module, the result would be
"y" for included in the kernel (I do not know)




Re: WiFi without Network Manager

2019-02-15 Thread didier gaumet
Hello,

- As a GUI alternative to NetworkManager; Wicd has been mentionned, but
there is also Connman
- the GUI part of NetworkManager (the gnome applet:
network-manager-gnome) is not mandatory: there are TUI (nmtui) and CLI
(nmcli) interfaces included in the NetworkManager base package
(network-manager)
- In my opinion, it would probably be simpler to use only NetworkManager
than NetworkManager and /etc/interfaces in your use case



nscd errors with AppArmor

2019-02-15 Thread André Rodier
Hello all,

I have an annoying bug or something not configured properly with the
nscd library, that is visible with AppArmor.

This is happening at least with Apache and Dovecot.

With Dovecot:
> Feb 15 06:51:19 portal kernel: [2105960.896749] audit: type=1400 
> audit(1550213479.204:6722): apparmor="DENIED" operation="file_mmap" 
> info="Failed name lookup - disconnected path" error=-13 
> profile="/usr/lib/dovecot/auth" name="var/cache/nscd/hosts" pid=6180 
> comm="auth" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
> Feb 15 07:04:30 portal kernel: [2106752.493506] audit: type=1400 
> audit(1550214270.805:6723): apparmor="DENIED" operation="file_mmap" 
> info="Failed name lookup - disconnected path" error=-13 
> profile="/usr/lib/dovecot/auth" name="var/cache/nscd/hosts" pid=6653 
> comm="auth" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
> Feb 15 07:47:27 portal kernel: [2109329.163406] audit: type=1400 
> audit(1550216847.487:6724): apparmor="DENIED" operation="file_mmap" 
> info="Failed name lookup - disconnected path" error=-13 
> profile="/usr/lib/dovecot/auth" name="var/cache/nscd/hosts" pid=8221 
> comm="auth" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
> 

With Apache:
> Feb 15 06:25:22 portal kernel: [2104404.314334] audit: type=1400 
> audit(1550211922.612:6713): apparmor="DENIED" operation="file_mmap" 
> info="Failed name lookup - disconnected path" error=-13 
> profile="/usr/sbin/apache2" name="var/cache/nscd/hosts" pid=5144 
> comm="apache2" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
> Feb 15 06:25:22 portal kernel: [2104404.678807] audit: type=1400 
> audit(1550211922.976:6714): apparmor="DENIED" operation="file_mmap" 
> info="Failed name lookup - disconnected path" error=-13 
> profile="/usr/sbin/apache2" name="var/cache/nscd/passwd" pid=5144 
> comm="apache2" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
> Feb 15 06:25:22 portal kernel: [2104404.679772] audit: type=1400 
> audit(1550211922.980:6715): apparmor="DENIED" operation="file_mmap" 
> info="Failed name lookup - disconnected path" error=-13 
> profile="/usr/sbin/apache2" name="var/cache/nscd/group" pid=5144 
> comm="apache2" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
> 

Basically, the query to open nscd cache files is missing the heading
'/' character.

Does anyone has an idea where this is coming from?

Thanks,
André

-- 
André Rodier
HomeBox: https://github.com/progmaticltd/homebox