Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread Kévin Gaspard

Salut,

Simplement en mettant à jour ton système, puisque c'est un paquet 
provenant d'un dépôt. Comme n'importe quelle autre paquet de ton système 
donc.


Cordialement,
GASPARD Kévin

On 04/04/2017 06:55, alex.pad...@laposte.net wrote:

[resolu]

J'ai réinstallé le système
je n'ai pas lancé le navigateur firefox
j'ai ajouté le dépot multimedia.org  et installer flashplayer-mozilla
et ca marche
Comment faire pour gérer les fréquentes mises à jour de flashplayer?
Merci



*De: *"Cyrille" 
*À: *debian-user-french@lists.debian.org
*Envoyé: *Lundi 3 Avril 2017 21:44:56
*Objet: *Re: comment faite-vous pour installer flashplayer?

simplement :

 aptitude install flashplugin-nonfree

non ?






Re: Accidental sudo rm -rf de /etc/apt/sources.list.d/

2017-04-03 Thread tictacbum
jo el primer que faig és instal·lar etckeeper, fes-li una ullada
et configura un repositori git a /etc

salut!

El dia 4 d’abril de 2017 a les 1:01, Narcis Garcia 
ha escrit:

> Jo no sé com s'esbrina adequadament el qupe preguntes, però se m'acudeix
> d'estirar aquest fil:
> sudo grep -Isirnce webupd8team /* | grep -ve ':0$'
>
> Per així trobar quins fitxers tenen anotats repositoris d'origen de
> paquets.
>
> __
> I'm using this express-made address because personal addresses aren't
> masked enough at this list's archives. Mailing lists service
> administrator should fix this.
> El 03/04/17 a les 23:25, x...@nodo50.org ha escrit:
> > hola, estava actualitzant un portàtil i hi havia un error a un
> > repositori i se m'ha escapat un rm -rf per si hi havia subcarpetes...
> > sí. a lo loco.
> >
> > penso en tenir al dia els paquests que s'han instal·lat d'aquests
> > repositoris, i em pregunto si alguna combinació de dpkg em dirà com es
> > diu el repo d'un binari instal·lat, per anar-lo a buscar i tornar-lo a
> > lloc, jo què sé, tipus jaromil-free-NOSËQUÊ
> >
> > l'history dels usuaris no aporta la info del comando usat, tipus,
> > sudo apt-add-repository ppa:webupd8team/java
> >
> > aquest sé que hi era perquè el vaig posar per lo del programa PADRE/IRPF
> >
> > demà serà un altre dia, i buscaré coses.
> >
> > m'ha vingut de gust fustigar-me en públic.
> >
>
>


Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread alex . padoly
[resolu] 

J'ai réinstallé le système 
je n'ai pas lancé le navigateur firefox 
j'ai ajouté le dépot multimedia.org et installer flashplayer-mozilla 
et ca marche 
Comment faire pour gérer les fréquentes mises à jour de flashplayer? 
Merci 


- Mail original -

De: "Cyrille"  
À: debian-user-french@lists.debian.org 
Envoyé: Lundi 3 Avril 2017 21:44:56 
Objet: Re: comment faite-vous pour installer flashplayer? 

simplement : 

aptitude install flashplugin-nonfree 

non ? 




Ayuda

2017-04-03 Thread Lesly Cintra
Hola, necesito que alguien me explique como darme de baja de esta lista, 
tuve que instalar ubuntu por cuestiones de compatibilidad con la tarjeta 
wifi, vivo en Cuba y no tengo Internet solo este cutre que me cuesta un 
ojo de la cara, por lo que no puedo darme el lujo de descargar ningún 
firmware adicional, y ubuntu me**resuelve el problema sin necesidad de 
descargar nada.


Quisiera pedir otro favor, y es que me sugieran una lista de correo de 
ubuntu en español y otra de python en el mismo idioma.


Gracias de antemano, les deseo muchos éxitos a todos.



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread Cyrille
simplement : 

 aptitude install flashplugin-nonfree

non ?



Re: Accidental sudo rm -rf de /etc/apt/sources.list.d/

2017-04-03 Thread Narcis Garcia
Jo no sé com s'esbrina adequadament el qupe preguntes, però se m'acudeix
d'estirar aquest fil:
sudo grep -Isirnce webupd8team /* | grep -ve ':0$'

Per així trobar quins fitxers tenen anotats repositoris d'origen de paquets.

__
I'm using this express-made address because personal addresses aren't
masked enough at this list's archives. Mailing lists service
administrator should fix this.
El 03/04/17 a les 23:25, x...@nodo50.org ha escrit:
> hola, estava actualitzant un portàtil i hi havia un error a un
> repositori i se m'ha escapat un rm -rf per si hi havia subcarpetes...
> sí. a lo loco.
> 
> penso en tenir al dia els paquests que s'han instal·lat d'aquests
> repositoris, i em pregunto si alguna combinació de dpkg em dirà com es
> diu el repo d'un binari instal·lat, per anar-lo a buscar i tornar-lo a
> lloc, jo què sé, tipus jaromil-free-NOSËQUÊ
> 
> l'history dels usuaris no aporta la info del comando usat, tipus,
> sudo apt-add-repository ppa:webupd8team/java
> 
> aquest sé que hi era perquè el vaig posar per lo del programa PADRE/IRPF
> 
> demà serà un altre dia, i buscaré coses.
> 
> m'ha vingut de gust fustigar-me en públic.
> 



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Latincom
On Mon, 03 Apr 2017 08:32:27 -0400, Carl Fink wrote:

> On Mon, Apr 03, 2017 at 07:01:45AM -0400, The Wanderer wrote:
> 
>> Eh? You *do* have a choice of which init system to run; many people
>> running Debian are still using sysvinit, myself included. The system
>> handles this just fine; if you file a bug report via e.g. reportbug, it
>> will automatically detect which init system you're running and include
>> that information in the bug report.
>> 
>> What you don't have is a choice *in the installer* of which init system
>> to *start out with* ...
> 
> I've never been a Debian developer. What would the admin team do if
> someone forked the installer to add that option and submitted it as a
> variant?


That idea is welcome here!
I administer few servers and desktops that were with Debian; and i had to 
install OpenBSD on servers, and Slackware on Desktops, both are great!
My personal server is 1 Wheezy 100% without Systemd. The change was 
because owners considered Debian/Systemd as untrusted!





Accidental sudo rm -rf de /etc/apt/sources.list.d/

2017-04-03 Thread x...@nodo50.org
hola, estava actualitzant un portàtil i hi havia un error a un
repositori i se m'ha escapat un rm -rf per si hi havia subcarpetes...
sí. a lo loco.

penso en tenir al dia els paquests que s'han instal·lat d'aquests
repositoris, i em pregunto si alguna combinació de dpkg em dirà com es
diu el repo d'un binari instal·lat, per anar-lo a buscar i tornar-lo a
lloc, jo què sé, tipus jaromil-free-NOSËQUÊ

l'history dels usuaris no aporta la info del comando usat, tipus,
sudo apt-add-repository ppa:webupd8team/java

aquest sé que hi era perquè el vaig posar per lo del programa PADRE/IRPF

demà serà un altre dia, i buscaré coses.

m'ha vingut de gust fustigar-me en públic.
-- 
###
http://info.nodo50.org/4137 | error al sistema
   __
   a internet la llibertat no és gratuïta




Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...)

2017-04-03 Thread deloptes
Kevin O'Gorman wrote:

> Are you sure?  On my system, this produces nothing at all.  But the
> directory
> exists and is populated.

It works great in jessie

$ systemd --version
systemd 215
+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL
+XZ -SECCOMP -APPARMOR




Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread Gaëtan PERRIER
Le Mon, 3 Apr 2017 22:30:59 +0200
hamster  a écrit:

> Le 03/04/2017 à 22:15, maderios a écrit :
> > Solution pas géniale parce que ce dépôt va installer les versions dmo
> > de certains programmes multimedia.
> 
> Heu… ca veut dire quoi, "version dmo" ?

Tous les paquets de deb-multimedia.org ont un numéro de version finissant par
dmo* (Deb-Multimedia.Org) par exemple flashplayer-mozilla c'est
3:25.0.0.127-dmo1

Gaëtan



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread hamster
Le 03/04/2017 à 22:15, maderios a écrit :
> Solution pas géniale parce que ce dépôt va installer les versions dmo
> de certains programmes multimedia.

Heu… ca veut dire quoi, "version dmo" ?



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread Gaëtan PERRIER
Le Mon, 3 Apr 2017 22:13:21 +0200
maderios  a écrit:

> On 04/03/2017 10:04 PM, alex.pad...@laposte.net wrote:
> > Bonsoir,
> >
> > Les paquets que vous m'avez demandé d'installer n'ont pas changé
> 
> Je ne comprend pas...
> 
> >
> > 1: je me rends à l'adresse suivante: http://www.fnacjukebox.com/fr
> >
> > 2 secondes d'affichage et j'obtiens l'url suivant:
> >
> > http://www.fnacjukebox.com/fr/site/getFlash
> --->  Ce site est foireux.
> 
> Chez moi, ce test marche très bien
> https://www.adobe.com/fr/shockwave/welcome/
> "You have version 25,0,0,127 installed"

Chez moi aussi fnacjukebox fonctionne bien.

Gaëtan



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread Gaëtan PERRIER
Le Mon, 3 Apr 2017 22:15:51 +0200
maderios  a écrit:

> On 04/03/2017 10:08 PM, Gaëtan PERRIER wrote:
> > Le Mon, 3 Apr 2017 20:34:09 +0200 (CEST)
> > alex.pad...@laposte.net a écrit:
> >
> >> Bonsoir,
> >>
> >> J'ai tout essayé ou presque en passant par la source tgz et alien pour
> >> pouvoir l'installer correctement. L'installation n'est pas clair. le
> >> dossier plugin n'existant plus pour firefox.
> >>
> >> Cordialement.
> >> Alex
> >
> > Ajouter les depots deb-multimedia.org puis apt install flashplayer-mozilla
> > et tu auras la dernière version de flash (la 25).
> >
> Solution pas géniale parce que ce dépôt va installer les versions dmo de 
> certains programmes multimedia.
> 

Avec un pinning sur origin tu peux t'en affranchir je pense, non ?

Gaëtan



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread maderios

On 04/03/2017 10:08 PM, Gaëtan PERRIER wrote:

Le Mon, 3 Apr 2017 20:34:09 +0200 (CEST)
alex.pad...@laposte.net a écrit:


Bonsoir,

J'ai tout essayé ou presque en passant par la source tgz et alien pour
pouvoir l'installer correctement. L'installation n'est pas clair. le
dossier plugin n'existant plus pour firefox.

Cordialement.
Alex


Ajouter les depots deb-multimedia.org puis apt install flashplayer-mozilla et
tu auras la dernière version de flash (la 25).

Solution pas géniale parce que ce dépôt va installer les versions dmo de 
certains programmes multimedia.






--
Maderios



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread maderios

On 04/03/2017 10:04 PM, alex.pad...@laposte.net wrote:

Bonsoir,

Les paquets que vous m'avez demandé d'installer n'ont pas changé


Je ne comprend pas...



1: je me rends à l'adresse suivante: http://www.fnacjukebox.com/fr

2 secondes d'affichage et j'obtiens l'url suivant:

http://www.fnacjukebox.com/fr/site/getFlash

--->  Ce site est foireux.

Chez moi, ce test marche très bien
https://www.adobe.com/fr/shockwave/welcome/
"You have version 25,0,0,127 installed"

--
Maderios



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread Gaëtan PERRIER
Le Mon, 3 Apr 2017 20:34:09 +0200 (CEST)
alex.pad...@laposte.net a écrit:

> Bonsoir, 
> 
> J'ai tout essayé ou presque en passant par la source tgz et alien pour
> pouvoir l'installer correctement. L'installation n'est pas clair. le
> dossier plugin n'existant plus pour firefox. 
> 
> Cordialement. 
> Alex 

Ajouter les depots deb-multimedia.org puis apt install flashplayer-mozilla et
tu auras la dernière version de flash (la 25).

Gaëtan



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread alex . padoly
Bonsoir, 

Les paquets que vous m'avez demandé d'installer n'ont pas changé 

1: je me rends à l'adresse suivante: http://www.fnacjukebox.com/fr 

2 secondes d'affichage et j'obtiens l'url suivant: 

http://www.fnacjukebox.com/fr/site/getFlash 

merci.Alex 



- Mail original -

De: "hamster"  
À: debian-user-french@lists.debian.org 
Envoyé: Lundi 3 Avril 2017 20:58:31 
Objet: Re: comment faite-vous pour installer flashplayer? 

Le 03/04/2017 à 20:34, alex.pad...@laposte.net a écrit : 
> Bonsoir, 
> 
> J'ai tout essayé ou presque en passant par la source tgz et alien pour 
> pouvoir l'installer correctement. 
> L'installation n'est pas clair. le dossier plugin n'existant plus 
> pour firefox. 

https://debian-facile.org/doc:media:flash 
https://debian-facile.org/doc:media:flash:flashplugin-nonfree 
https://wiki.debian.org/fr/FlashPlayer 
https://wiki.debian.org/fr/PepperFlashPlayer 
https://wiki.debian.org/fr/PepperFlashPlayer/Installing 




Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread maderios

On 04/03/2017 08:58 PM, hamster wrote:

Le 03/04/2017 à 20:34, alex.pad...@laposte.net a écrit :

Bonsoir,

J'ai tout essayé ou presque en passant par la source tgz et alien pour
pouvoir l'installer correctement.
L'installation n'est pas clair. le dossier plugin n'existant plus
pour firefox.


https://debian-facile.org/doc:media:flash
https://debian-facile.org/doc:media:flash:flashplugin-nonfree
https://wiki.debian.org/fr/FlashPlayer
https://wiki.debian.org/fr/PepperFlashPlayer
https://wiki.debian.org/fr/PepperFlashPlayer/Installing



Comme d'hab, la doc Debian a l'art de compliquer ce qui est simple :)



--
Maderios



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread hamster
Le 03/04/2017 à 20:34, alex.pad...@laposte.net a écrit :
> Bonsoir,
>
> J'ai tout essayé ou presque en passant par la source tgz et alien pour
> pouvoir l'installer correctement.
> L'installation n'est pas clair. le dossier plugin n'existant plus
> pour firefox.

https://debian-facile.org/doc:media:flash
https://debian-facile.org/doc:media:flash:flashplugin-nonfree
https://wiki.debian.org/fr/FlashPlayer
https://wiki.debian.org/fr/PepperFlashPlayer
https://wiki.debian.org/fr/PepperFlashPlayer/Installing



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread maderios

On 04/03/2017 08:34 PM, alex.pad...@laposte.net wrote:

Bonsoir,

J'ai tout essayé ou presque en passant par la source tgz et alien pour
pouvoir l'installer correctement.

Complément d'information
pepperflashplugin-nonfree est en unstable, donc activer les dépôts Sid

--
Maderios



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread erwin
Le Mon, 3 Apr 2017 20:34:09 +0200 (CEST)
alex.pad...@laposte.net écrivait:

> Bonsoir, 
> 
> J'ai tout essayé ou presque en passant par la source tgz et alien pour 
> pouvoir l'installer correctement. 
> L'installation n'est pas clair. le dossier plugin n'existant plus pour 
> firefox. 

bonsoir,
as-tu essayé update-flashplugin-nonfree --install ?
cordialement
Erwin



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread maderios

On 04/03/2017 08:34 PM, alex.pad...@laposte.net wrote:

Bonsoir,

J'ai tout essayé ou presque en passant par la source tgz et alien pour
pouvoir l'installer correctement.
L'installation n'est pas clair. le dossier plugin n'existant plus
pour firefox.


Salut
Sur Stretch installer pepperflashplugin-nonfree et 
browser-plugin-freshplayer-pepperflash

--
Maderios



Re: comment faite-vous pour installer flashplayer?

2017-04-03 Thread Frederic MASSOT

Le 03/04/2017 à 20:34, alex.pad...@laposte.net a écrit :

Bonsoir,

J'ai tout essayé ou presque en passant par la source tgz et alien pour
pouvoir l'installer correctement.
L'installation n'est pas clair. le dossier plugin n'existant plus
pour firefox.



Regardes du coté de :

- browser-plugin-freshplayer-pepperflash
- browser-plugin-freshplayer-nacl
- pepperflashplugin-nonfree


--
==
|  FRÉDÉRIC MASSOT   |
| http://www.juliana-multimedia.com  |
|   mailto:frede...@juliana-multimedia.com   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===Debian=GNU/Linux===



comment faite-vous pour installer flashplayer?

2017-04-03 Thread alex . padoly
Bonsoir, 

J'ai tout essayé ou presque en passant par la source tgz et alien pour pouvoir 
l'installer correctement. 
L'installation n'est pas clair. le dossier plugin n'existant plus pour 
firefox. 

Cordialement. 
Alex 


Re: Thin Client

2017-04-03 Thread Brian
On Mon 03 Apr 2017 at 17:53:32 +, Curt wrote:

> On 2017-04-03, Brian  wrote:
> > On Mon 03 Apr 2017 at 20:49:33 +1200, cbannis...@slingshot.co.nz wrote:
> >
> >> On Sun, Mar 26, 2017 at 06:25:51PM +0100, Brian wrote:
> >> > Although a Raspberry Pi is not particularly expensive, the 15 GBP
> >> > I paid for a brand new thin client was an attraction. It acts as
> >> > a print server. Do you want a list of printer manufacturers who do
> >> > not support Linux on the ARM architecture?
> >> 
> >> Yes please. Thanks!
> >
> > Brother, Canon and Samsung will do for a start.
> 
> A nice case in point for the Oxford comma, bro.

You would really, really have to explain that in more detail. The
denizens of Barnsley and Scunthorpe await your response.

P.S. I am not anyone's "bro".

P.P.S. Should Lexmark, Ricoh and Oki be candidates for inclusion on
   the list?

-- 
Brian.



Palestra Suprema Corte e Visita a onu

2017-04-03 Thread Best Brazil Tour
Para visualizar esta mensagem, use um programa de
e-mail compativel com html!



Re: Thin Client

2017-04-03 Thread Curt
On 2017-04-03, Brian  wrote:
> On Mon 03 Apr 2017 at 20:49:33 +1200, cbannis...@slingshot.co.nz wrote:
>
>> On Sun, Mar 26, 2017 at 06:25:51PM +0100, Brian wrote:
>> > Although a Raspberry Pi is not particularly expensive, the 15 GBP
>> > I paid for a brand new thin client was an attraction. It acts as
>> > a print server. Do you want a list of printer manufacturers who do
>> > not support Linux on the ARM architecture?
>> 
>> Yes please. Thanks!
>
> Brother, Canon and Samsung will do for a start.
>

A nice case in point for the Oxford comma, bro.


-- 
"It might be a vision--of a shell, of a wheelbarrow, of a fairy kingdom on the
far side of the hedge; or it might be the glory of speed; no one knew." --Mrs.
Ramsay, speculating on why her little daughter might be dashing about, in "To
the Lighthouse," by Virginia Woolf.



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Don Armstrong
On Mon, 03 Apr 2017, Patrick Bartek wrote:
> The documentation for ALL the init systems has already been written
> and is fairly comprehensive. Maintenance on the various inits, except
> systemd, of course -- its implementation is still very new -- seems
> minimal. So, all that can't be the reason.

The issue isn't with the maintenance of init itself, but with
maintaining everything that interacts with init and any divergences from
upstream which are necessary to keep maintaining compatibility with a
non-systemd init.

Bit rot happens.

-- 
Don Armstrong  https://www.donarmstrong.com

Vimes hated and despised the privileges of rank, but they had this to
be said for them: At least they meant that you could hate and despise
them in comfort.
 -- Terry Pratchett _The Fifth Elephant_ p111



Re: glade-gtk3?

2017-04-03 Thread Gene Heskett
On Monday 03 April 2017 13:15:04 songbird wrote:

> Gene Heskett wrote:
> > Greetings;
> >
> > My last question seemed to have been routed to /dev/null.
>
>   i went and found it.  probably wrong mailing list to
> be asking such questions (gtk/gtk3 developers lists
> seem more appropriate).
>
Probably, but not subbed to that list, darnit.

> > Is there a time in the foreseeable future the complete glade-gtk2
> > version 3.8.0 kit of gfx widgits might be updated to gtk3
> > compatibility?
>
>   as with most other projects of this kind, developers
> tend to wander off to what is hot/current and can
> potentially make them some $...
>
>   got $ ?
>
A TANNSAAFL scene.  Expected.  What sort of $ are we talking about?

>   songbird


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: glade-gtk3?

2017-04-03 Thread songbird
Gene Heskett wrote:
> Greetings;
>
> My last question seemed to have been routed to /dev/null.

  i went and found it.  probably wrong mailing list to
be asking such questions (gtk/gtk3 developers lists
seem more appropriate).


> Is there a time in the foreseeable future the complete glade-gtk2 version 
> 3.8.0 kit of gfx widgits might be updated to gtk3 compatibility?

  as with most other projects of this kind, developers
tend to wander off to what is hot/current and can 
potentially make them some $...

  got $ ?


  songbird



Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...)

2017-04-03 Thread Nicholas Geovanis
On Mon, Apr 03, 2017 at 09:36:16AM -0500, Tom Browder wrote:
> But I kind of understand why systemd, but I wish I could find a good
> cookbook description of how to add or modify a new process.

I like the "systemd vs. sysvinit" cheatsheet at
http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/

.Nick

On Mon, Apr 3, 2017 at 11:14 AM, Kevin O'Gorman  wrote:

>
>
> On Mon, Apr 3, 2017 at 8:39 AM, Greg Wooledge  wrote:
>
>> On Mon, Apr 03, 2017 at 09:36:16AM -0500, Tom Browder wrote:
>> > But I kind of understand why systemd, but I wish I could find a good
>> > cookbook description of how to add or modify a new process.
>>
>> The first hurdle is learning the terminology that systemd uses.  It's
>> not exactly intuitive.
>>
>
>
>> [...]
>>
>> If you want to change your system's "run level" from graphical.target
>> to multi-user.target, run this command as root:
>>
>> # systemctl set-default multi-user.target
>>
>> To see a list of your available targets (assuming no major local changes),
>> use this command:
>>
>> $ find /lib/systemd/ -name '*.target'
>>
>>
> Are you sure?  On my system, this produces nothing at all.  But the
> directory
> exists and is populated.
>
>
>
> --
> Kevin O'Gorman
> #define QUESTION ((bb) || (!bb))   /* Shakespeare */
>
> Please consider the environment before printing this email.
>


