Assistenza sanitaria a casa? UniSalute si prende cura dei tuoi cari

2014-06-22 Thread UniSalute
Assistenza sanitaria a casa? UniSalute si prende cura dei tuoi cari
Se i tuoi genitori hanno bisogno di cure e riabilitazione a casa dopo un 
ricovero, come ti organizzi?

Assistenza sanitaria a casa? UniSalute si prende cura dei tuoi cari

2014-06-22 Thread UniSalute
Assistenza sanitaria a casa? UniSalute si prende cura dei tuoi cari
Se i tuoi genitori hanno bisogno di cure e riabilitazione a casa dopo un 
ricovero, come ti organizzi?

Re: [OT]: Instalar y Configurar PPTP Server en un container OpenVZ en PROXMOX.

2014-06-22 Thread Camaleón
El Sat, 21 Jun 2014 19:41:49 +0200, Ramses escribió:

 El 21/06/2014, a las 16:33, Camaleón noela...@gmail.com escribió:
 
 El Sat, 21 Jun 2014 16:08:57 +0200, Ramses escribió:
 
 (...)
 
 ¿Sabe alguien si hay algún tipo de truco, o configuración especial,
 para montar un PPTP Server en un CT OpenVZ en PROXMOX ?

(...)

 Tienes más guías/ayuda en Google:
 
 https://www.google.com/webhp?complete=0hl=engws_rd=ssl#complete=0hl=enq=pptp+server+proxmox
 
 Sí, los he visto, son las configuraciones habituales, o yo no veo
 diferencia...

Alguna diferencia debe haber para que funcione en unos casos y en otros no.

 ¿No hay nadie por aquí que haya montado un PPTP Server sobre OpenVZ en
 un PROXMOX?

Seguramente sí, y seguramente en la lista de Proxmox encuentres mucha más 
gente con esa configuración ;-)

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/pan.2014.06.22.14.44...@gmail.com



Re: Configuración de Script para Repositorio Debian

2014-06-22 Thread Santiago Vila
On Fri, Jun 20, 2014 at 01:20:12PM -0400, Richard Díaz Rodríguez wrote:
 Hola amigos de la lista me gustaría saber como con figurar mi script
 que utiliza debmirror para actualizar mi repo pero no quiero que me
 actualice ni nada de juegos ni otros programas que no tengan que ver
 con servicios importantes para servidores ni nada de eso solo lo que
 me hace falta para un server DEBIAN pues el ancho de banda que tengo
 es poco y si no es así jamas podré tener actualizado mi repositorio
 espero su ayuda

Con esas condiciones, *no* uses debmirror, usa mejor debpartial-mirror
o cualquier otra cosa parecida.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140622212846.ga32...@cantor.unex.es



Arduino IDE on Debian 7 Wheezy

2014-06-22 Thread Staffan Melin (Oscillator)
Hej!

Jag har ett problem med att kommunicera med min Arduino Uno R3 under
Debian 7 Wheezy.

Jag har installerat Arudino-paketet (1.0.1 = gammalt, men det som
finns i repon).

När jag ansluter mn Arduino över USB, är menyvalet Tools  Serial
valbart, och jag ser min serieport där (typ /dev/ttyACMX, där X är en
siffra typ 0, 1 eller 2).

Men när jag laddar upp min kod så får jag ett felmeddelande Error
opening serial port /dev/ttyACMX, och menyvalet Tools  Serial blir
grått (ej valbart).

Om jag kör Arduino IDE som root fungerar det dock, vilket leder mig
till att tro att det är ett behörighetsproblem.

Jag har följt instrutionerna under
http://playground.arduino.cc/Linux/Debian och har Jag har
librxtx2.2pre2-11.

Jag har även tittat på http://playground.arduino.cc/Linux/All och lagt
till mig själv i gruppen dialout Instruktionerna under Now we have to
check if you have permission on the lock folder:  kan jag dock inte
följa eftersom jag saknar /usr/lib/tmpfiles.d/legacy.conf.

Någon som har ett bra tips?

Staffan
.
-- 
Staffan Melin
Oscillator - ord bild form
Kryssdäcket 1
SE-413 27 GÖTEBORG
SVERIGE/SWEDEN
www.oscillator.se
staffan.me...@oscillator.se
+46 (0)70-4876 250


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAERjL6c8bes6c-Dg+bxKR2YtCn6hwcrunuc-ja+seojd...@mail.gmail.com



Re: Arduino IDE on Debian 7 Wheezy

2014-06-22 Thread Sven Arvidsson
On Sun, 2014-06-22 at 12:03 +0200, Staffan Melin (Oscillator) wrote:
 Jag har ett problem med att kommunicera med min Arduino Uno R3 under
 Debian 7 Wheezy.
[..]
 När jag ansluter mn Arduino över USB, är menyvalet Tools  Serial
 valbart, och jag ser min serieport där (typ /dev/ttyACMX, där X är en
 siffra typ 0, 1 eller 2).
 
 Men när jag laddar upp min kod så får jag ett felmeddelande Error
 opening serial port /dev/ttyACMX, och menyvalet Tools  Serial blir
 grått (ej valbart).
[..]
 Jag har även tittat på http://playground.arduino.cc/Linux/All och lagt
 till mig själv i gruppen dialout Instruktionerna under Now we have to
 check if you have permission on the lock folder:  kan jag dock inte
 följa eftersom jag saknar /usr/lib/tmpfiles.d/legacy.conf.

Dum fråga kanske men du har loggat ut och in igen efter att du lade till
din användare i gruppen?

Det kan även göra skillnad om du sänker hastigheten på serieporten i
inställningarna.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22



signature.asc
Description: This is a digitally signed message part


Re: Arduino IDE on Debian 7 Wheezy

2014-06-22 Thread Sven Arvidsson
Det verkar visst finnas lite olika bud:

lock och uucp-grupperna:
https://wiki.archlinux.org/index.php/arduino#Error_opening_serial_port

samt tty-gruppen:
http://playground.arduino.cc/Linux/Debian

Du får nog undersöka /dev/ttyACMx och /dev/ttyUSBx

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22