Re: Matrox G550 mga driver hangs system

2017-04-03 Thread Tony Stoneley
Felix Miata wrote on Fri, 31 Mar 2017 18:17:09 -0400
>...So, a bug filing is apparently needed. I'd like you to file it

OK, with great trepidation I've sent a report to the Debian Bug
Tracking System, and received automatic acknowledgement of it as
Bug#859423. Those interested should follow progress via
www.debian.org/Bugs

Tony



Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...)

2017-04-03 Thread Joshua Schaeffer
On Mon, Apr 3, 2017 at 10:14 AM, Kevin O'Gorman  wrote:

>
>> To see a list of your available targets (assuming no major local changes),
>> use this command:
>>
>> $ find /lib/systemd/ -name '*.target'
>>
>>
> Are you sure?  On my system, this produces nothing at all.  But the
> directory
> exists and is populated.
>

What version of systemd do you have installed?

#systemd --version


Re: Systemd services

2017-04-03 Thread Teemu Likonen
Greg Wooledge [2017-04-03 11:39:42-04] wrote:

> To see a list of your available targets (assuming no major local
> changes), use this command:
>
> $ find /lib/systemd/ -name '*.target'

Often these are useful too:

systemctl -t target list-units
systemctl -t target list-unit-files

-- 
/// Teemu Likonen   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature


Re: Encrypted flash drives

2017-04-03 Thread Cindy-Sue Causey
On 4/3/17, Mark Fletcher  wrote:
>
> Any way to reset udev? (in a way that doesn't nuke the system and
> require a reboot anyway)
>
> I'm still trying to find a way to make that ghost disk disappear. I am
> fairly sure a reboot will sort it but solving the problem without
> understanding it is something I only do when there is a good reason,
> like some needed service is compromised or something. Not the case here.


I'm sorry to ask, but that caught my eye. I missed where this first
came up. What ghost disk are you dealing with?

Is this anything like that deal I wrote about quite a while back where
rsync was throwing caution to the wind and creating ghost partitions
on the fly?

Rsync would do so when it couldn't find where I was pointing it to for
making backups. It once created some 3 or 4, if not more, of those.
Sometimes it would be because the target partition wasn't mounted so
it would just add things like "_" to the end of *its* new partition,
and then off it went.

I brought it up back when because it appeared to take up some very
real room even though it appeared to somehow possibly being virtual.
It was one good place to check off when hard drive rapidly disappears
for no apparent reason...

Just thinking out loud.. :)

Cindy :)

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

* runs with duct tape *



Re: Thin Client

2017-04-03 Thread Brian
On Mon 03 Apr 2017 at 20:49:33 +1200, cbannis...@slingshot.co.nz wrote:

> On Sun, Mar 26, 2017 at 06:25:51PM +0100, Brian wrote:
> > Although a Raspberry Pi is not particularly expensive, the 15 GBP
> > I paid for a brand new thin client was an attraction. It acts as
> > a print server. Do you want a list of printer manufacturers who do
> > not support Linux on the ARM architecture?
> 
> Yes please. Thanks!

Brother, Canon and Samsung will do for a start.



Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...)

2017-04-03 Thread Kevin O'Gorman
On Mon, Apr 3, 2017 at 8:39 AM, Greg Wooledge  wrote:

> On Mon, Apr 03, 2017 at 09:36:16AM -0500, Tom Browder wrote:
> > But I kind of understand why systemd, but I wish I could find a good
> > cookbook description of how to add or modify a new process.
>
> The first hurdle is learning the terminology that systemd uses.  It's
> not exactly intuitive.
>


> [...]
>
> If you want to change your system's "run level" from graphical.target
> to multi-user.target, run this command as root:
>
> # systemctl set-default multi-user.target
>
> To see a list of your available targets (assuming no major local changes),
> use this command:
>
> $ find /lib/systemd/ -name '*.target'
>
>
Are you sure?  On my system, this produces nothing at all.  But the
directory
exists and is populated.



-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: Sauvegarder avec Deja Dup - Message d'erreur en fin de sauvegarde - Exclure le dossier .dbus ou changer les droits ?

2017-04-03 Thread G2PC
Le 02/04/2017 à 21:50, Haricophile a écrit :
> Le Sun, 2 Apr 2017 21:15:57 +0200,
> G2PC  a écrit :
>
>> Bonsoir,
>>
>> J'ai lancé une sauvegarde avec Deja Dup, mais, j'ai un message
>> d'erreur à la fin de la sauvegarde.
>> Ce n'est pas une erreur critique, la sauvegarde est parfaitement
>> fonctionnelle.
>>
>> 5 dossiers étaient indiqués comme n'étant pas sauvegardés.
>>
>> Ici, le récapitulatif, je n'ai pas appliqué de changement, sur les
>> droits du dossier .dbus pour le moment.
>> J'ai résolu 2 des alertes, pour le dossier .cache et .gvfs
>> https://www.visionduweb.eu/wiki/index.php?title=Sauvegarder_et_reinstaller_Linux_Mint_Sarah#.5BR.C3.A9solu.5D_.cache_et_.gvfs
>>
>>
>> Il me reste 3 alertes à résoudre.
>>
>> Un message d'erreur sur la sauvegarde impossible sur le dossier .dbus
>>  Exclure le dossier .dbus de la sauvegarde ou changer les droits du
>> dossier .dbus ? Est ce risqué de changer les droits du dossier .dbus ?
>> - Je pourrais tenter d'excluse le dossier .dbus de la sauvegarde.
>> - Est t'il possible de changer les droits du dossier .dbus pour donner
>> ce dossier à l'utilisateur système, plutôt que à l'utilisateur root ?
> Je ne vois aucune raison de sauvegarder .dbus .cache ou ce genre de
> dossiers. Voire aussi pour les vignettes (thumb) et autres trucs non
> indispensables qui pourrait traîner et qui sont consommateurs de place.
> Dans une sauvegarde il est intéressant de se poser des question sur ce
> qui est indispensable ou important et ce qui est "reconstructible" ou
> non nécessaire.
>
>> Deux messages d'erreurs sur la sauvegarde impossible sur les dossiers
>> de mcedit
>> Idem pour 2 des dossiers de mc
>> /home/user/.config/mc/mcedit
>> /home/user/.local/share/mc/mcedit
> là c'est plus curieux, regarde effectivement les permissions
>
>> Merci de vos avis, pour permettre une sauvegarde sans message
>> d'erreur.
> Il ne faut pas confondre avertissement (warning) et erreur (error)
>
> Un avertissement est là pour te signaler quelque chose qui mérite ton
> attention. Ce n'est pas une erreur. 

Pour .dbus je vais tenter de l'exclure de la sauvegarde.

Pour les dossiers de mc ils appartiennent à root et au groupe root. Je
ne sais pas si c'est conseillé de les passer à l'utilisateur plutôt
qu'au root.



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Patrick Bartek
On Sat, 01 Apr 2017 20:08:04 -0400 Catherine Gramze 
wrote:

> 
> 
> 
> Sent from my iPad
> > On Apr 1, 2017, at 7:30 PM, Patrick Bartek 
> > wrote:
> > 
> > Never came across those during my research before posting my initial
> > query here.  And I read a lot of articles.  Still have found nothing
> > stating exactly why Linux distros don't offer a choice of inits
> > during install, even in "expert" mode.  You can choose just about
> > everything else.  I doubt that particular option was even
> > considered.
> > 
> The Debian page: https://wiki.debian.org/Debate/initsystem/systemd
> does a pretty good job of explaining the reasons for the switch.

I've read it.  And numerous other articles on the subject  Both sides
make valid points. However, in the end, it comes down to personal
preference. 

> My best guess as to the lack of an init system choice would be the
> huge ripple effect on documentation, making it harder to document
> Debian when the user may be using either a sysvinit shell script or a
> systemd utility. Not to mention the added developer time of
> maintaining two init systems.

The documentation for ALL the init systems has already been written and
is fairly comprehensive.  Maintenance on the various inits, except
systemd, of course -- its implementation is still very new -- seems
minimal. So, all that can't be the reason.  Must be something else.

> Choices in things like appearance, aptitude vs. Synaptic, Blackbox
> vs. Gnome do not effect how the system itself operates, but the init
> system does.