signature.asc
Description: This is a digitally signed message part


Re: Arduino IDE on Debian 7 Wheezy

2014-06-22 Thread Staffan Melin (Oscillator)
2014-06-22 18:34 GMT+02:00 Sven Arvidsson s...@whiz.se:
 Det verkar visst finnas lite olika bud:

Tack! Har dock redan läst dessa länkar...


 lock och uucp-grupperna:
 https://wiki.archlinux.org/index.php/arduino#Error_opening_serial_port

Har lagt till mig där. Lock-gruppen fanns inte från början, så den
skapade jag. uucp-gruppen ska inte behövas, men jag har lagt till mig
även där.


 samt tty-gruppen:
 http://playground.arduino.cc/Linux/Debian

Japp, har lagt till mig där redan.


 Du får nog undersöka /dev/ttyACMx och /dev/ttyUSBx


Här var en bra guide för just Debian Wheezy som jag kontrollerade, men
jdet fungerar ändå inte.

Nu lutar det åt att jag tror det har med låsningen i
/run/lock/-katalogen att göra...men vet inte riktigt hur jag ska gå
vidare.

Enligt http://playground.arduino.cc/Linux/All så

this folder is created at boot time from the system, following the
instruction from /usr/lib/tmpfiles.d/legacy.conf
so we need to change the default permission on the conf file to
respect our need. 

men någon sådan legacy.conf fil har jag inte.

Skumt (men tack för input)!

Staffan






 --
 Cheers,
 Sven Arvidsson
 http://www.whiz.se
 PGP Key ID 760BDD22




-- 
Staffan Melin
Oscillator - ord bild form
Kryssdäcket 1
SE-413 27 GÖTEBORG
SVERIGE/SWEDEN
www.oscillator.se
staffan.me...@oscillator.se
+46 (0)70-4876 250


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caerjl6cdnwm0grftyzsqpnpewrphb51q4vjuhrqwgmiu34k...@mail.gmail.com



lxc @docker e afins

2014-06-22 Thread Alex Clemente
olá pessoall, bom dia, tudo bem?

no meu ambiente de trabalho tenho um openSuse instalado, versão 12 eu acho
por ae sei la...

para eu rodar os programas que existem nessa máquina, do meu trabalho, em
outra m´quina linux por ex
o debian 7 eu preciso usar o lxc é isso? tem haver com o @docker ou algo do
tipo?

utilizando essas libs não há trabalho algum a nao ser pouca configuração
e cópia de arquivos?

é isso mesmo?

Desde já agradeço ...
[]s

Att.,
Alex.


Assistenza sanitaria a casa? UniSalute si prende cura dei tuoi cari

2014-06-22 Thread UniSalute
Assistenza sanitaria a casa? UniSalute si prende cura dei tuoi cari
Se i tuoi genitori hanno bisogno di cure e riabilitazione a casa dopo un 
ricovero, come ti organizzi?

Re: Strange no mail traffic........

2014-06-22 Thread Charlie

  On Sun, 22 Jun 2014 00:50:49 +0200 B mentioned this: 
Re: Strange no mail traffic. 

  Wondering if the Debian user server is down?  
 
 Much more down under ;-)

  From my keyboard:

   Hello B,

  Very droll, thank you.

Thank you to all who replied, so it was just a lull in posts, wow.

Charlie

-- 
Registered Linux User:- 329524
***

Every generation laughs at the old fashions, but religiously
follows the new. ...Henry
David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140622164815.24690a47@taogypsy.wildlife



Question: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

2014-06-22 Thread Hans
Hello list,
after changing to systemd some packages give me the following message:

warning: update-rc.d: warning: start and stop actions are no longer supported; 
falling back to defaults

It also looks like, these demons are no more started at boot. For example, 
eeepc-acpi-scripts gives such a message. When I use dpkg-reconfigure eeepc-
acpi-scripts I get this message and everything is working well. 

But after next boot, it does not work any more - I have to to dpkg-reconfigure 
again.

So the package is ok, I think.

Can I configure something myself to avoid these things or is this a bug and the 
maintainer should be informed?

Thanks for all feedback.

Best regards

Hans


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/13499504.SBBgSYKL6v@protheus7



Re: Does LXDE really require lightdm?

2014-06-22 Thread Lisi Reisz
On Sunday 22 June 2014 01:31:50 Steve Litt wrote:
 The whole reason I'm switching from Xubuntu to Debian is to get away
 from both Plymouth and *dm.