Installing the init system is no more involved than installing any
other system component or application.  I've done it numerous times.
And I don't do computers for a living.  All you have to do is read and
follow the instructions.  Sometimes, it's as simple as installing it
and rebooting.[1]

So, why isn't the choice offered?  I think developers just used the one
that was most used, and most familiar with system admins, and left it at
that. Now, that has changed. It will be interesting to see how things
evolve. Maybe, someone, et al, will take the leap and offer a choice.

Thanks for your response.

B

[1] FWIW, to change from systemd init to sysvinit on Stretch is as
simple as 'apt-get install sysvinit-core' and reboot. Seems the Debian
delevopers made it easier to do with Stretch than Jessie.  Maybe,
they've been listening.



Systemd services (was Re: If Linux Is About Choice, Why Then ...)

2017-04-03 Thread Greg Wooledge
On Mon, Apr 03, 2017 at 09:36:16AM -0500, Tom Browder wrote:
> But I kind of understand why systemd, but I wish I could find a good
> cookbook description of how to add or modify a new process.

The first hurdle is learning the terminology that systemd uses.  It's
not exactly intuitive.

Systemd has "run levels" which are used to control which groups of
services are started at boot time.  But it calls these things "targets"
instead of "run levels".

The default target is called "graphical.target", which means that if
a Display Manager is installed and enabled, it will be started.  This
is analogous to run level 5 on Red Hat systems.

You can see your system's default target by running this command:

$ systemctl get-default

The other target (run level) that most people will care about is called
"multi-user.target".  This is analogous to run level 3 on Red Hat
systems.  It's the same as "graphical.target" but without the Display
Manager.

If you want to change your system's "run level" from graphical.target
to multi-user.target, run this command as root:

# systemctl set-default multi-user.target

To see a list of your available targets (assuming no major local changes),
use this command:

$ find /lib/systemd/ -name '*.target'

Now, the trickier part: adding a new managed service.  Systemd calls
these things "units".  It also calls them "services", which are a
specific type of unit.

In the typical case, where you just want to run a daemon, nothing fancy,
what you do is create a file in the directory /etc/systemd/system.
This file's name should end with ".service" to indicate that this is a
service.  The first part of the file's name should be whatever you want
your service to be called.

The .service file is a text file in the "Windows INI" format,
meaning there are sections with [Headers] in square brackets, and
configuration lines within each section.  (See "man systemd.unit" and
"man systemd.service" for full details.)

Suppose you want to start DJB's daemontools from a locally created
systemd unit/service.  Here's a file that will do that:

==
[Unit]
Description=daemontools supervisor
After=getty.target

[Service]
Type=simple
User=root
Group=root
Restart=always
ExecStart=/command/svscanboot /dev/ttyS0
TimeoutSec=0

[Install]
WantedBy=multi-user.target
==

Mostly it's quite simple once you have an example like this.
The ExecStart= line gives the command to be executed.  The Type=
line tells us that this command runs in the foreground, which
every sane daemon should do.  If your daemon is self-backgrounding,
look for an option to tell it to STOP THAT, BAD DAEMON.  Anything
that has been seriously maintained at some time in this millennium
should either run in the foreground by default, or should at least
have an option to run in the foreground.

I cannot stress this enough.  Your daemons should run in the foreground.
Self-backgrounding is BAD.  Unconditional self-backgrounding is grounds
for being deleted and replaced by something that does not suck.

However, because systemd has to live in a world where evil runs free,
it goes out of its way to be accomodating to those who must live
under such a horrible regime.  Therefore, it can be told to manage
even a self-backgrounding daemon.  (The Linux kernel introduced an
entirely new thing called a "cgroup" to make this possible.  That's
how ridiculous self-backgrounding is.)

If your daemon was written in 1985 and self-backgrounds and can't be
changed, and you don't have the time to rewrite it yourself, then read
"man systemd.service" and look for the word "forking".  Be sure to read
all of the recommendations.

Once you've written your .service file, given it a cool name, and saved
it in /etc/systemd/system, there are three more steps.

First, you run this command to tell systemd to look for new unit files
(as root):

# systemctl daemon-reload

Second, you tell systemd that your service should be enabled, which
means it gets started automatically at boot time.  Again, as root:

# systemctl enable your.service

Finally, tell systemd to start the service right now:

# systemctl start your.service

When you run systemctl start (or any other systemctl subcommand), note
that all it does is send a message to systemd, asking systemd to do
stuff.  It doesn't hang around to see what happened.  It doesn't report
status.  It just sends the message.

Some people dislike this.  They want to see a reassuring message to tell
them that yes, their daemon is actually running now.  Usually because
sysvinit used to do that for them.

Since there's no feedback from systemctl, therefore, there's one more
command you should learn.  You can run it without root:

$ systemctl status your.service

This shows you whether things are running or not.  In fact, it tells
you a whole bunch of stuff: the state of the service, how long it has
been in this 

Re: ipv6 apt issue

2017-04-03 Thread Matt Zagrabelny
On Fri, Mar 31, 2017 at 8:35 AM, Andy Smith  wrote:

>
> apt uses SRV records:
>
> $ dig +short -t SRV _http._tcp.ftp.us.debian.org
> 0 2 80 ftp-nyc.osuosl.org.
> 0 1 80 debian.gtisc.gatech.edu.
> 0 1 80 ftp-chi.osuosl.org.
>
> That's where you're getting the host name ftp-chi.osuosl.org from.
>

Thanks for clearing that up, Andy!

Best,

-m


glade-gtk3?

2017-04-03 Thread Gene Heskett
Greetings;

My last question seemed to have been routed to /dev/null.

Is there a time in the foreseeable future the complete glade-gtk2 version 
3.8.0 kit of gfx widgits might be updated to gtk3 compatibility?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



apt update problem when it works with local apt-mirror repository

2017-04-03 Thread Сергей Терехов
My internet provider blocks e-mails sending to smtp server so sending a letter 
via the web.
It is seemed to 813786 resolved bug you can see:
From: Julian Andres Klode 
To: 813786-cl...@bugs.debian.org
Subject: Bug#813786: fixed in apt 1.4~beta3
Date: Thu, 05 Jan 2017 21:03:45 +
But now problem is for  local repository .
I install or update a packets on my local computer with Debian 64 8.6 Unstable 
through 2 stages.
At first, through apt-mirror (0.5.1-1 or 0.5.2-1) i update  local repository on 
separated hard disk. At next, i install or update packets through apt, aptitude 
or synaptic from local repository. When i work in Debian Stable through  apt 
(1.0.9.8.3),  aptitude (0.6.11-1+b1) or  synaptic (0.81.2) it is all right.
But if i use more higher versions all is worst. Now I use:
Testing:
apt (1.4~beta2)
aptitude (0.8.4-1)
synaptic (0.83+nmu1)
For example :
root@A1:/home/u1# apt update
Rec:1 file:/media/u1/DebRepo/deb-repo/mirror/mirror.mephi.ru/debian sid 
InRelease [209 kB]
Rec:1 file:/media/u1/DebRepo/deb-repo/mirror/mirror.mephi.ru/debian sid 
InRelease [209 kB]
Read package lists… Ready
Building dependency tree
Read status information… Ready
Can be updated 1 package. Run "apt list --upgradable" for the show.
N: Can't drop privileges for downloading as file
«/media/u1/DebRepo/deb-repo/mirror/mirror.mephi.ru/debian/dists/sid/InRelease» 
couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission non 
accordée).
synaptic (0.83+nmu1), when access to the local repository, issue such reports 
"Cannot be reset rights for download" and failing to access the repository.
Aptitude (0.8.4-1), when we update packets list (press button «u») it is showed
file:/media/u1/Debian/deb-repo/mirror/mirror.mephi.ru/debian sid/main 
Translation.ru [Error]
file not found —  file:/media/u1/Debian/deb-repo/mirror/mirror.mephi.ru/debian/ 
dists/sid/main/i18n/Translation-ru (2: file not found)
file:/media/u1/Debian/deb-repo/mirror/mirror.mephi.ru/debian sid/main [Ignored]
Unstable:
apt (1.4)
synaptic (0.84.2)
For example :
root@A1:~# apt update
Get:1 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian sid 
InRelease [231 kB]
Get:1 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian sid 
InRelease [231 kB]
Get:2 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/main amd64 Contents (deb) [34.4 MB]
Ign:2 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/main amd64 Contents (deb)
Get:3 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/contrib amd64 Contents (deb) [117 kB]
Ign:3 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/contrib amd64 Contents (deb)
Get:4 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/non-free amd64 Contents (deb) [839 kB]
Ign:4 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/non-free amd64 Contents (deb)
Get:2 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/main amd64 Contents (deb) [34.4 MB]
Ign:2 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/main amd64 Contents (deb)
Get:3 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/contrib amd64 Contents (deb) [117 kB]
Ign:3 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/contrib amd64 Contents (deb)
Get:4 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/non-free amd64 Contents (deb) [839 kB]
Get:2 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/main amd64 Contents (deb) [504 MB]
Ign:4 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/non-free amd64 Contents (deb)
Err:2 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/main amd64 Contents (deb)
File not found - 
/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian/dists/sid/main/Contents-amd64
 (2: No such file or directory)
Get:3 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/contrib amd64 Contents (deb) [1,501 kB]
Ign:3 file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian 
sid/contrib amd64 Contents (deb)
Reading package lists... Done
N: Download is performed unsandboxed as root as file 
'/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian/dists/sid/InRelease'
 couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Failed to fetch 
file:/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian/dists/sid/main/Contents-amd64
 File not found - 
/media/u1/DebRepo/DebianMirror/mirror/mirror.mephi.ru/debian/dists/sid/main/Contents-amd64
 (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones 
used instead.
root@A1 :~#
Can be updated 1 package. Run "apt list --upgradable" for the show.
N: Download is performed unsandboxed as root as file 
'/media/u1/Debian/deb-repo/mirror/mirror.mephi.ru/debian/dists/sid/InRelease' 

Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Tom Browder
On Mon, Apr 3, 2017 at 7:28 AM, Brad Rogers  wrote:
> On Mon, 3 Apr 2017 05:06:22 -0700
> Rick Thomas  wrote:
>
> Hello Rick,
>
>> There *are* choices.
>
> Indeed.  Debian also have choices(1).  They made them.  Inevitably, some
> people were going to get annoyed about it.
>
> (1) Many seem to have forgotten they're entitled to make choices as well.

Well, that's why I left Ubuntu when they insisted on constant changing
of desktops.

But I kind of understand why systemd, but I wish I could find a good
cookbook description of how to add or modify a new process.

Thanks.

Best regards,

-Tom



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Apr 03, 2017 at 03:49:09PM +0200, Sven Hartge wrote:
> Carl Fink  wrote:
> > On Mon, Apr 03, 2017 at 07:01:45AM -0400, The Wanderer wrote:
> 
> >> Eh? You *do* have a choice of which init system to run; many people
> >> running Debian are still using sysvinit, myself included. The system
> >> handles this just fine; if you file a bug report via e.g. reportbug,
> >> it will automatically detect which init system you're running and
> >> include that information in the bug report.
> >> 
> >> What you don't have is a choice *in the installer* of which init
> >> system to *start out with* ...
> 
> > I've never been a Debian developer. What would the admin team do if
> > someone forked the installer to add that option and submitted it as a
> > variant?
> 
> Forking und submitting is not the main part. Maintaining it for the
> forseeable future is.

To which I might add: Ian Jackson and Benda Xu are maintaining it.
Two months ago, Ian posted here a call for testers. To those vocal
people: feel like helping out? Having this option tomorrow might
depend on you!

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAljiXPQACgkQBcgs9XrR2kbz/QCeMzr543Oshn7ubxem+7KcLyEX
9TwAn0dp0NBFjbF2aO3zrySM8ss46G+o
=CPvd
-END PGP SIGNATURE-



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Lisi Reisz
On Monday 03 April 2017 13:55:44 Michael Fothergill wrote:
> I think choice in food is important - e.g. flavours of spam:
>
> Closed Source:
>
> Regular Spam Hot & Spicy Spam Jalapeño Spam Spam with Black Pepper Low
[snip etc. ]
> Open Source
>
> Systemd Spam
> Openrc Spam
>
> etc

Not all discussion of systemd is automatically spam.  For a long time any 
mention was flame and spam bait whether intended as such or not.

But there are legitimate questions about the init system and how to use it 
which it is legitimate to ask on  this list.  I have highlighted and marked 
as important one of the answers to this in this thread. Some of us need to 
know.  Some of us have problems.  It can't be the one topic one is never 
allowed to discuss at all.

Lisi



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Sven Hartge
Carl Fink  wrote:
> On Mon, Apr 03, 2017 at 07:01:45AM -0400, The Wanderer wrote:

>> Eh? You *do* have a choice of which init system to run; many people
>> running Debian are still using sysvinit, myself included. The system
>> handles this just fine; if you file a bug report via e.g. reportbug,
>> it will automatically detect which init system you're running and
>> include that information in the bug report.
>> 
>> What you don't have is a choice *in the installer* of which init
>> system to *start out with* ...

> I've never been a Debian developer. What would the admin team do if
> someone forked the installer to add that option and submitted it as a
> variant?

Forking und submitting is not the main part. Maintaining it for the
forseeable future is.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Michael Fothergill
I think choice in food is important - e.g. flavours of spam:

Closed Source:

Regular Spam Hot & Spicy Spam Jalapeño Spam Spam with Black Pepper Low
Sodium Spam Low Fat Spam Roast Turkey Spam Hickory Smoked Spam Spam Spread
Bacon Spam Cheese Spam Garlic Spam Teriyaki Spam Chorizo Spam Macadamia Nut
Spam Portuguese Sausage Spam

Open Source

Systemd Spam
Openrc Spam

etc

Regards

MF



On 3 April 2017 at 13:32, Carl Fink  wrote:

> On Mon, Apr 03, 2017 at 07:01:45AM -0400, The Wanderer wrote:
>
> > Eh? You *do* have a choice of which init system to run; many people
> > running Debian are still using sysvinit, myself included. The system
> > handles this just fine; if you file a bug report via e.g. reportbug, it
> > will automatically detect which init system you're running and include
> > that information in the bug report.
> >
> > What you don't have is a choice *in the installer* of which init system
> > to *start out with* ...
>
> I've never been a Debian developer. What would the admin team do if someone
> forked the installer to add that option and submitted it as a variant?
> --
> Carl Fink   nitpick...@nitpicking.com
>
> Read my blog at blog.nitpicking.com.  Reviews!  Observations!
> Stupid mistakes you can correct!
>
>


Re: Encrypted flash drives

2017-04-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Apr 03, 2017 at 09:01:59PM +0900, Mark Fletcher wrote:
> On Mon, Mar 27, 2017 at 09:32:33PM +0200, to...@tuxteam.de wrote:
> > On Mon, Mar 27, 2017 at 11:58:51PM +0900, Mark Fletcher wrote:
> > > On Mon, Mar 27, 2017 at 10:02:27AM +0200, to...@tuxteam.de wrote:
> > > > On Mon, Mar 27, 2017 at 08:31:45AM +0900, Mark Fletcher wrote:
> > > > 
> > > > [...]
> > > > 
> > > > > Tomas has tried to give me pointers on that but I'm afraid I don't 
> > > > > understand where to take that. Is there any chance someone who isn't 
> > > > > a 
> > > > > self-proclaimed "desktop luddite" could comment?
> > > > 
> > > > There *must* be some place in your shiny desktop environment "disks"
> > > > or something like that where you configure media "known" to your
> > > > desktop environment.
> > > > 
> > > 
> > > Update -- it *almost* worked [...]
> > 
> > This looks bizarre. I think I must leave that to the DE gurus. I guess
> > it has to do with udisks (I think in its current incarnation it's
> > called "udisks2"), but it's beyond my depth.
> > 
> 
> Any way to reset udev?

No, udev doesn't "keep" that info. It's just the piece "routing" kernel
events to whatever user space software needs to know about it (e.g.
"an USB stick has been inserted" or "a block device just appeared" --
as you see, one phisical event may well lead to a whole flurry of
things happening).

> I'm still trying to find a way to make that ghost disk disappear. I am 
> fairly sure a reboot will sort it but solving the problem without 
> understanding it is something I only do when there is a good reason, 
> like some needed service is compromised or something. Not the case here.

But if I were you, I'd see whether udisks is managing your DE's
perception of "disks". See [1]. Do you have a binary called udiskctl?

Another way to try to home in on the problem would be to just "reset"
the DE's memory, e.g. by completely logging out and back in,
without rebooting. Is the ghost gone? Then you'd know your DE is
dreaming. Otherwise it's seeing "something out there".

regards

[1] https://udisks.freedesktop.org/docs/latest/
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAljiSI4ACgkQBcgs9XrR2kZASwCfUDO1z7/O2a4JaMzu+AkXNTRw
MuYAniP/RKf8B8eBIQekrCJIlMGmcfZo
=sHOg
-END PGP SIGNATURE-



Re: Captive network account (w/ login redirect) and HSTS

2017-04-03 Thread Darac Marjal

On Sun, Apr 02, 2017 at 06:36:25PM +0200, Marc SCHAEFER wrote:

Hello,

with a basic Debian jessie install and a recent Firefox, I observe the
following:

  [1] Debian has no specific support for detecting captive networks
  (e.g. Android, iOS) and redirecting automatically the browser to
  the captive login page

  [2] launching Firefox on the default page doesn't work (doesn't get
  redirected properly to the login page but fails with a HTTPS
  certificate error), if there is a recent HSTS[*] security
  configuration cache for the default domain page (e.g. google.com)

[1] is not really an issue: I wouldn't like myself that connecting to
a WiFi captive network starts a browser. Also, open captive networks are
messing up, dangerous, a WPA/RADIUS auth would be much better.

However, open captive networks are quite commons in hotels, airports,
parks, etc.  So it cannot be dismissed.

[2] the only fix is to type an URL you know is HTTP, not HTTPS and does
not configure HSTS, and does not support DNSSEC. In my case I used
ptiturl.ch

Maybe this could be in the Debian User manual somehow?

Feel free to contact me if you want help in writing the documentation.

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



I believe the way Android works is, when the network interface changes,
a request is fired off to a known page on Google. If that page returns a
known HTTP code (200, I think), then everything is OK. But if it returns
301 (Moved Permanently), 302 (Found) or, preferably 511 (Network
Authentication Required), then a one-shot browser is opened.

I think this would be a great feature request for Network-Manager (which
has the abiliity to monitor the network AND has a GUI AND is part of the
default Debian).

--
For more information, please reread.



Re: Recording needed data from mate-search-tool - possible?

2017-04-03 Thread songbird
Richard Owlett wrote:
>songbird wrote:
...
>>   use find.  sometimes trying to make a square peg
>> fit in a round hole isn't worth it.
>>
>
> The annoying facet of the problem is that 
> "Applications->Accessories->Search for files" retrieves exactly the data 
> I want and can sort it so that it visually groups data 
> 'productively'{right word??}.
>
> But it can only be saved as an image. I need ASCII text.
>
> In my reading I found references that internally it uses "find" &/or 
> "locate" but I don't look forward to formatting the output of either.
>
> Although I've done some coding years ago, in no way would I refer to 
> myself as a programmer.

  can you specify which order you'd like things in and
what you are looking for?

  like are you looking for directories,files,links, etc
and how would you like them notated?

  i'm sure a bash/etc script could be cooked up to do it...

  find doc says these are searchable:

=
"   -type c
  File is of type c:

  b  block (buffered) special

  c  character (unbuffered) special

  d  directory

  p  named pipe (FIFO)

  f  regular file

  l  symbolic link; this is never true if the -L option or the
 -follow  option is in effect, unless the symbolic link is
 broken.  If you want to search for symbolic links when -L
 is in effect, use -xtype.

  s  socket

  D  door (Solaris)
"
=

  can do each on a different search and sort to get a list order
as required then put them back together in a final list...

  formatting output is not usually an issue (awk,sed) other than
fiddling about.


  songbird



Chaos of confusion RESOLVED - was [Re: When specifying path to file - confused about ./ and ~/]

2017-04-03 Thread Richard Owlett

On 03/27/2017 06:14 AM, Richard Owlett wrote:


Please avoid trying to briefly explain.
Please refer me to a good web page.
I *KNOW* I'm missing something fundamental.
...



On Mon, Mar 27, 2017 at 11:25:30PM +1100, David wrote:


http://www.ee.surrey.ac.uk/Teaching/Unix/unix1.html
http://www.ee.surrey.ac.uk/Teaching/Unix/unix2.html

Sections 1.4, 1.6 part 2, and 2.1 demonstrate use of '.' and '~' to
represent directory names.