I hadn't heard of Plymouth.  I just googled it and blanched.  Thanks for the 
heads up, Steve!  One more reason why I shall avoid *buntu. :-(

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201406221101.10476.lisi.re...@gmail.com



Re: Question: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

2014-06-22 Thread Sven Joachim
On 2014-06-22 11:36 +0200, Hans wrote:

 Hello list,
 after changing to systemd some packages give me the following message:

 warning: update-rc.d: warning: start and stop actions are no longer 
 supported; 
 falling back to defaults

This message is harmless, the start and stop options were only
meaningful with the static boot order without insserv that predates
wheezy.

 It also looks like, these demons are no more started at boot. For example, 
 eeepc-acpi-scripts gives such a message. When I use dpkg-reconfigure eeepc-
 acpi-scripts I get this message and everything is working well. 

 But after next boot, it does not work any more - I have to to 
 dpkg-reconfigure 
 again.

Do you have a symlink /etc/rcS.d/S??eeepc-acpi-scripts pointing to
../init.d/eeepc-acpi-scripts (the exact value of ?? varies from system
to system)?

Also, which init system do you use?

Cheers,
   Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87bntltd5j@turtle.gmx.de



Installation disc creator (Was: Resizing LVM issue)

2014-06-22 Thread Miroslav Skoric

On 06/15/2014 10:52 PM, Reco wrote:



No, it seems to belong to main archive.

$ apt-cache search apt on cd | grep ^apt
apt - commandline package manager
aptdaemon - transaction based package management service
aptoncd - Installation disc creator for packages downloaded via APT



Yep, aptoncd was the one that asked for more space in /tmp. Not anymore 
after resizing. I use that app mostly for updating the other machine 
that does not have broadband access (dial-up is there but too slow for 
updating). Btw, what app is good for making an image of the system, sort 
of full backup, and is it possible to use such an image to clone more 
than one comp later, i.e. to avoid installations from scratch? (I have 
two Debian machines here and another one with Ubuntu, and maybe would go 
moving that Ubuntu to Debian but don't like reinstalling all over again...)


M.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53a6c0f6.3030...@eunet.rs



Re: Resizing LVM issue

2014-06-22 Thread Pascal Hambourg
Miroslav Skoric a écrit :
 
 1. What would you do if you need more space in /tmp and you know you 
 have some spare space in /home or else, but do not want to reinstall?

If you are in such a situation, then you missed one of the goals of LVM.
You should not have allocated all the space in the VG but instead should
have left some free space for further growing or creating LVs when the
need arises.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53a6da43.40...@plouf.fr.eu.org



Re: Resizing LVM issue

2014-06-22 Thread Pascal Hambourg
Bob Proulx a écrit :
 
 There are many stories of this from people doing the same thing on the
 net.  It seems that the code for expanding the file system is used
 often and optimized to run fast but that the code for shrinking it is
 not used very often and therefore has severe inefficiencies.  But if
 you wait long enough, more than a week in my case, then it will finish
 successfully.

Regardless of any optimization, shrinking a filesystem is much more
difficult that expanding it. It requires to move all the used blocks
which are allocated beyond the new size. Moving blocks on the same disk
is a rather slow operation.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53a6db85.8010...@plouf.fr.eu.org



Re: Question: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

2014-06-22 Thread Hans

  But after next boot, it does not work any more - I have to to
  dpkg-reconfigure again.
 
 Do you have a symlink /etc/rcS.d/S??eeepc-acpi-scripts pointing to
 ../init.d/eeepc-acpi-scripts (the exact value of ?? varies from system
 to system)?
 
 Also, which init system do you use?
 
 Cheers,
Sven

Hi Sven,

yes, I have a symlink to /etc/init.d/eeepc*, and there is also a symlink in 
/etc/rcS.d/.

It is weired, that /etc/init.d/eeepc-acpi-scripts restart does not work, but 
dpkg-reconfigure eeepc-scpi-scripts does. I do not know the diffference, but 
I 
think, dpkg does start the process in a different way than /etc/init.d/* does.

I do not know, which init system I am using, I guess it is init5 (as 
standard), but maybe I am wrong here. As I said, I changed to systemd some 
time ago, and I believe, this problem appeared since that change (but I am not 
sure!)

Is there any other think I can check?

Best 

Hans


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1558980.D8CXvlTAXl@protheus2



Re: Installation disc creator (Was: Resizing LVM issue)

2014-06-22 Thread Linux-Fan
On 06/22/2014 01:41 PM, Miroslav Skoric wrote:
 On 06/15/2014 10:52 PM, Reco wrote:
 Btw, what app is good for making an image of the system, sort
 of full backup, and is it possible to use such an image to clone more
 than one comp later, i.e. to avoid installations from scratch? (I have
 two Debian machines here and another one with Ubuntu, and maybe would go
 moving that Ubuntu to Debian but don't like reinstalling all over again...)
 
 M.

You could try ``Remastersys''(http://remastersys.com/), although it is
currently not maintained AFAICT, it still works here. As I also use it
very often -- should it finally go offline, I am going to keep at least
a modified Debian version running.

A cleaner approach (which I have tried multiple times without success
already) could be a customized installation disc.

HTH
Linux-Fan



signature.asc
Description: OpenPGP digital signature


Question: debian way to create debian live-dvd

2014-06-22 Thread Hans
Hello list,

I want to create a debian live-cd from an installed debian system.

What is the best debian way? live-build can not be used, as there are some 
manually copied files on my system, I want to preserve (i.e. my own wordlists) 
and some applications, which are not available as debian packages.

At the moment I am using bootcdwrite. If there are better tools (I believe, 
there is also live-helper), please point them to me.

What I imagine is:

- the live-cd should be runable (just like knoppix or similar)
- it should be installable, when the user needs it
- the installation should be automatically (just overwrite the complete  
harddrive)
- user friendly (one-click-solution)

I am sure, this is possible, but still did not find the correct tools.

Any help is welcome.

Best regards

Hans


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1605058.7DQpy4TeJZ@protheus2



Getting rights right

2014-06-22 Thread Diogene Laerce
Hi,

I have a strange behavior lately on my Deby. After a run of :

chown user:user -R /home/user/Documents

and :

chmod 700 -R /home/user/Documents

I run :

find /home/user/Documents ! -perm 0700

But I still get a list of files like :

   .
   .
   .
/home/user/Documents/administrative/passport (2).png
/home/user/Documents/administrative/00IMG_0006.jpg
/home/user/Documents/administrative/IMG_0016.jpg
/home/user/Documents/administrative/visit.appart
   .
   .
   .

Then if I checked their rights with :

ls -la /home/user/Documents/administrative

They are anyway all well checked :

-rw---

Could someone have an idea of what is going on ? What should I believe ?
The find command or the ls one ?

Thank you
-- 
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”

  Diogene Laerce



signature.asc
Description: OpenPGP digital signature


Re: Question: debian way to create debian live-dvd

2014-06-22 Thread Go Linux

On Sun, 6/22/14, Hans hans.ullr...@loop.de wrote:

 Subject: Question: debian way to create debian live-dvd
 To: debian-user@lists.debian.org
 Date: Sunday, June 22, 2014, 9:57 AM
 
 Hello list,
 
 I want to create a debian live-cd from an installed debian
 system.
 
 What is the best debian way? live-build can not be used, as
 there are some 
 manually copied files on my system, I want to preserve (i.e.
 my own wordlists) 
 and some applications, which are not available as debian
 packages.
 
 At the moment I am using bootcdwrite. If there are better
 tools (I believe, 
 there is also live-helper), please point them to me.
 
 What I imagine is:
 
 - the live-cd should be runable (just like knoppix or
 similar)
 - it should be installable, when the user needs it
 - the installation should be automatically (just overwrite
 the complete  
 harddrive)
 - user friendly (one-click-solution)
 
 I am sure, this is possible, but still did not find the
 correct tools.
 
 Any help is welcome.
 
 Best regards
 
 Hans
 


refractasnapshot and refractainstaller - http://www.ibiblio.org/refracta/ - 
will create a bootable cd, dvd or USB of your working system.  I have found it 
to be rock solid. However, it's not exactly one click and may require some 
adjustments to various configuration files.  IMO, it's the best option out 
there.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1403452822.53018.yahoomailba...@web163402.mail.gq1.yahoo.com



Re: Question: debian way to create debian live-dvd

2014-06-22 Thread Bzzzz
On Sun, 22 Jun 2014 16:57:30 +0200
Hans hans.ullr...@loop.de wrote:

 What is the best debian way? live-build can not be used, as there
 are some manually copied files on my system, I want to preserve
 (i.e. my own wordlists) and some applications, which are not
 available as debian packages.

As a huge lazy person (vital to be, in IT;), I wouldn't start
from scratch.
I'd start from an existing CD, dump it as an ISO image, then
add/modify this ISO and finally burn it on a new CD.
 
 - it should be installable, when the user needs it

This might be a problem as you wanna use non-Debian pgms:
may be a good way would be to package these pgms (? others 
will tell).

 - the installation should be automatically (just overwrite the
 complete harddrive)

You shouldn't, as in a few months the risk to have unsupported
hardware will grow up (unless you continually upgrade your
image, which might be almost a full time work).

Imagine your Ethernet|Wifi I/F isn't supported (eg: missing
firmware on your CD)… bad weather it is, isn't it?

On the other hand, you could reduce the number of questions
asked by your installer (to the important ones) and 
man of the street-ize it.
eg: you plan the IP address will _always_ be delivered by
the user's ADSL box, add text explaining what to do to set
the ADSL box as a DHCP svr in simple words, why doing that,
etc.

Of course, you _could_ completely automatize the installation
process, but it would take a lot of _hard_ work to take _any_
case in account.
So, the question behind the question is: is it worth it to
spend weeks (or even months, depending on your skills, speed
and free time) to build a sometimes-stable CD from scratch?

Now, if the goal is just to replicate an existing installation,
there is FAI, which provides easy remote installation (IIRC,
it can be secured through a SSH tunnel - to be checked).

-- 
Man is not made to work, the proof is that it exhausts him.
-- Voltaire


signature.asc
Description: PGP signature


Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread Tom H
On Fri, Jun 20, 2014 at 11:31 AM, Bret Busby b...@busby.net wrote:
 On Fri, 20 Jun 2014, Bob Proulx wrote:

 This is one of those religious wars that has been fought and won and
 lost many times across the Internet. Please don't start it up again
 here. If you do really want to do so please use the off-topic mailing
 list d-community-offto...@lists.alioth.debian.org since the issue has
 nothing to do with using Debian.

 Given what has already hapened within the thread, the above message to which
 I am responding, appears to be a troll.

Requesting that you take a religious-type discussion (like a list's
Reply To settings) to the OT list isn't trolling!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAOdo=SxFq4vxBLc_7ioiiWtcj3DbVe=uhydUv=vyiinmcyz...@mail.gmail.com



Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread Bzzzz
On Sun, 22 Jun 2014 13:13:39 -0400
Tom H tomh0...@gmail.com wrote:

 Requesting that you take a religious-type discussion (like a list's
 Reply To settings) to the OT list isn't trolling!

Let's launch Troll-CD, a pure ubuntu distro on a USB key,
multiple points of failure, etc.

-- 
QTbot If we ping Santa, is there may be a packet loss?


signature.asc
Description: PGP signature


Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread davidson

On Sun, 22 Jun 2014, Tom H wrote:


On Fri, Jun 20, 2014 at 11:31 AM, Bret Busby b...@busby.net wrote:

On Fri, 20 Jun 2014, Bob Proulx wrote:


This is one of those religious wars that has been fought and won
and lost many times across the Internet. Please don't start it up
again here. If you do really want to do so please use the
off-topic mailing list
d-community-offto...@lists.alioth.debian.org since the issue has
nothing to do with using Debian.


Given what has already hapened within the thread, the above message
to which I am responding, appears to be a troll.


Requesting that you take a religious-type discussion (like a list's
Reply To settings) to the OT list isn't trolling!


see

 https://lists.debian.org/debian-user/2014/06/msg01187.html

wherein on Wed, 18 Jun 2014, Bret Busby wrote:


Now, if only the list defaulted to Reply To List, it would be good,
and, make replying to the list, easier...

But, I believe that this particular issue has very strong feelings on
both sides of the debate.


and so, iiuc, OP (Bret) was not trying to initiate a discussion of how
things (listserv configs, etc) *should* be.  instead, it looks to me
that OP merely sought to clarify how things actually *are*.

-wes


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: 
https://lists.debian.org/alpine.deb.2.02.1406221319050.24...@brutus.ling.ohio-state.edu



apt-get update upgrade = zfsonlinux broken

2014-06-22 Thread dpchrist
debian-user:

This morning, I did:

# apt-get update
# apt-get upgrade


After rebooting, my ZFS on Linux pool and file systems no longer work:

# zpool list
no pools available

# zfs list
no datasets available


I believe the ZFS kernel module is loaded:

# dmesg | grep -i zfs
[   30.541398] ZFS: Loaded module v0.6.3-763_ge883253, ZFS pool
version 5000, ZFS filesystem version 5


I have a single ZFS pool that uses two disks in a mirror, and they appear
to be working:

# l /dev/mapper/ST*
/dev/mapper/ST3000DM001-9YN_S1F042HH_crypt@
/dev/mapper/ST3000DM001_1CH_W1F1R3VC_crypt@


Any suggestions?

TIA,

David



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/51357.184.23.143.12.1403458394.squir...@holgerdanske.com



Re: Getting rights right

2014-06-22 Thread Linux-Fan
On 06/22/2014 04:58 PM, Diogene Laerce wrote:
 Hi,
 
 I have a strange behavior lately on my Deby. After a run of :
 
 chown user:user -R /home/user/Documents
 
 and :
 
 chmod 700 -R /home/user/Documents
 
 I run :
 
 find /home/user/Documents ! -perm 0700
 
 But I still get a list of files like :

[...]

 Then if I checked their rights with :
 
 ls -la /home/user/Documents/administrative
 
 They are anyway all well checked :
 
 -rw---
 
 Could someone have an idea of what is going on ? What should I believe ?
 The find command or the ls one ?
 
 Thank you

Both are correct. ls tells you -rw... which is 0600 while the find
command does not display (and only hides) exactly 0700.

It could be possible that you opened and saved the files between the
chmod and find and the application writing the files correctly (IMO)
reset the permissions to non-executable 0600. Otherwise, it would be
indeed strange for the permissions to magically change between chmod and
find.

HTH
Linux-Fan



signature.asc
Description: OpenPGP digital signature


Re: Does LXDE really require lightdm?

2014-06-22 Thread David Dušanić


22.06.2014, 02:31, Steve Litt sl...@troubleshooters.com:
 Hi all,

 I installed LXDE on a no-X, no-desktop virgin network Wheezy 64bit
 install with non-free software allowed, and on the next boot it went
 into lightdm. The only thing I could find that installed and required
 lightdm was LXDE. I uninstalled LXDE, installed Xfce, installed
 whatever bestows startx, and bang, X from the CLI command line, no *dm
 needed.

 1) Am I correct that Debian's LXDE package installs lightdm?

 2) Does that come from the LXDE project, or is it a Debian thing?

 3) Is there a way to turn off LXDE's install of lightdm?

 The whole reason I'm switching from Xubuntu to Debian is to get away
 from both Plymouth and *dm. Fortunately, I find LXDE desireable, but no
 way do I find it necessary.


I am sure it is just a recommends, so install it without:

*apt-get install --no-install-recommends package*

Also, *lxde* is a metapackage. Meta packages usually come with a ton of 
recommended packages by Debian to facilitate installs for the user, you can 
even switch it off in apt for all packages you want to install. 

-- 
David Dusanic


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1595461403470...@web27m.yandex.ru



Re: dhclient changes IP address

2014-06-22 Thread Rainer Dorsch
Hi Bob,

my fritz.box is a DSL router from AVM, which unfortunately does not give me 
access to syslog.

What I noticed is that 192.168.178.87 shows up without MAC address in the list 
of network devices of the fritz.box 

I think I will try first to get support from AVM on that topic. If that is not 
successful, I will look in more detail into the tcpdumps (although since I 
have to take that on the client side, that might be difficult during the 
startup 
phase).

Thanks,
Rainer

On Friday 20 June 2014 13:11:45 Bob Proulx wrote:
 Rainer Dorsch wrote:
  I have a system which comes up with one IP address 192.168.178.87 via
  dhclient, then after one day it gets eventually a different address
 
  192.168.178.88 from my fritz.box, which runs the dhcp server:
 On your fritz.box what does the dhcpd log to the syslog?
 
   grep dhcpd /var/log/syslog
 
 And if you need to go back futher than a day:
 
   zgrep dhcpd /var/log/syslog* | less
 
 Also very useful for debugging is the dhcpdump utility.
 
   $ apt-cache show dhcpdump
 
   Description-en: Parse DHCP packets from tcpdump
This package provides a tool for visualization of DHCP packets as
recorded and output by tcpdump to analyze DHCP server responses.
 
 Bob

-- 
Rainer Dorsch
http://bokomoko.de/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1515740.EgWcvBGFbZ@blackbox



Re: Getting rights right

2014-06-22 Thread Diogene Laerce


On 06/22/2014 10:18 PM, Linux-Fan wrote:
 On 06/22/2014 04:58 PM, Diogene Laerce wrote:
 Hi,

 I have a strange behavior lately on my Deby. After a run of :

 chown user:user -R /home/user/Documents

 and :

 chmod 700 -R /home/user/Documents

 I run :

 find /home/user/Documents ! -perm 0700

 But I still get a list of files like :
 
 [...]
 
 Then if I checked their rights with :

 ls -la /home/user/Documents/administrative

 They are anyway all well checked :

 -rw---

 Could someone have an idea of what is going on ? What should I believe ?
 The find command or the ls one ?

 Thank you
 
 Both are correct. ls tells you -rw... which is 0600 while the find
 command does not display (and only hides) exactly 0700.

Actually I don't even get why they switch to 0600 instead of 0700.


 It could be possible that you opened and saved the files between the
 chmod and find and the application writing the files correctly (IMO)
 reset the permissions to non-executable 0600. Otherwise, it would be
 indeed strange for the permissions to magically change between chmod and
 find.

No, I didn't. I just did these operations consecutively.

Actually I verified the status of the backup (I rsync those folders
preserving the rights) and I don't have the same issue with those.

It seems that I have inconsistency in the home folder and I don't
understand why. Disk issue ? Too many reinstalls using the same home
with a different filesystem (I kind of tried squeeze, wheezy, ubuntu and
maybe even Jessie I don't remember, with the same home filesystem) ?

I guess I will have to format the disk, even recreate the dos table
maybe, and try to recopy the files on it to see if it does the trick.

Thank you anyway, I mostly wanted a confirmation before getting into
that. ;)

-- 
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”

  Diogene Laerce



signature.asc
Description: OpenPGP digital signature


Re: dhclient changes IP address

2014-06-22 Thread Bzzzz
On Sun, 22 Jun 2014 23:16:32 +0200
Rainer Dorsch m...@bokomoko.de wrote:

 I think I will try first to get support from AVM on that topic. If
 that is not successful, I will look in more detail into the
 tcpdumps (although since I have to take that on the client side,
 that might be difficult during the startup phase).

Check the doc first (2nd §):
http://en.avm.de/nc/service/fritzbox/fritzbox-7390/knowledge-base/publication/show/201_Configuring-FRITZ-Box-to-always-assign-the-same-IP-address-to-a-network-device/

-- 
* Heart2take banned from chat (Reason: organs traffic forbidden)


signature.asc
Description: PGP signature


Re: Does LXDE really require lightdm?

2014-06-22 Thread davidson

On Sun, 22 Jun 2014, David Dušanić wrote:

22.06.2014, 02:31, Steve Litt sl...@troubleshooters.com:

Hi all,

I installed LXDE on a no-X, no-desktop virgin network Wheezy 64bit
install with non-free software allowed, and on the next boot it went
into lightdm. The only thing I could find that installed and required
lightdm was LXDE. I uninstalled LXDE, installed Xfce, installed
whatever bestows startx, and bang, X from the CLI command line, no *dm
needed.

1) Am I correct that Debian's LXDE package installs lightdm?

2) Does that come from the LXDE project, or is it a Debian thing?

3) Is there a way to turn off LXDE's install of lightdm?

The whole reason I'm switching from Xubuntu to Debian is to get away
from both Plymouth and *dm. Fortunately, I find LXDE desireable, but no
way do I find it necessary.



I am sure it is just a recommends, so install it without:

*apt-get install --no-install-recommends package*


and in case you don't want to guess, run first

 $ apt-cache depends lxde

(or whatever package besides lxde...)


Also, *lxde* is a metapackage. Meta packages usually come with a ton
of recommended packages by Debian to facilitate installs for the
user, you can even switch it off in apt for all packages you want to
install.


...and thereby assume responsibility for any subsequent difficulties
that stem from having changed a sensible default for new users, yes.

-wes

Re: apt-get update upgrade = zfsonlinux broken

2014-06-22 Thread dpchrist
debian-user:

I filed an issue report on GitHub:

https://github.com/zfsonlinux/pkg-zfs/issues/116


David



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/49269.184.23.143.12.1403475693.squir...@holgerdanske.com



No Evolution reminders show up in advance as desired.

2014-06-22 Thread Juan R. de Silva
After using Evolution for last 7 years for about last 3-4 months I 
started experiencing the described bellow problem.

Appointment and reminder set up and desired behaviour:
--

- Set up an appointment for a particular date.
- Open Reminder, select Customize, then click Add
- In Add Reminder set Pop an alert to 2 days (or 48 hours) before 
start of appointment. 
- Check Repeat the reminder box and set the reminder to be repeated 6 
extra times every 8 hours.
- For 7 years with the above configuration I had a reminder popping up 2 
days in advance and then accurately repeated every 8 hours until the 
actual date of the appointment.

Current (faulty) behaviour:
---

- The appointment and reminder setup as described above.
- NO reminder pops up in advance. Instead all 6 reminders pop up together 
on the date of the appointment.

I experience the same problem under Debian Squeeze (GNOME Classic), 
Ubuntu 14.04 (Unity), and Xubuntu 14.04. In all *buntu's the data is 
restored to Evolution from Debian Squeeze Evolution backup. 

In Evolution Preferenses-Calendar_and_Tasks-Reminders: Display 
reminders in notification area only is checked and Show a reminder ... 
before every appointment is NOT checked on all 3 systems.

Anybody else experiences the same problem? Can somebody help to figure 
out what the problem is? Google was not my friend with this.

Thank you.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/lo7o17$6jd$1...@ger.gmane.org



Re: Article on swift, responsive computers

2014-06-22 Thread Jeff Bauer

On 06/15/2014 02:58 PM, Steve Litt wrote:

Hi all,

Here's my latest Linux Productivity Magazine, themed The Swift,
Responsive Machine:

http://www.troubleshooters.com/lpm/201406/201406.htm

Hope you enjoy it.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance



Still reading your article, Steve. Very good info. Thank you.

Since switching to ratpoison a couple/three years back, just about 
/anything else/ feels s-l-o-w.


Firefox, and Mozilla in general, are really over-the-top pigs, so of 
late I've been fiddling with luakit browser.


Regards,

Jeff

--
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: The foundation of authority is based upon
the consent of the people. - Thomas Hooker


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53a765d6.9080...@charter.net



Re: Getting rights right

2014-06-22 Thread Bob Proulx
Diogene Laerce wrote:
 I have a strange behavior lately on my Deby. After a run of :
 chown user:user -R /home/user/Documents
 and :
 chmod 700 -R /home/user/Documents

Unfortunately that command was a mistake.  That will set rwx for owner
on all files unconditionally.  For directories that is fine.  But that
is not correct for files.  Only executables and executable scripts
should have the execute bit set upon them.

What you wanted to set was:

  chmod -R u+rwX,go-rwx /home/user/Documents

The capital 'X' is the trick.  The GNU chmod documentation on this says:

  27.2.4 Conditional Executability
  

  There is one more special type of symbolic permission: if you use `X'
  instead of `x', execute/search permission is affected only if the file
  is a directory or already had execute permission.

 For example, this mode:

   a+X

  gives all users permission to search directories, or to execute files if
  anyone could execute them before.

But wait!  There's more.  If the permissions were set correctly in the
beginning and you just wanted to *remove* permissions from group and
other then I would simply remove permissions from group and other.

  chmod -R go-rwx /home/user/Documents

But I wonder why you need to remove group permission?  Are you not
using the Debian default of putting each user in their own group?
That is usually called UPG (User Private Group).  You originally said:

If you want to verify what chmod is doing the GNU chmod command has
the -v extension.  It will echo print what it is doing while it is
doing it.  Adding the -v would show helpful information.  For example:

  $ chmod -v -R 700 junk
  mode of `junk' retained as 0700 (rwx--)
  mode of `junk/junk2' retained as 0700 (rwx--)
  mode of `junk/junk2/file1' changed to 0700 (rwx--)

 chown user:user -R /home/user/Documents

And so that group should belong to the user.  Most importantly that
group should belong *solely* to the user.  No other users should be in
that group.  Therefore the better thing to do is to keep the group
permissions when removing other permissions.

  chmod -R o-rwx /home/user/Documents

Then you don't need to do anything more.  That would correspond to a
user umask 07 setting.  better set umask 07 or new files will be
created with permissions you are trying to avoid.

Personally I always use umask 02 and then only add extra protection
to specific files and directories that I want.

And of course all of this is only important if you are operating on a
multiuser server that has other people logging into it as non-root.
(Root does not matter in either case.  You can't protect yourself from
root.)  If this is on your personal laptop and no one else logs in
then none of this matters aand I would stick with the Debian UPG
default along with the default umask 02.

 I run :
 find /home/user/Documents ! -perm 0700

As Linux-fan correctly noted that skips files that match 0700
exactly.  So that part is working correctly.  What didn't work was the
chmod 700 part.  But that was good because that isn't want you want to
do.

 But I still get a list of files like :
.
.
.
 /home/user/Documents/administrative/passport (2).png
 /home/user/Documents/administrative/00IMG_0006.jpg
 /home/user/Documents/administrative/IMG_0016.jpg
 /home/user/Documents/administrative/visit.appart
.
.
.

Looks like the chmod didn't happen.  But that means you didn't
incorrectly make image files executable so I would count that as a win
not a loss.

 Then if I checked their rights with :
 ls -la /home/user/Documents/administrative
 They are anyway all well checked :
 -rw---

Hmm...  Looks like your chmod did not happen.  I double checked that I
wasn't having a misunderstanding and replicated your setup in a test
case and it did chmod all of the files for me.

 Could someone have an idea of what is going on ? What should I believe ?
 The find command or the ls one ?

I believe you must have a typo somewhere.  If you double check
everything you will find it.  However!  As I explained you do not want
to chmod 700 all of your files recursively.  That would be bad.  So
take it as a good miss and don't do it again.

Bob


signature.asc
Description: Digital signature


Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread Bret Busby
On 23/06/2014, Tom H tomh0...@gmail.com wrote:
 On Fri, Jun 20, 2014 at 11:31 AM, Bret Busby b...@busby.net wrote:
 On Fri, 20 Jun 2014, Bob Proulx wrote:

 This is one of those religious wars that has been fought and won and
 lost many times across the Internet. Please don't start it up again
 here. If you do really want to do so please use the off-topic mailing
 list d-community-offto...@lists.alioth.debian.org since the issue has
 nothing to do with using Debian.

 Given what has already hapened within the thread, the above message to
 which
 I am responding, appears to be a troll.

 Requesting that you take a religious-type discussion (like a list's
 Reply To settings) to the OT list isn't trolling!


If either you or he, had read what had aleardy passed in the thread,
you and he would have seen that the matter had been dealt with,
resulting in my making a request for change, to the people maintaining
PINE/ALPINE, to allow the option of replying to a list, using the
List-Post field value in message headers, which solution had been
included in the previous postings in the thread. I had not previously
been aware of RFC2369, and so, the thread, with its responses before
the trolls, had been constructive and educational, which, I believe is
supposed to be the purpose of this mailing list.

Gmail appears to not have provision for making Requests For Change,
regarding the Gmail email facility, so I appear to not be able to make
a Request For Change, to the Gmail people, which could solve the
problem in using Gmail..

I had posted what I had posted, regarding the abillity to reply to the
list, solution had been posted and demonstrated, and, the matter had
(I believe) been closed, insofar as the thread on this list, had been
concerned.

The subsequent messages posted by
b...@proulx.com
tomh0...@gmail.com
lazyvi...@gmx.com
 were inflammatory, and, posted for the purpose of being inflammatory,
making them trolls.

The thread had come to an end; it had the solution, and, the thread
had died, and those people revived it, to create a zombie for evil
purposes.

-- 
Bret Busby
Armadale
West Australia
..

So once you do know what the question actually is,
 you'll know what the answer means.
- Deep Thought,
 Chapter 28 of Book 1 of
 The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts,
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8oujj4xunct3888x-0pxakqx0rtbyzrearq+eb-cuf...@mail.gmail.com



Re: apt-get update: unnecessary use of disk space

2014-06-22 Thread Bob Proulx
B wrote:
 Bob Proulx wrote:
  completely out of disk space.  For that the reasonable amount of
  disk space reserved is an absolute value that a system might need
  on that partitions.  That part really shouldn't be a percentage of
  the disk but should be a finite reserved amount.
 
 It isn't very important as tune2fs accepts decimals for -m,
 so you can easily reduce the original %age (eg: on a 39GB
 partition, -m 0.1 gives 9488 reserved blocks).
 You can also use the -r switch, specifying the exact number
 of reserved blocks you want.

Sure.  But the question was about using a 5% or smaller minfree.

  The other is more subtle to understand.  In the old days of
  spinning disks the allocation algorithm will try to defrag files
  on the fly by allocating them appropriately.  That algorithm needs
  a certain percentage of disk space free to use scattered
  throughout the drive. For that algorithm it really should be a
  percentage.  For that algorithm people would benchmark the system
  performance and determine a good knee in the performance curve
  at various amounts of disk fullness.  The knee in the curve would
  usually occur somewhere around the 5% free amount.  Therefore
  setting it to 10% would guarentee good performance.  Setting it to
  5% would allow more use of space on bigger disks but keep
  performance from getting too bad.
 
 However, these blocks won't be free for use except if you use
 a defrag pgm, such as e2defrag.

What do you mean when you say these blocks won't be free ... without
defragmenting?  Please explain.  If you have references to share that
explained the details that would be great.

Also as I understand it use of e2defrag is not recommended.  Using
e2defrag may destroy data, depending on the feature bits turned on in
the filesystem; it does not know how to treat many of the newer ext3
features.

  http://en.wikipedia.org/wiki/Ext3#Defragmentation

For the newer file systems like ext3, ext4 and others they perform
both delayed allocation and block reservation.  Those are techniques
used by the file system to reduce fragmentation.  It doesn't eliminate
it but it is greatly reduced as long as there is sufficient free disk
space already (a reason for a reasonable minfree) such that the
operating system can avoid fragmentation.

  
https://en.wikipedia.org/wiki/File_system_fragmentation#Preventing_fragmentation

Which is one of the reasons why performance is reduced when disks get
to be very full.  And as such it is one of the reasons that keeping a
reasonable minfree is a good thing.  Because it enforces operating at
a less than full disk.

But fragmentation is much more of an issue with spinning media.  I
haven't fully pre-computed how this is changed with SSDs but
fragmentation should be much less of an issue with an SSD.

 100% - 5% = 95% == 100% usable, so if you reach 100% (of the 95%)
 you're pwned except if you free the remaining sectors.

Please explain how having a full disk (which reduces performance and
increases fragmentation) causes your machine to be pwned.

  Of course now with SSDs that standard thinking needs to be thought
  out again.  I haven't seen any benchmark data for full SSDs.  I
  imagine that it will have much flatter performance curves up to
  very full on an SSD.  It would super awesome if someone has
  already done this performance benchmarking and would post a link
  to it so that we could all learn from it.
 
 There is no difference, as the embedded logic first gather
 the whole sectors list before any operation takes place (not
 exactly, but as the difference is counted in ns...)

I am not sure but I think you might be talking about delayed
allocation and block reservation.

  So my thinking is that if it is a 3T spinning hard drive then I
  would still keep minfree at 5% (or 10%) for reasons of performance
  until and unless I see benchmark data showing otherwise.  For any
  size of SSD I think it would be okay to reduce that to any smaller
  percentage that still reserved at least 500M (my best guess, may
  need a better guess) of disk space for the system to operate for
  log files and temporary files and other normal continuous activity.
 
 EXT4 has more protections about that:
 https://www.redhat.com/archives/ext3-users/2009-January/msg00026.html

Thank you for that reference.  It has good information that I will
repeat here.  And due to this author I would consider it authoritative
for ext4 file systems.  It directly addresses the original question
that started this thread.

  Theodore Tso wrote to ext3-users mailing list on 23 Jan 2009:
Alex Fler wrote:
 On large FS like 100gb default value of Reserved block count takes
 5% of usable disk, can this value be safely changed to 1% and not
 affect a performance ? Is a reservation size of 1gb enough for 100gb
 disk ? And when we have even larger filesystem like 1Tb default
 Reserved block count is 50GB, is it an absolutely minimum must
 have reserved number 

Re: Early access to a console (during runlevel 1)

2014-06-22 Thread Bob Proulx
B wrote:
 Bob Proulx wrote:
   Erasing error output just doesn't erase the cause,
   and the cause might be very dangerous to the system's
   health...
  
  Erasing the error output?  Why are you erasing error output?  I
  never suggested any such thing.
 
 So you're following attentively the output of the automatic
 fsck, excellent...

Sorry.  I don't follow your line of discussion.

   This also means more frequent FS checks (I'm waiting
   for hours fsck to complete IS NOT a good excuse).
  
  Huh?  What?  Huh?  What are you talking about?  I suggested setting
  FSCKFIX=yes and that most certainly has nothing to do with long
  fsck check times nor with more frequent checks.  Why did you
  suggest that?
 
 Because some FS errors have an incremental pattern; thus,
 more frequent fsck gives the user a much better chance to
 act before complete brakdown.

I completely agree with this.  It is one reason for ext file systems
to implement an fsck check interval after a certain number of months
or a certain number of mounts.  By default the check interval time is
usually 6 months.  That is only triggered after a subsequent reboot
however.  But security upgrades to the kernel usually come through
more often than this so eventually the system will get an fsck check.

A proactive admin should be aware of these things and schedule
appropriate preventative maintenance.

I have mixed feeling about the mount counts interval however.  The
mount counts are usually randomized somewhat across multiple file
systems so that they don't all execute at once after a series of
reboots that triggers the check but that only seems partially
effective.  It really requires that a system be rebooted regularly and
very often in order for that to be effective.  And I don't think just
because a system has been mounted and unmounted perhaps in a very
short period of time (say 30 times in one day) to be an indication of
likely need.

   Now, if you think your way's the best, keep on going to the
   bottom of it, and just replace fsck with an empty script that
   always returns 1.
  
  That is a classic straw man fallacy.
  
https://en.wikipedia.org/wiki/Straw_man
 
 In the facts, your way is almost the same as avoiding completely
 a fsck (the first reason I gave).

Uhm...  No.  It isn't.  My way is setting FSCKFIX=yes.  Please read
the documentation for it.

  $ man rcS
  ...
  FSCKFIX
When  the  root  and all other file systems are checked, fsck is
invoked with the -a option which means autorepair.   If  there
are  major  inconsistencies then the fsck process will bail out.
The system will print a  message  asking  the  administrator  to
repair  the  file  system manually and will present a root shell
prompt (actually a sulogin prompt) on the console.  Setting this
option  to  yes  causes  the fsck commands to be run with the -y
option instead of the -a option.  This will tell fsck always  to
repair the file systems without asking for permission.

  $ man fsck.ext4
  ...
  -a This  option  does  the same thing as the -p option.  It is pro-
 vided for backwards compatibility only;  it  is  suggested  that
 people use -p option whenever possible.
  ...
  -p Automatically  repair  (preen)  the  file system.  This option
 will cause e2fsck to automatically fix any  filesystem  problems
 that  can be safely fixed without human intervention.  If e2fsck
 discovers a problem which may require the  system  administrator
 to  take  additional  corrective  action,  e2fsck  will  print a
 description of the problem and then exit with the value 4  logi-
 cally  or'ed  into  the exit code.  (See the EXIT CODE section.)
 This option is normally used by the system's boot  scripts.   It
 may not be specified at the same time as the -n or -y options.
  ...
  -y Assume an answer of `yes' to all questions; allows e2fsck to  be
 used non-interactively.  This option may not be specified at the
 same time as the -n or -p options.

The default is 'fsck -p' which will bail out and allow the
administrator to manually repair the filesystem.

My previous point was this.  Is there anyone reading this mailing list
that would be expert enough in the file system in order to manually
repair it with a file system debugger (it has been ages since I looked
at fsdb for UFS) and to do other than answer yes to any of the
interactive fsck questions?

If the answer is yes then that is awesome!  I would love it if they
would write a tutorial for others such as myself to be able to learn
this knowledge and capability.  But if everyone is simply going to
answer yes to each interactive fsck questions then they might as well
supply -y on the fsck command line.  The result is exactly the same.

  Somehow you have mutated my suggestion of fixing the problem with
  ignoring the problem.  Ignoring is very, very bad.  Why would you
  even