To the best of my knowledge, '.' is intrinsic to the filesystem



On 03/27/2017 07:47 AM, to...@tuxteam.de wrote:


Yes and no (see below)

[massive snip]

Of course, if you start your path with /, it's an absolute
path, like /usr/local/bin/foo/command.



That was the key.
*BUT* it went unrecognized until crashed full tilt into another problem.
My subject line SHOULD HAVE BEEN:
" When specifying path to file - confused about ./ and ~/ and /"
Particular examples would be the difference among
"ls ./" and "ls ~/" *AND* "ls /".

richard@march-9-Jessie:~$ cd testfolder
richard@march-9-Jessie:~/testfolder$
richard@march-9-Jessie:~/testfolder$ ls ~/
Documents   metime Public Videos
Downloads   Music  t1 wordpress_install
apr-3A  new file   Templates

richard@march-9-Jessie:~/testfolder$ ls ./
test-script-0   test-script-1

richard@march-9-Jessie:~/testfolder$ ls /
bin devhome   lib
media   boot   etcinitrd.img
richard@march-9-Jessie:~/testfolder$








Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Carl Fink
On Mon, Apr 03, 2017 at 07:01:45AM -0400, The Wanderer wrote:

> Eh? You *do* have a choice of which init system to run; many people
> running Debian are still using sysvinit, myself included. The system
> handles this just fine; if you file a bug report via e.g. reportbug, it
> will automatically detect which init system you're running and include
> that information in the bug report.
> 
> What you don't have is a choice *in the installer* of which init system
> to *start out with* ...

I've never been a Debian developer. What would the admin team do if someone
forked the installer to add that option and submitted it as a variant?
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Brad Rogers
On Mon, 3 Apr 2017 05:06:22 -0700
Rick Thomas  wrote:

Hello Rick,

> There *are* choices.

Indeed.  Debian also have choices(1).  They made them.  Inevitably, some
people were going to get annoyed about it.

(1) Many seem to have forgotten they're entitled to make choices as well.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Walking through town is quite scary
I Predict A Riot - Kaiser Chiefs


pgp36vawii6xl.pgp
Description: OpenPGP digital signature


Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Greg Wooledge
On Mon, Apr 03, 2017 at 04:38:06AM -0700, Rick Thomas wrote:
> Would you be willing to share the steps you use to change to sysvinit on 
> a newly installed machine?

https://wiki.debian.org/systemd#Installing_without_systemd

http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation



Re: Issue with notebook (maybe the battery?)

2017-04-03 Thread cbannister
On Sun, Mar 26, 2017 at 12:07:46PM +0200, to...@tuxteam.de wrote:
> On Sun, Mar 26, 2017 at 04:46:37AM -0500, Richard Owlett wrote:
> > On 03/25/2017 05:29 PM, Daniel Bareiro wrote:
> > >Hi, Joe.
> > >
> > >[snip]
> > >
> > >Checking the purchase invoices, I bought the notebook on September 19,
> > >2013, and then changed the battery on November 2, 2015. So less than two
> > >years ago I have this battery.
> > >
> > >The notebook I use it practically every day and I leave it sleeping from
> > >one day to the next so I do not have to open every application every
> > >time. I'm not sure if that impacts so much on the battery life.
> > 
> > If it was a long term degradation, possibly. With some battery
> > technology/technologies(?) there is a "memory" effect. If there is a
> > repeated "shallow discharge"/recharge cycle ( sleep overnight
> > followed by running during day with charger plugged in) the
> > effective battery capacity will decrease. IIRC that applies to only
> > one technology but can't remember which.
> 
> That would be the nickel family (NiMH and its predecessors). Laptops
> changed long ago (I'd venture somewhere in the 90-ies) to Li-whatever.

http://batteryuniversity.com/learn/archive/memory_myth_or_fact

-- 
The media's the most powerful entity on earth. 
They have the power to make the innocent guilty 
and to make the guilty innocent, and that's power.
 -- Malcolm X



Re: unattended upgrades does not do anything

2017-04-03 Thread Mark Fletcher
On Sat, Apr 01, 2017 at 06:04:16PM +0200, Gregor Zattler wrote:
> Hi Gregor,
> 
> one more detail about the configuration of said system (see below/between):
> 
> Any ideas how to proceed?
> 
> Ciao; Gregor 
> 
> 
There's another thread recently (during March, I think) on this mailing 
list about the same subject. The gyst is you need to do a 
dpkg-reconfigure unattended-upgrades after installation to create some 
config files needed to make the upgrades actually happen.

I suggest you search the archive of this list for the relevant thread. 
The details are in there.

Mark



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Rick Thomas

On 3/13/2017 12:40 PM, Greg Wooledge wrote:

On Mon, Mar 13, 2017 at 12:30:11PM -0700, Patrick Bartek wrote:

The Linux mantra has always been "choice," plethoras of choices. So why
at install time, is there no choice for the init system?  You get what
the developers decide. Yes, you can install a new one -- I've done it
and it works -- but only after the install.  It'd be a lot easier, if
there were a choice to begin with just like whether you want a GUI and
which one.


Because the number of people who want to run a new version of Debian with
an ancient and deprecated init system is probably in the triple digits,
worldwide.

You are a member of a small minority.  It's not reasonable to expect
that a whole bunch of time will be spent making install images with
alternative init systems for such a small demand.  You have a solution
which works just fine.



Aside from being insulting, this is just plain untrue.  There are well 
over 100,000 professional Linux sysadmins worldwide.  I'd estimate that 
at least a third of them administer at least one - and probably  more 
than one - systems that work better with sysvinit than with systemd.


Check out the Devuan fork of Debian for a full-featured Linux system 
that installs sysvinit by default.  There *are* choices.


Rick



Re: Encrypted flash drives

2017-04-03 Thread Mark Fletcher
On Mon, Mar 27, 2017 at 09:32:33PM +0200, to...@tuxteam.de wrote:
> On Mon, Mar 27, 2017 at 11:58:51PM +0900, Mark Fletcher wrote:
> > On Mon, Mar 27, 2017 at 10:02:27AM +0200, to...@tuxteam.de wrote:
> > > On Mon, Mar 27, 2017 at 08:31:45AM +0900, Mark Fletcher wrote:
> > > 
> > > [...]
> > > 
> > > > Tomas has tried to give me pointers on that but I'm afraid I don't 
> > > > understand where to take that. Is there any chance someone who isn't a 
> > > > self-proclaimed "desktop luddite" could comment?
> > > 
> > > There *must* be some place in your shiny desktop environment "disks"
> > > or something like that where you configure media "known" to your
> > > desktop environment.
> > > 
> > 
> > Update -- it *almost* worked [...]
> 
> This looks bizarre. I think I must leave that to the DE gurus. I guess
> it has to do with udisks (I think in its current incarnation it's
> called "udisks2"), but it's beyond my depth.
> 

Any way to reset udev? (in a way that doesn't nuke the system and 
require a reboot anyway)

I'm still trying to find a way to make that ghost disk disappear. I am 
fairly sure a reboot will sort it but solving the problem without 
understanding it is something I only do when there is a good reason, 
like some needed service is compromised or something. Not the case here.

Mark



Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread The Wanderer
On 2017-04-03 at 07:38, Rick Thomas wrote:

> On 4/3/2017 4:01 AM, The Wanderer wrote:
> 
>> Eh? You *do* have a choice of which init system to run; many
>> people running Debian are still using sysvinit, myself included.
>> The system handles this just fine; if you file a bug report via
>> e.g. reportbug, it will automatically detect which init system
>> you're running and include that information in the bug report.
>> 
>> What you don't have is a choice *in the installer* of which init
>> system to *start out with*. The installer will always set up
>> systemd (possible unusual situations involving preseeding aside);
>> if you want sysvinit instead, you have to break out of the
>> do-things-for-you friendly install process and do some package
>> installs + uninstalls by hand.
>> 
>> This makes it harder for people to get a non-systemd init system
>> in place (particularly people with less technical experience), and
>> harder to be sure that all traces of systemd-used-as-init-system
>> have really been removed from the machine.
> 
> Would you be willing to share the steps you use to change to sysvinit
> on a newly installed machine?

I'd be glad to, but I haven't actually installed a new machine since the
systemd transition in Debian, except for one which I let stay with
systemd just as an experiment to see what working in that environment is
like.

There are guides out there, I believe, but I don't remember where to
find them just offhand.

It also depends on just how systemd-free you want to be. If you just
don't want to have systemd be the active init system, but you're willing
to have it present for other reasons, you have one set of tasks; if you
want to have as little systemd present on your machine as possible, you
need to go considerably farther.

For myself, I've gone the latter route (on my main machine); the only
systemd-related packages (as defined by what changelog they present on
upgrade) installed here, that I know of, are libsystemd0 and udev. For
many, many people, however, the tradeoffs involved in going that far
will be too much.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread Rick Thomas



On 4/3/2017 4:01 AM, The Wanderer wrote:

Eh? You *do* have a choice of which init system to run; many people
running Debian are still using sysvinit, myself included. The system
handles this just fine; if you file a bug report via e.g. reportbug, it
will automatically detect which init system you're running and include
that information in the bug report.

What you don't have is a choice *in the installer* of which init system
to *start out with*. The installer will always set up systemd (possible
unusual situations involving preseeding aside); if you want sysvinit
instead, you have to break out of the do-things-for-you friendly install
process and do some package installs + uninstalls by hand.

This makes it harder for people to get a non-systemd init system in
place (particularly people with less technical experience), and harder
to be sure that all traces of systemd-used-as-init-system have really
been removed from the machine.
Would you be willing to share the steps you use to change to sysvinit on 
a newly installed machine?


Thanks!
Rick



Re: Thin Client

2017-04-03 Thread Linux-Fan

David writes:


On Sun, 2017-03-26 at 12:23 -0400, Dan Ritter wrote:


[...]


> I don't see why you wouldn't use another Raspberry for this,
> given their reasonable power draw and the fact that you already
> have experience with them.
>
> -dsr-

Dan, that's perfectly true, but Raspbian and the Pi architecture does
have it's drawbacks, running true Debian could be an advantage.


[...]

It is possible to use ``true Debian'' on a Raspberry Pi.
In my experience, the scripts presented in
https://github.com/drtyhlpr/rpi23-gen-image have worked well.

HTH
Linux-Fan


pgpsk5bwzh4SC.pgp
Description: PGP signature


Re: If Linux Is About Choice, Why Then ...

2017-04-03 Thread The Wanderer
On 2017-04-01 at 20:08, Catherine Gramze wrote:

>> On Apr 1, 2017, at 7:30 PM, Patrick Bartek 
>> wrote:
>> 
>> Never came across those during my research before posting my
>> initial query here.  And I read a lot of articles.  Still have
>> found nothing stating exactly why Linux distros don't offer a
>> choice of inits during install, even in "expert" mode.  You can
>> choose just about everything else.  I doubt that particular option
>> was even considered.
> 
> The Debian page: https://wiki.debian.org/Debate/initsystem/systemd 
> does a pretty good job of explaining the reasons for the switch.
> 
> My best guess as to the lack of an init system choice would be the
> huge ripple effect on documentation, making it harder to document
> Debian when the user may be using either a sysvinit shell script or a
> systemd utility. Not to mention the added developer time of
> maintaining two init systems.

Eh? You *do* have a choice of which init system to run; many people
running Debian are still using sysvinit, myself included. The system
handles this just fine; if you file a bug report via e.g. reportbug, it
will automatically detect which init system you're running and include
that information in the bug report.

What you don't have is a choice *in the installer* of which init system
to *start out with*. The installer will always set up systemd (possible
unusual situations involving preseeding aside); if you want sysvinit
instead, you have to break out of the do-things-for-you friendly install
process and do some package installs + uninstalls by hand.

This makes it harder for people to get a non-systemd init system in
place (particularly people with less technical experience), and harder
to be sure that all traces of systemd-used-as-init-system have really
been removed from the machine.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: [1/2HS] Ubuntu Canonical dans le collimateur de la CE

2017-04-03 Thread andre_debian
On Sunday 02 April 2017 17:46:53 David Pinson wrote:
> Il y a tout juste 45 ans, le 1er avril 1972, qu'il y avait un poisson
> d'avril pour l’interdiction total de fumer dans les locaux public,
> privés, professionnels ou non...
> http://www.ina.fr/video/CAF97034496
> Eh, bien la blague est devenue sérieuse depuis le 1er février 2007...
> 
http://social-sante.gouv.fr/prevention-en-sante/addictions/article/l-interdiction-de-fumer-dans-les-lieux-publics
> Mais pour ça, c'est bien bien pour une raison sociale,
> mais pour le libre et l'open-source, tout peut arriver par un 
> passage en force. 
> Bref, il faut se prémunir face aux éventuels lobbyings qui tournent
> autour des députés européens...

Bien d'accord. 
L'impensable peut devenir possible...

En Suisse, un jour, ce poisson d'avril :
"La vente de cigarettes sera bientôt interdite".
Aujourd'hui, le gouvernement suisse envisage très sérieusement d'interdire
la vente de cigarettes sur son territoire et... demande reprise dans plusieurs 
pays.

Bonne journée,

André



Re: [HS] PC récalcitrant au démarrage

2017-04-03 Thread andre_debian
Solution qui n'a pas été proposée, semble t-il :

Pourquoi ne pas acheter plutôt un PC d'occasion ?

Changer l'Alim, les barrettes mémoire... etc...
risquent de coûter plus cher qu'acheter un PC d'occase.

J'ai trouvé un PC de bureau Intel i5 à 200€ qui marche très bien,
société de formation qui a changé d'activités et revendait
les ordinateurs des élèves (annonce par le bon coin).
On peut trouver encore moins cher avec produit très convenable.

Je ne fais pas de pub :
Il y a aussi Cash-Converters, il propose une garantie entre un et 3 mois.
J'ai acheté 2 écrans plats il y a longtemps qui marchent toujours,
la preuve, j'écris ici avec l'un d'eux.

Vive l'économie durable et recyclable ! :-)

André





Re: Captive network account (w/ login redirect) and HSTS

2017-04-03 Thread Marc SCHAEFER
On Sun, Apr 02, 2017 at 03:20:56PM -0500, David Wright wrote:
> IIRC I have in the past typed   ip route show
> and then pasted the IP of the default route into the browser.
> Am I remembering correctly, and would that IP address obey
> your conditions outlined earlier?

That would work too, even if default router is
not the captive portal itself.  Let's put that in the doc.



Re: (deb-cat) Sobreescriure repositori Freight

2017-04-03 Thread Narcis Garcia
__
I'm using this express-made address because personal addresses aren't
masked enough at this list's archives. Mailing lists service
administrator should fix this.
El 03/04/17 a les 11:23, Jordi Funollet ha escrit:
> On Mon, Apr 3, 2017, at 09:04 AM, Narcis Garcia wrote:
>> Se m'ha acudit que hi hauria d'haver una manera d'ELIMINAR un paquet de
>> l'arxiu-repositori. D'aquesta manera, poder-lo tornar a agregar.
> 
> Això pot ser pràctic quan ets l'únic usuari del repositori. Però si és
> un repositori amb més d'un usuari, el que estariem fent és "reescriure
> el passat": cada versió del paquet és immutable perque algú ja podria
> haver-lo fet servir.
> 
> Mentre estas empaquetant i fent proves hi ha unes quantes tècniques
> habituals:
> 
>  * Pujar la release com et deia l'Àlex
>  (x-1.1.1-narcis+45_amd64.deb).
>  * Tenir un repositori diferent pels paquets que tens en
>  desenvolupament, per a no afectar als teus usuaris.
>  * Tenir un repositori local, a la teva pròpia workstation.
> 
> Amb les dues darreres opcions pots permetre't el luxe de esborrar el
> paquet i tornar-lo a afegir amb la mateixà versió i release. Amb
> freight, esborrar el fitxer i regenera la cache.
> --
> Jordi Funollet Pujol
> http://www.linkedin.com/in/jordifunollet
> 

Interessant la qüestió organitzativa. Com es fa per esborrar un fitxer
amb el freight?
He vist molts repositoris (també oficials de les distribucions) on
desapareixen fitxers de paquet del repositori, temps després d'haver
noves versions (situació diferent, cert).



Re: (deb-cat) Sobreescriure repositori Freight

2017-04-03 Thread Jordi Funollet
On Mon, Apr 3, 2017, at 09:04 AM, Narcis Garcia wrote:
> Se m'ha acudit que hi hauria d'haver una manera d'ELIMINAR un paquet de
> l'arxiu-repositori. D'aquesta manera, poder-lo tornar a agregar.

Això pot ser pràctic quan ets l'únic usuari del repositori. Però si és
un repositori amb més d'un usuari, el que estariem fent és "reescriure
el passat": cada versió del paquet és immutable perque algú ja podria
haver-lo fet servir.

Mentre estas empaquetant i fent proves hi ha unes quantes tècniques
habituals:

 * Pujar la release com et deia l'Àlex
 (x-1.1.1-narcis+45_amd64.deb).
 * Tenir un repositori diferent pels paquets que tens en
 desenvolupament, per a no afectar als teus usuaris.
 * Tenir un repositori local, a la teva pròpia workstation.

Amb les dues darreres opcions pots permetre't el luxe de esborrar el
paquet i tornar-lo a afegir amb la mateixà versió i release. Amb
freight, esborrar el fitxer i regenera la cache.
--
Jordi Funollet Pujol
http://www.linkedin.com/in/jordifunollet



Re: oom-killer no funciona como debería.

2017-04-03 Thread luis gil
Gracias Oswaldo.

He estado mirando la configuración de Apache y he encontrado alguna cosa
mejorable.

De todas maneras aunque Apache estuviera mal configurado y utilizase más
memoria de la que debería entiendo que la debería de ver reflejada en la
memoria libre.

Ahora se acaba de reiniciar mysql otra vez. Cuando lo ha hecho se estaba
subiendo un fichero al mysql desde un formulario de la web y cargándolo en
una tabla de mysql. El fichero ocupa 1,15 G. En el primer correo no
disponía de la salida de vmstat para pegarlo, pero ahora sí, ejecutándose
cada 3 sg sale lo siguiente:

procs ---memory-- ---swap-- -io -system--
cpu

 r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy id
wa

 3  1   9852 15138904   5320 1313599200   239 18743 3750 4352 11  0
88  1

 4  0   9852 15113336   5404 131622600087  7967 3130 3862 13  0
86  1

 4  0   9852 15072972   5688 1319556400   532  9706 3708 3503 15  1
84  1

 3  0   9852 15040076   5760 132253280080 12579 4180 4988 11  0
88  1

 5  0   9852 15017408   5800 132532120031 12678 4164 4459 19  1
80  0

 3  1   9852 14992168   5924 132835800080 13179 5154 6640  9  0
90  1

 2  5   9852 15087296   3428 1320419600  2879 18701 6007 5518 15  1
76  9

 3  2   9852 15046564   3888 1323696400   877  6705 4403 5063 10  0
85  4

 3  1   9852 15039628   4012 1325217600  5681 17683 6337 8803 14  1
77  8

 3  0   9852 15007564   4272 1328240000   104  6932 3013 1758 14  0
85  1

 3  0   9852 14977520   5040 1331065200   603 13573 5566 4285  9  0
89  1

 4  0   9852 14951516   5132 133439600085  9594 5839 4115 16  0
82  2

 3  0   9852 14917308   5660 1337263200   601 15876 6305 4843 10  0
84  5

 3  4   9852 14990888   5420 1329673600  1036  5177 3061 2143 11  0
80  9

 5  0   9852 14974044   5568 1331659200   667 12701 4728 3052 14  1
74 11

 2  3   9852 14928648   1984 1334537200  1312 14722 5780 8408 10  1
86  3

 0  1   9852 19130736   4532 1334926800  2557  4197 3047 5435  3  2
87  8

 0  2   9852 19166220   6224 1331170800  1025   727 1657 2041  2  0
85 13

 1  0   9852 19256336   6640 1322371600  1833   297 1265  649  1  0
96  4

 0  2   9852 19245636   7940 1323008400  2737   116 1601 2039  0  0
97  3

 0  1   9852 19240328   8804 1323239200   820   706 1426 7295  1  0
96  2

 1  0   9852 19235716   9008 1323608400   649   205 1627 4513  1  0
98  1

 0  0   9852 19236624   9044 132403240011  1421 2106 3454  0  0
99  0

 0  0   9852 19239228   9112 132448560099   160 2115 2295  1  0
99  1

 1  0   9852 19235060   9296 1325106800   276  2639 2586 4045  0  0
99  1

 1  0   9852 19226752   9408 132608120040   157 3053 3948  1  0
99  0

 1  0   9852 19212104   9744 1327114800   141  6591 3788 6791  1  0
98  0

 0  0   9852 19203596   9820 132799080089  2537 2975 5262  1  0
99  0

 1  0   9852 19192860   9876 1328982800   621  3435 2631 22059  1  0
98  1

 0  0   9852 19186064  10148 1329956400   519  1393 3147 27693  2  1
96  2

 2  0   9852 19178252  10244 133081760089  4543 2289 2897  1  0
98  0

 1  0   9852 19162580  10876 1331766000   128  4468 3635 10674  1  1
98  0

 2  0   9852 19067216  11472 1333464000  2903  3317 5963 24712  3  2
91  3

A mitad de tabla se aprecia como la memoria libre pasa de unos 15G a poco
más de 19G. Ha sido el momento en que, según sale en syslog, apache ha
llamado al proceso oom-killer y ha tirado mysql. No entiendo porqué apache
considera que 15 G de memoria libre son pocos y es necesario hacer sitio.

Un saludo y gracias.

El 3 de abril de 2017, 1:06, Oswaldo Franco 
escribió:

> Hola Luis, revisa bien la configuración del apache. Sobre todo
> asignaciones de memoria RAM o algo así.
>
> Espero te ayude mi indicio.
>
> Saludos
>
> El 2 abr. 2017 13:12, "luis gil"  escribió:
>
>> Buenas tardes. Espero que me puedan ayudar. El caso es que tengo un
>> servidor con Debian 6. Está corriendo mysql 5.1 y apache 2 con una
>> aplicación en php. La máquina tiene 31 G de RAM y 24 procesadores con 6
>> cores cada uno. El SO es de 32 bits.
>>
>> De vez en cuando, varias veces al día, normalmente con consultas pesadas
>> a la base de datos, se reinicia el mysql con consecuencias desde
>> indetectables a desastrosas. Mirando el syslog me sale lo siguiente:
>>
>> Mar 31 13:34:05 LaCuqui3 kernel: [30300729.058476] apache2 invoked
>> oom-killer: gfp_mask=0x44d0, order=2, oom_adj=0
>> Mar 31 13:34:05 LaCuqui3 kernel: [30300729.058481] apache2 cpuset=/
>> mems_allowed=0
>> Mar 31 13:34:05 LaCuqui3 kernel: [30300729.058487] Pid: 10826, comm:
>> apache2 Tainted: GW  2.6.32-5-686-bigmem #1
>> Mar 31 13:34:05 LaCuqui3 kernel: [30300729.058491] Call Trace:
>> 

Re: (deb-cat) Estat de paquets

2017-04-03 Thread Narcis Garcia
El 03/04/17 a les 10:35, Narcis Garcia ha escrit:
> __
> I'm using this express-made address because personal addresses aren't
> masked enough at this list's archives. Mailing lists service
> administrator should fix this.
> El 03/04/17 a les 00:31, Alex Muntada ha escrit:
>> Narcis Garcia:
>>
>>> En aquesta pàgina:
>>> https://wiki.debian.org/MaintainerScripts
>>>
>>> hi ha llocs on es diu que els paquets es deixen, per exemple, en estat
>>> "Config-Files" i d'altres llocs diu "Config Files" (sense guionet).
>>> Algú sap si és que són diferents casos, o bé són errors tipogràfics i
>>> tots van d'una manera o altra?
>>
>> La primera frase d'aquesta pàgina wiki diu literalment:
>>
>> «This explanation is intended to show how maintainer scripts work,
>> in a more graphical manner than the one explained in the Debian
>> Policy. It's not intended as a replacement, but as a clarification.»
>>
>> La resposta està a la secció enllaçada de la Debian Policy.
>>
>> Salut,
>> Alex
>>
> 
> D'acord, gràcies.
> https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
> 

Ara veig que a la política de Debian sobre els programets de manteniment
de paquet no s'esmenten els estats "Reinst-required" ni "Failed-Config"
(amb guionet ni sense)

Tal i com il·lustra el gràfic, i insinua la pàgina de política,
assumeixo que un paquet pot tenir marcat més d'un estat alhora (per això
el "Reinst-Required").



Re: Thin Client

2017-04-03 Thread cbannister
On Sun, Mar 26, 2017 at 06:25:51PM +0100, Brian wrote:
> Although a Raspberry Pi is not particularly expensive, the 15 GBP
> I paid for a brand new thin client was an attraction. It acts as
> a print server. Do you want a list of printer manufacturers who do
> not support Linux on the ARM architecture?

Yes please. Thanks!

-- 
The media's the most powerful entity on earth. 
They have the power to make the innocent guilty 
and to make the guilty innocent, and that's power.
 -- Malcolm X



Re: (deb-cat) Estat de paquets

2017-04-03 Thread Narcis Garcia
__
I'm using this express-made address because personal addresses aren't
masked enough at this list's archives. Mailing lists service
administrator should fix this.
El 03/04/17 a les 00:31, Alex Muntada ha escrit:
> Narcis Garcia:
> 
>> En aquesta pàgina:
>> https://wiki.debian.org/MaintainerScripts
>>
>> hi ha llocs on es diu que els paquets es deixen, per exemple, en estat
>> "Config-Files" i d'altres llocs diu "Config Files" (sense guionet).
>> Algú sap si és que són diferents casos, o bé són errors tipogràfics i
>> tots van d'una manera o altra?
> 
> La primera frase d'aquesta pàgina wiki diu literalment:
> 
> «This explanation is intended to show how maintainer scripts work,
> in a more graphical manner than the one explained in the Debian
> Policy. It's not intended as a replacement, but as a clarification.»
> 
> La resposta està a la secció enllaçada de la Debian Policy.
> 
> Salut,
> Alex
> 

D'acord, gràcies.
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html



Re: Captive network account (w/ login redirect) and HSTS

2017-04-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Apr 02, 2017 at 09:20:30PM +0200, Marc SCHAEFER wrote:

[...]
> I did not find any, so I created:
> 
>https://wiki.debian.org/CaptivePortal

\o/

Thanks!
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAljh+dcACgkQBcgs9XrR2kbBFACfan9XUNfJg4n0LM8rc9R6OuH/
+rIAnjb3Jw48xjIYvEGt1PwMevadTff+
=7WUV
-END PGP SIGNATURE-



Re: (deb-cat) Sobreescriure repositori Freight

2017-04-03 Thread Narcis Garcia
Per a què tot anés com jo volia, vaig haver de fer unes 45 revisions (i
assajos amb APT) fins a tenir el paquet com jo volia.
Com que ho hi havia altre remei, ho vaig haver de fer esborrant
completament el repositori de paquets i tornant-lo a generar cada vegada
amb tots els continguts.

Se m'ha acudit que hi hauria d'haver una manera d'ELIMINAR un paquet de
l'arxiu-repositori. D'aquesta manera, poder-lo tornar a agregar.


__
I'm using this express-made address because personal addresses aren't
masked enough at this list's archives. Mailing lists service
administrator should fix this.
El 03/04/17 a les 00:19, Alex Muntada ha escrit:
> Narcis Garcia:
> 
>> Li he rectificat fitxers de paquet (preinst, postinst,...) i tornat a
>> empaquetar amb dpkg-buildpackage, però la comanda freight-add no
>> actualitza la seva memòria cau perquè diu que ja té un sltd_1.1.6_all.deb
> 
> No crec que sigui una cosa específica del freight. En Debian cal
> incrementar el número de versió cada cop que es fa un canvi en
> el paquet si vols assegurar que no tindràs problemes.
> 
> Crec que sltd_1.1.6_all.deb hauria de ser sltd_1.1.6-1_all.deb
> (on el 1 és la revisió del paquet de Debian). Aleshores seria
> només qüestió d'anomenar la nova revisió sltd_1.1.6-2_all.deb
> i llestos.
> 
> https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version
> 
> Salut,
> Alex
> 



Re: [1/2HS] Ubuntu Canonical dans le collimateur de la CE

2017-04-03 Thread Stephane Ascoet

Le 02/04/2017 17:46, David Pinson a écrit :

Eh, bien la blague est devenue sérieuse depuis le 1er février 2007...


Bonjour, sauf que dans le reportage ca concerne aussi les lieux ouverts! 
Les reactions des fumeurs egoistes sont helas realistes...


J'attends avec impatiente que celui-ci devienne realite: 



--
Bien cordialement, Stephane Ascoet



Re: Recording needed data from mate-search-tool - possible?

2017-04-03 Thread Richard Owlett

On 04/02/2017 08:56 AM, songbird wrote:

Richard Owlett wrote:

I am using Jessie with MATE desktop.
I search for a string within a filename OR folder name.
I must distinguish between files, folders and links to either.
"Applications->Accessories->Search for files" will DISPLAY the data.
*HOWEVER* attempting to record the data yields obfuscated data:


ITEM NOTE
[ 1] [1] 
/var/cache/apt/archives/wordpress-theme-twentyfifteen_4.1+dfsg-1+deb8u11_all.deb
[ 2] [2] /usr/share/wordpress/wp-content/themes/twentyfifteen
[ 3] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp/twentyfifteen
[ 4] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp
[ 5] [2] /usr/share/doc/wordpress-theme-twentyfifteen
[ 6] [3] /var/lib/wordpress/wp-content/themes/twentyfifteen
[ 7] [4] /usr/share/lintian/overrides/wordpress-theme-twentyfifteen
[ 8] [4] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.list
[ 9] [1] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.md5sums
[10] [1] 
/usr/share/wordpress/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot
[11] [1] /home/richard/Downloads/twentyfifteen.1.7.zip


Notes:
1 a filename w extension
2 folder
3 link to folder
4 a filename w/o extension

NOTE BENE
Item 4 is a folder but resembels a filename w extension


Any suggestions?


  use find.  sometimes trying to make a square peg
fit in a round hole isn't worth it.



The annoying facet of the problem is that 
"Applications->Accessories->Search for files" retrieves exactly the data 
I want and can sort it so that it visually groups data 
'productively'{right word??}.


But it can only be saved as an image. I need ASCII text.

In my reading I found references that internally it uses "find" &/or 
"locate" but I don't look forward to formatting the output of either.


Although I've done some coding years ago, in no way would I refer to 
myself as a programmer.