Re: seg fault on many applets

2016-10-11 Thread Bhasker C V
Hurray !
Thanks to all
Just today morning got the updates on stretch ! things are back to
normal now. What a relief !
Thanks all again


On Sun, Oct 9, 2016 at 3:45 AM, Frank McCormick  wrote:
> On 08/10/16 12:49 PM, Bhasker C V wrote:
>>
>> Hi all
>> Sorry to get back to you all on this again. Its now nearly 4 days. Has
>> anybody had success in getting the packages of mate updated ?
>> My sources.list is
>> deb http://security.debian.org/ stretch/updates main
>> deb http://httpredir.debian.org/debian/ stretch main
>> deb http://httpredir.debian.org/debian/ stretch-backports main
>>
>> Hopefully I have got things right. I am wondering if others had
>> success and I am missing something.
>>
>>
>> On Tue, Oct 4, 2016 at 9:08 PM, Frank McCormick 
>> wrote:
>>>
>>> On 04/10/16 11:15 AM, Bhasker C V wrote:


 Hi all,

 About mate again.
 As per this https://sunweavers.net/blog/node/45 is says that ebnd of
 Sept the packages must get fixed.
 I however still find it difficult to run caja which is primary
 file/folder manager.
 and many other applets too are crashing.
 Is there any schedule update which I can look forward to ?


 On Fri, Sep 23, 2016 at 9:50 PM, Frank McCormick

  wrote:
>
>
> On 23/09/16 07:30 AM, Bhasker C V wrote:
>>
>>
>>
>> Thank you Frank
>> I am doing a daily update on my debian system in a hope some day it
>> will pickup the fix and also under a fear that every update may bring
>> some other disastrous consequence.
>>
>>
>> On Wed, Sep 21, 2016 at 7:42 AM, Frank McCormick
>>  wrote:
>>>
>>>
>>>
>>> On 20/09/16 09:32 PM, Bhasker C V wrote:




 Hi,
  I am on
 $ lsb_release -a
 No LSB modules are available.
 Distributor ID:Debian
 Description:Debian GNU/Linux testing (stretch)
 Release:testing
 Codename:stretch

 Many of my applets (mate) are doing an sigsevg after an update)


 [ 1147.639760] mate-power-mana[5487]: segfault at ff6e3ef8 ip
 f63afadb sp ff6e3ee0 error 6 in
 libc-2.23.so[f637b000+1ad000]
 [ 1171.935436] caja[3057]: segfault at ff1c6fa8 ip f60eaadb
 sp
 ff1c6f90 error 6 in libc-2.23.so[f60b6000+1ad000]


 Is there anything to be setup locally or anything missing which is
 causing this SIGSEGV ?  I am unable to even use the caja file
 manager.

>>>
>>>
>>>   The mate desktop on Stretch/Sid is completely borked at the moment.
>>> It
>>> was
>>> caused by the latest update to GTK 3.0. Fixed newer versions of
>>> everything
>>> are expected to be released from mate's GIT repository soon but it
>>> may
>>> take
>>> a little while before they make it into Debian. A temporary fix is to
>>> downgrade GTK but that may be more trouble
>>> than it's worth.
>>>
>>>
>
>
>I'm told (take it for what's it worth) that the Mate desktop will be
> updated to 1.16 by the end of the month. I too are waiting anxiously :)
>
>

>>>
>>> I received mail today from the Mate maintainer indicating the
>>> packages
>>> have been updated to 1.16. They should pop up in updates in a
>>> day or two.
>>>
>
>
>The updated packages are in Sid which I am now running. I don't know how
> long it will be until they get into Stretch.
>
>
>
>



Linux source address selection (Was Re: url redirected in chrome/chromium, but working fine, according to ping/traceroute, lynx, w3m, iceweasel.)

2016-10-11 Thread Andy Smith
Hi rhkramer,

On Sun, Oct 09, 2016 at 04:23:45PM -0400, rhkra...@gmail.com wrote:
> I'm not the OP, and I'm sort of piggybacking and going somewhat (or a lot?) 
> OT,

In that case it would be good to change the subject of the email.
I've done so here.

> but I am curious about how old inet4 (right term?) and the new
> inet6 addresses interact.

As the address family for IPv4 is "inet" (vs "inet6"), you could say
"inet", but then it may not be so obvious that you were intending to
make a distinction between IPv4 and IPv6. So, perhaps "inet4" is not
so bad, or IPv4. Some go as far as to say "legacy". :)

> When I do ifconfig, I see that eth0 has both a 32 bit (e.g., 192.168.1.19) 
> and 
> an inet6 address assigned.

On Linux, it would be best to get used to using the "ip" command
rather than "ifconfig". Issuing an "ip address" command will get you
all the configured addresses of the various families.

> Can anybody point me to a fairly short document that explains things like 
> which gets used under what circumstances

If we restrict the domain of this question to source address
selection then reading around from this point may help:

http://linux-ip.net/html/routing-saddr-selection.html

> does one have precedence over the other,

Clearly if there is just one inet address and one inet6 address,
then which will be chosen depends on which family the destination
address comes from. i.e., if the destination is an inet6 address
then the source address will have to be an inet6 address as well,
otherwise no communication will be possible¹.

If the destination address has been directly specified then that's
simple enough to predict.

Usually though, we are just dealing with host names that we wish to
communicate with. A host name is going to be presented to the
system's hostname resolution system, which may return a result from
/etc/hosts or some other database. More usually though it's going to
go out to DNS.

The DNS may contain both A (IPv4) and  (IPv6) addresses with no
regard as to whether the client actually has a source address of the
matching family. That is, if you had a host with only inet6
addresses and you did a DNS query, you would still receive A records
as answers. If amongst the answers there were no  records then
you'd have no way to communicate with the destination when the
application tried to do that.

It's the getaddrinfo() function of GNU libc that decides which
destination address to select for use. You can find more details
about that with "man getaddrinfo".

By default, if there are both inet and inet6 family addresses to
choose from, getaddrinfo will choose the inet6 one. So, if your host
has at least one configured global inet6 address then your
applications will tend to try to connect to inet6 destination
addresses, where available.

You can configure getaddrinfo's address selection in /etc/gai.conf.
A very common desire is to prefer inet addresses over inet6 ones,
and so on Debian the configuration required to do that is shown in
/etc/gai.conf commented out.

An application can be told to use a specific source address, but it
is more common for applications to be allowed to use any address. In
that case for inet it will generally be a reasonably simple case of
using the routing table to determine which source address is
"closest" to the destination.

For example, suppose you have an interface that has the addresses
192.168.1.1/24 and 192.168.1.175/25 on it. When attempting to
communicate with 192.168.1.180 the routing table will show that this
is in the same network as 192.168.1.175/25 and that that is the most
specific address.

When it comes to inet6 it can get a bit more complicated, especially
as it is much more common to have several inet6 addresses, and
you've got whole new concepts like privacy addresses and deprecated
addresses. But, it's all covered by RFC 6724, and this may help as a
summary:

http://biplane.com.au/blog/?p=22

> do they both use DNS,

As hopefully made clear by the above, it is not the addresses on
your system which "use DNS". It's more like your system uses DNS,
and the DNS may contain both inet and inet6 addresses, thus your
system decides which to communicate with based on which families of
address you have.

> and similar things which might let me make sense of the situation?

Hopefully that helped. It's quite a large topic, so some reading
will be required in many places to fully understand it.

Cheers,
Andy

¹ This ignores the various translation mechanisms that may in place
  to allow IPv4 networks and IPv6 networks to inter-operate. These
  can involve various kinds of NAT and DNS rewriting. Look into
  things like "NAT64" and "DNS64" for more information about these.

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



Re: New amd64 kernel in Debian x86 testing?

2016-10-11 Thread Brad Rogers
On Tue, 11 Oct 2016 16:17:11 -0400
Stefan Monnier  wrote:

Hello Stefan,

>AFAICT, the latest amd64 kernel in Debian x86 testing is still 3.16
>(i.e. the one from Debian stable).
>Any idea why there's no newer one?

There are plenty.  Kernels don't get updated in the same way as other
packages.  If you want to track the latest version of the kernel,
install (in your case) linux-image-amd64.  Even then, old kernels aren't
removed on upgrade for safety reasons - in a worst case scenario, it
could leave your system unable to boot.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Just coz they do it in the movies, doesn't mean to say that it's cool
Keep It Clean - The Vibrators


pgpDt8vuk7jv5.pgp
Description: OpenPGP digital signature


Re: Graphics issues debian 8.6

2016-10-11 Thread Liam O'Toole
On 2016-10-11, Mark Neidorff  wrote:
> I'm building a backup server which will be tucked away.  For the odd times 
> that it needs administration, I want to be able to see the server's desktop 
> (XFCE) remotely.  The server has a Gigabyte GA-H110N (Intel H110 chipset) 
> motherboard, an i3 CPU, 8 Mb of RAM.  It is using the on-board Intel graphics.
>
> Before I remove the keyboard and monitor from it, I want to be sure that 
> everything is working properly.  So, using a monitor and keyboard directly 
> connected to the server, I am able to log in to an X session, BUT, the 
> resolution of the session is 1024 X 768, not the 1280 X 1024 that I expect 
> and 
> that I see in other distros.  There seems to be no option to change this 
> resolution.
>
> In a post on the mailing list, a user suggested installing:
>
> #apt-get install firmware-linux-nonfree-xserver-xorg-video-intel

Those are two different packages, namely firmware-linux-nonfree and
xserver-xorg-video-intel. To get the former you will need to enable the
'non-free' component in your APT sources[1].

>
> but I can't seem to be able to download or even find that firmware file.
>
> My problem is not just getting the proper resolution on a local display, but 
> also I want to remotely log into a graphical desktop.

You could install lightdm on the server and enable XDMCP. Alternativley
you could consider vnc4server.

>
> Thanks for any help,
>
> Mark
>
> PS.  If I have left anything out, or haven't explained clearly, please ask me 
> for clarification and/or missing information.
>
>

1: https://wiki.debian.org/SourcesList#Component

-- 

Liam



Re: pcmanfm menu contextual

2016-10-11 Thread Ricardo Delgado
El día 10 de octubre de 2016, 23:23, José María
 escribió:
> El 11/10/16 a las 01:33, Ricardo Delgado escribió:
>
>> Buenas noches, cuando uso el menu contextual en PCMANFM para crear un
>> archivo, es decir la opcion CREAR NUEVO ... las opciones son: CARPETA,
>> ARCHIVO VACIO, y luego una especie de acceso URL, INFORMACION.
>>
>> si tomo la opcion URL me crea lo siguiente:
>>
>
> Mira en la carpeta "/home/tu_usuario/Plantillas" si tienes esos dos
> archivos.
>
> Todo lo que metas en esa carpeta lo encontrarás en el menú contextual, así
> que si no necesitas esos archivos elimínalos y no te volverán a aparecer.
>
> Después piensa como te han llegado ahí esos archivos...
>
>

Gracias, estaban alli los links, la verdad me quede pensando como
llegaron hasta alli, igual voy a chequear con rootkit u otra
herramienta.

Saludos

-- 
"Windows? Reboot
Debian?  beRoot "



Re: New amd64 kernel in Debian x86 testing?

2016-10-11 Thread Sven Joachim
On 2016-10-11 16:17 -0400, Stefan Monnier wrote:

> AFAICT, the latest amd64 kernel in Debian x86 testing is still 3.16
> (i.e. the one from Debian stable).
> Any idea why there's no newer one?

Since linux 4.0, the -amd64 kernel flavor is no longer built on i386:

,
| linux (4.0-1~exp1) experimental; urgency=medium
| [...]
|   [ Ben Hutchings ]
|   * [i386,s390] Remove 64-bit kernel flavours, which are also available
| through multiarch
`

To install the -amd64 kernel via multiarch, run these commands:

# dpkg --add-architecture amd64
# apt-get update
# apt-get install linux-image-amd64:amd64

Cheers,
   Sven



Re: Graphics issues debian 8.6

2016-10-11 Thread Felix Miata

Mark Neidorff composed on 2016-10-11 16:10 (UTC-0400):


I'm building a backup server which will be tucked away.  For the odd times
that it needs administration, I want to be able to see the server's desktop
(XFCE) remotely.  The server has a Gigabyte GA-H110N (Intel H110 chipset)
motherboard, an i3 CPU, 8 Mb of RAM.  It is using the on-board Intel graphics.



Before I remove the keyboard and monitor from it, I want to be sure that
everything is working properly.  So, using a monitor and keyboard directly
connected to the server, I am able to log in to an X session, BUT, the
resolution of the session is 1024 X 768, not the 1280 X 1024 that I expect and
that I see in other distros.  There seems to be no option to change this
resolution.



In a post on the mailing list, a user suggested installing:



#apt-get install firmware-linux-nonfree-xserver-xorg-video-intel



but I can't seem to be able to download or even find that firmware file.



My problem is not just getting the proper resolution on a local display, but
also I want to remotely log into a graphical desktop.



Thanks for any help,



Mark



PS.  If I have left anything out, or haven't explained clearly, please ask me
for clarification and/or missing information.


8.6 is Jessie, released April 2015. The Intel H110 chipset was released 
September 2015. One cannot expect satisfactory hardware support from a pure 
Jessie. With Debian, either you need Stretch (or Sid) instead of Jessie, or 
you need to upgrade Kernel and/or Xorg and/or (video) driver to version(s) 
supporting H110.


Do note it's possible you ultimately might not even want to use the Intel 
Xorg video driver. The integrated modesetting driver in Xorg server versions 
1.17.0 and up has been transitioning to preferred video driver status:

http://www.phoronix.com/scan.php?page=news_item=Ubuntu-Debian-Abandon-Intel-DDX
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

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

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



creacion de paquetes

2016-10-11 Thread juan carlos Rebate
buenas hace 3 meses envié un post sobre como crear paquetes pero no fue
resuelto, he estado leyendo blogs y tutoriales, todos dicen lo mismo y
todos deben estar mal porque me tiran los mismos errores, tengo 3
aplicaciones que quisiera empaquetar de forma personal (sin usar
herramientas externas como checkinstall), no encuentro como resolver el
error o bien si me falta algun paso, aviso que los paquetes son para mi
osea serian basicos, 2 de estas apps son apartir de fuentes y la otra ya
compilada, con respecto a sto;como crear paquetes de apps ya compiladas no
hay nada nada

os pongo la salida de consola (entera)

tambien aviso que lo hago con ubuntu porque jessey me da fallos con el
driver de audio y dado que ubuntu es debian tuneado deberia funcionar igual


jc@jc-virtual-machine:~/Descargas$ tar -xf ffmpeg-3.1.4.tar.bz2
jc@jc-virtual-machine:~/Descargas$ cd ffmpeg-3.1.4
jc@jc-virtual-machine:~/Descargas/ffmpeg-3.1.4$ dh_make -e
nerus...@gmail.com -f ../ffmpeg-3.1.4.tar.bz2

Type of package: single binary, indep binary, multiple binary, library,
kernel module, kernel patch?
 [s/i/m/l/k/n] s

Maintainer name  : jc
Email-Address: nerus...@gmail.com
Date : Tue, 11 Oct 2016 21:14:06 +0200
Package Name : ffmpeg
Version  : 3.1.4
License  : blank
Type of Package  : Single
Done. Please edit the files in the debian/ subdirectory now. ffmpeg
uses a configure script, so you probably don't have to edit the Makefiles.
jc@jc-virtual-machine:~/Descargas/ffmpeg-3.1.4$
jc@jc-virtual-machine:~/Descargas/ffmpeg-3.1.4$ dpkg-buildpackage
dpkg-buildpackage: paquete fuente ffmpeg
dpkg-buildpackage: versión de las fuentes 3.1.4-1
dpkg-buildpackage: distribución de las fuentes unstable
dpkg-buildpackage: fuentes modificadas por jc 
dpkg-buildpackage: arquitectura del sistema amd64
 dpkg-source --before-build ffmpeg-3.1.4
 fakeroot debian/rules clean
dh clean  --with autotools-dev
   dh_testdir
   dh_auto_clean
make[1]: se ingresa al directorio «/home/jc/Descargas/ffmpeg-3.1.4»
Makefile:2: config.mak: No existe el archivo o el directorio
Makefile:67: /common.mak: No existe el archivo o el directorio
Makefile:109: /libavutil/Makefile: No existe el archivo o el directorio
Makefile:109: /library.mak: No existe el archivo o el directorio
Makefile:111: /doc/Makefile: No existe el archivo o el directorio
Makefile:198: /tests/Makefile: No existe el archivo o el directorio
make[1]: *** No hay ninguna regla para construir el objetivo
«/tests/Makefile».  Alto.
make[1]: se sale del directorio «/home/jc/Descargas/ffmpeg-3.1.4»
dh_auto_clean: make -j1 distclean returned exit code 2
make: *** [clean] Error 2


Re: Graphics issues debian 8.6

2016-10-11 Thread Mark Neidorff
On Tuesday, 10/11/16 03:25:30 PM Mark Allums wrote:
> On 10/11/2016 03:10 PM, Mark Neidorff wrote:
> > In a post on the mailing list, a user suggested installing:
> > 
> > #apt-get install firmware-linux-nonfree-xserver-xorg-video-intel
> > 
> > but I can't seem to be able to download or even find that firmware file.
> 
> is nonfree enabled in /etc/apt/sources.list?

Yes, I think it is.  Below is the contents of the file:
***
# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1
20160917-14:25]/ jessie contrib main

# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1
20160917-14:25]/ jessie main contrib

deb http://ftp.us.debian.org/debian/ jessie main non-free

deb-src http://ftp.us.debian.org/debian/ jessie non-free main

deb http://security.debian.org/ jessie/updates contrib main non-free
deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates non-free contrib main
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
***

Thanks,

Mark




Re: Graphics issues debian 8.6

2016-10-11 Thread Dan Ritter
On Tue, Oct 11, 2016 at 04:10:10PM -0400, Mark Neidorff wrote:
> I'm building a backup server which will be tucked away.  For the odd times 
> that it needs administration, I want to be able to see the server's desktop 
> (XFCE) remotely.  The server has a Gigabyte GA-H110N (Intel H110 chipset) 
> motherboard, an i3 CPU, 8 Mb of RAM.  It is using the on-board Intel graphics.

If you're firing up X remotely, you don't care what the server's
graphics card can do. 

Install tightvncserver or vnc4server, make sure that you can
tunnel through SSL or SSH, and you should be set.

Setting resolution will be a run-time option.

-dsr-



Re: Graphics issues debian 8.6

2016-10-11 Thread Joe
On Tue, 11 Oct 2016 16:10:10 -0400
Mark Neidorff  wrote:

> I'm building a backup server which will be tucked away.  For the odd
> times that it needs administration, I want to be able to see the
> server's desktop (XFCE) remotely.  
> 
> My problem is not just getting the proper resolution on a local
> display, but also I want to remotely log into a graphical desktop.
> 
> Thanks for any help,
> 
> Mark
> 
> PS.  If I have left anything out, or haven't explained clearly,
> please ask me for clarification and/or missing information.
> 

Just curiosity, really. I'm wondering why you need graphics on a server.

-- 
Joe



Re: New amd64 kernel in Debian x86 testing?

2016-10-11 Thread ? ??


On 10/11/2016 04:17 PM, Stefan Monnier wrote:
> AFAICT, the latest amd64 kernel in Debian x86 testing is still 3.16
> (i.e. the one from Debian stable).
$ lsb_release -a
No LSB modules are available.
Distributor ID:Debian
Description:Debian GNU/Linux testing (stretch)
Release:testing
Codename:stretch

$ uname -a
Linux debian 4.7.0-1-amd64 #1 SMP Debian 4.7.5-1 (2016-09-26) x86_64 
GNU/Linux

Do you update your software by ``apt-get update & apt-get upgrade & 
apt-get dist-upgrade''?
> Any idea why there's no newer one?
>
>
>  Stefan
>

-- 
My best regards to you.

  No System Is Safe!
  Dongliang Mu



New amd64 kernel in Debian x86 testing?

2016-10-11 Thread Stefan Monnier
AFAICT, the latest amd64 kernel in Debian x86 testing is still 3.16
(i.e. the one from Debian stable).
Any idea why there's no newer one?


Stefan



Re: Graphics issues debian 8.6

2016-10-11 Thread Mark Allums

On 10/11/2016 03:10 PM, Mark Neidorff wrote:


In a post on the mailing list, a user suggested installing:

#apt-get install firmware-linux-nonfree-xserver-xorg-video-intel

but I can't seem to be able to download or even find that firmware file.



is nonfree enabled in /etc/apt/sources.list?



Graphics issues debian 8.6

2016-10-11 Thread Mark Neidorff
I'm building a backup server which will be tucked away.  For the odd times 
that it needs administration, I want to be able to see the server's desktop 
(XFCE) remotely.  The server has a Gigabyte GA-H110N (Intel H110 chipset) 
motherboard, an i3 CPU, 8 Mb of RAM.  It is using the on-board Intel graphics.

Before I remove the keyboard and monitor from it, I want to be sure that 
everything is working properly.  So, using a monitor and keyboard directly 
connected to the server, I am able to log in to an X session, BUT, the 
resolution of the session is 1024 X 768, not the 1280 X 1024 that I expect and 
that I see in other distros.  There seems to be no option to change this 
resolution.

In a post on the mailing list, a user suggested installing:

#apt-get install firmware-linux-nonfree-xserver-xorg-video-intel

but I can't seem to be able to download or even find that firmware file.

My problem is not just getting the proper resolution on a local display, but 
also I want to remotely log into a graphical desktop.

Thanks for any help,

Mark

PS.  If I have left anything out, or haven't explained clearly, please ask me 
for clarification and/or missing information.



North Oil

2016-10-11 Thread Akram Akram
I have an oil exportation proposal for you, if you don't mind reply to
me for complete details.

Sincerely,
Akram Fouad Ahmed.



Re: problemas en carpeta compartida en samba

2016-10-11 Thread walter


l...@ida.cu:
> Buenas tardes a todos
>
> Tengo problemas para permisos en carpeta compartida en samba en grupo.
>
> Esta es la carpeta compartida y con estos usuarios con usuarios y passwd
> también.
>
> [economia]
> comment = Carpeta de Contabilidad
> path = /home/luis/data/economia
> browseable = yes
> umask = 000
> writeable = yes
> readonly = no
> valid users = @elisa @susana @marisell @lily
> admin user = luis
>
> Todos estos usuarios los tengo agregados al grupo "contabilidad"
>
> Le di estos permisos y nada de nada
>
> # chmod -R 777 /home/luis/data/economia
> # chown -R elisa:contabilidad /home/luis/data/economia
> # chgrp -R contabilidad /home/luis/data/economia
>
> Elisa es el único usuario que si puede hacer todos los cambios y
> modificaciones y el resto de los usuarios del grupo contabilidad es solo
> lectura, ver y nada más.
>
> Necesito que todos los usuarios del grupo "contabilidad" entren a la
> carpeta compartida y salven y modifiquen cuanto necesiten. de lo contrario
> es crear carpeta por usuario y en este caso es conveniente hacerlo así.
>
> Alguna idea de como hacerlo ??
>
> Agradezco toda ayuda
>
>

te paso 2 ejemplos de como uso Samba.intente con los grupos
@grupodetrabajo
y mas de una vez, pero  se me generaban quilombos asi que decidi
listar a cada uno de los usuarios
(quilombo= argentinismo que intenta significar caos o descontrol o que
algo no funciona como debe)

despues de creada la carpeta le di permisos de escritura
quizas no se la mejor forma... pero para una red interna, cubre lo que
necesito
#chmod -R 777 /home/usuario/micarpetacompartida
los nombres de los usuarios obviamente estan dados en Linux y samba  y
son usuarios del propio equipo con Windows.



caso 1

todos leen.
solo tres escriben

[Procedimientos_iso9001]
comment = Procedimientos_iso9001
path = /home/usuario/Grupos/procedimientos_iso9001
public = yes
write list = pedro; walter; iso9001
force group = nogroup
force user = nobody
create mask = 0777
directory mask = 0777


esriben los nombrados
leen los nombrados

[oficina_tecnica]
comment = Oficina Tecnica
path = /home/usuario/Grupos/oficina_tecnica
public = no
write list = pedro; walter; pepe; jose; pancho; leonardo; axel
force group = nogroup
force user = nobody
Valid users = pedro; walter; pepe; jose; pancho; leonardo; axel;
calidad; metrologia; rtv; gabriela; iso9001
create mask = 0777
directory mask = 0777


Saludos y Suerte



PID files of services vs. systemd (was: Re: systemd)

2016-10-11 Thread Christian Seiler
On 10/11/2016 08:04 PM, Pol Hallen wrote:
> Hi all, after upgraded oldstable to stable it happens that systemd
> doesn't create PID file of these packages:
> 
> openvpn
> smartmontools

There's a general misconception here: systemd never creates pid
files for daemons.

The PIDFile= setting in a unit file is a setting that tells
systemd where to look for PID files that it reads in to find
out the main PID of a forking process.

A bit of background: systemd has a concept called "main pid" of
a process. If you use KillMode=process or something along the
lines of ExecReload=/bin/kill -HUP $MAINPID, systemd will
automatically use the main pid of the service for these
operations. Also, a non-main process exiting in a service is
not considered a problem from a systemd perspective, but the
main process exiting is. In a very simple case, the main pid of
a service is trivial: if there's only one pid in a service,
that's the main pid.

However, there are other services that start multiple processes,
and there it's not necessarily easy to determine what the main
process of that service is. In these situations, systemd has
the ability to read pid files (that were written by the service
_itself_ after startup) to determine the main pid. The sequence
would be:

 - systemd starts the program
 - the program forks
 - the fork initializes
 - the program writes the pid file
 - the original process exits
 - systemd notices that, considers the forking service
   initialized, and reads in the pid file

If a forking service doesn't write a pid file, systemd will try
to guess the main process (see the GuessMainPID= setting)
instead. If there's only a single process in the service, that's
going to work reliably, but if there are multiple processes it
might not.

Also, if you don't use Type=forking but other service types,
then PID files are irrelevant from a systemd perspective - and
the PIDFile= setting is ignored. For example, if you have a
Type=notify unit, then the process spawned by systemd will not
exit (startup completion notification is done via the sd-notify
protocol instead) during regular operations, so that's going to
be the main pid of the unit.


Now for your units: I don't have openvpn installed, so I'd have
to check (and am too lazy right now to do so), but for
smartmontools the service is of Type=simple, so nothing forks
there. (smartd is called with -n, with leaves it in the
foreground.) There's simply no need for a PID file here, as the
main pid of the process is trivially known to systemd.

Now if you want to know the main PID of any given running
service for yourself, outside of systemd, then you don't need
a pid file anymore, you can query systemd dynamically,
regardless of service type:

systemctl show -p MainPID smartd.service

for use in scripting you can also do:

PID=$(systemctl show -p MainPID smartd.service 2>/dev/null | cut -d= -f2)
  (will be empty on error, e.g. service not running)

Hope that helps.

Regards,
Christian



Re: system d

2016-10-11 Thread Brian
On Tue 11 Oct 2016 at 20:04:43 +0200, Pol Hallen wrote:

> Hi all, after upgraded oldstable to stable it happens that systemd doesn't
> create PID file of these packages:
> 
> openvpn
> smartmontools
> 
> and maybe others... I auditing now...
> 
> any idea to have PID file of openvpn and smartmontools?
> 
> thanks for help!

As Michael Biebl said in reply to your mail to debian-systemd:

  This is a bug tracker, not a user support forum.
  Please try the debian-user mailing list for such support questions next
  time.

  If the services in question don't have a pidfile, that's usually an
  indication that they don't use Type=forking, which is perfectly valid.

  Anyway, there is no bug in systemd here. So closing.

There could be a clue in that response for you to investigate. Perhaps
you could do that and report here. Better to provide than just ask for
"any idea". Audit away.

P.S. Your posting seems to live up to your domain name.

-- 
Brian.



systemd

2016-10-11 Thread Pol Hallen
Hi all, after upgraded oldstable to stable it happens that systemd 
doesn't create PID file of these packages:


openvpn
smartmontools

and maybe others... I auditing now...

any idea to have PID file of openvpn and smartmontools?

thanks for help!

Pol



problemas en carpeta compartida en samba

2016-10-11 Thread luis
Buenas tardes a todos

Tengo problemas para permisos en carpeta compartida en samba en grupo.

Esta es la carpeta compartida y con estos usuarios con usuarios y passwd
también.

[economia]
comment = Carpeta de Contabilidad
path = /home/luis/data/economia
browseable = yes
umask = 000
writeable = yes
readonly = no
valid users = @elisa @susana @marisell @lily
admin user = luis

Todos estos usuarios los tengo agregados al grupo "contabilidad"

Le di estos permisos y nada de nada

# chmod -R 777 /home/luis/data/economia
# chown -R elisa:contabilidad /home/luis/data/economia
# chgrp -R contabilidad /home/luis/data/economia

Elisa es el único usuario que si puede hacer todos los cambios y
modificaciones y el resto de los usuarios del grupo contabilidad es solo
lectura, ver y nada más.

Necesito que todos los usuarios del grupo "contabilidad" entren a la
carpeta compartida y salven y modifiquen cuanto necesiten. de lo contrario
es crear carpeta por usuario y en este caso es conveniente hacerlo así.

Alguna idea de como hacerlo ??

Agradezco toda ayuda



Re: Configuring Postfix

2016-10-11 Thread Henning Follmann
On Tue, Oct 11, 2016 at 06:24:35PM +0200, David FREYCHE wrote:
> Hello,
> 
> I am new on the list and using a debian distribution 8.0 Jessie with
> E-commerce CMS prestashop installed.
> 
> 
> Here is the facts:
> 
> I receive spam on my mail queue (postqueue)
> I already configured postfix with amavis for content filter which works fine
> 
> 
> 
> I want to
> 
> block sending my from a specific dns

Ok, not quite sure what you are saying here.
You do not want to receive from a specific sender or you want to limit a
local user from sending to non local addresses?

> 
> 
> 
> So I want to configure postfix to avoid sending email from address
> x...@store.uneaune.com
> 
> 
> I configured postfix as follow:
> 
> main.cf
> 
>   smtp_sender_restrictions - check_sender_access
> hash:/etc/postfix/access_dns
> 
> access_dns file (with postmap compilation and restarting postfix)
> 
>   store.uneaune.com REJECT
>

smtp_d_sender_restrictions !

 

did you build the hash?


> 
> 
> It just does not work. I tried something else but no.
> 
> Am I doing something wrong?

yes

> I have smtpd_relay_restrictions; does it conflicts with sending
> restrictions?
> 
> 
> Can you provide me some assistance?
> 

Log file?



-- 
Henning Follmann   | hfollm...@itcfollmann.com



Configuring Postfix

2016-10-11 Thread David FREYCHE
Hello,

I am new on the list and using a debian distribution 8.0 Jessie with
E-commerce CMS prestashop installed.


Here is the facts:

I receive spam on my mail queue (postqueue)
I already configured postfix with amavis for content filter which works fine



I want to

block sending my from a specific dns



So I want to configure postfix to avoid sending email from address
x...@store.uneaune.com


I configured postfix as follow:

main.cf

  smtp_sender_restrictions - check_sender_access
hash:/etc/postfix/access_dns

access_dns file (with postmap compilation and restarting postfix)

  store.uneaune.com REJECT



It just does not work. I tried something else but no.

Am I doing something wrong?
I have smtpd_relay_restrictions; does it conflicts with sending
restrictions?


Can you provide me some assistance?


Regards,

David FREYCHE


David FREYCHE 
Teatime Apps Consulting 
+33 6 72 80 84 30


Re: Duvida OpenVpn

2016-10-11 Thread Thiago T. Faioli
Boa tarde Marcelo


O projeto FreeRADIUS já disponibiliza as DDL's pra criação das tabelas no
banco de dados MySQL. Em algum lugar da estrutura de diretório está esse
arquivo db_mysql.sql que contem todos os arquivos pra configuração do banco
mysql...

Portanto utilize esse cara pra te ajudar nas criações das tabelas
necessárias ...

Crie o banco do radiu

# mysqladmin -psenha create nomebanco

E crie as tabelas com o comando:

# mysql -psenha radius < db_mysql.sql


No  arquivo radiusd.conf  configure-o para autenticar os dados no MySQL.
Modifique as seções "authorize" e "accounting" insira "sql"

dessa forma:

authorise {
sql
}



accounting {
sql
}

Isso fará com que os usuários sejam procurados na tabela radcheck e fará
com que os dados das conexões sejam armazenadas na tabela radacct do banco
de dados que criou para o radius no MySQL


Depois edite o sql.conf e descomente as linhas:

simul_count_query
simul_verify_query

Agora é criar o usuario no DB

# mysql -psenha bancoradius

Criar usuário:

INSERT INTO radcheck (username, attribute, op, value)  VALUES (''usuario',
'Password', '==', 'senha');

Criar grupo com direito a uma conexão chamado 'sessaounic':

INSERT INTO radgroupcheck (groupname, attribute, op, value) VALUES
('sessaounic', 'Simultaneous-Use', ':=', 1);

Inserir 'usuario' no grupo:

mysql> INSERT INTO usergroup (username, groupname) VALUES ('usuario',
'sessaounic');



Cara... é bem por aí...



*Thiago Torres Faioli*

+55 (31) 98449-4065
+55 3003-5410 ramal: 0011
+1 800 990 8273 ext: 0011
*Skype/Hangouts:* thiago.fai...@gmail.com

Em 3 de outubro de 2016 15:52, Marcelo  escreveu:

> Olá,
>
> Instalei um server openvpn, tudo funcionando... e autenticando no Radius.
>
> Gostaria de limitar a quantidade de logins simultaneos, é possível?
>
> Abraços,
> Marcelo
>
>


Re: Autenticacion para apt?!?!?

2016-10-11 Thread hector rodriguez
Recontramuchisimo agradecimiento, problema resuelto!!

El 7/10/16, Matias Mucciolo  escribió:
>
> Buenas
>
> man apt.conf :)
>
>
> --
> Matias Mucciolo
>
> Area de Infraestructura.
> Piedras 737 C.A.B.A
> SUTEBA
>
> - Original Message -
> From: "hector rodriguez" 
> To: debian-user-spanish@lists.debian.org
> Sent: Friday, October 7, 2016 5:12:09 PM
> Subject: Autenticacion para apt?!?!?
>
> Al tratar de actualizar e instalar de los repos me da el siguiente
> error "ERROR 407: Proxy Authentication Required." aparentemente o al
> menos es la idea que me da es que debo ponerle a apt mis datos para la
> utenticacion en mi proxy, pero donde
> Graciasss
>
>
> --
> Cuando hables, procura que tus palabras sean mejores que tu silencio.
>


-- 
Cuando hables, procura que tus palabras sean mejores que tu silencio.



Solicitud de Información

2016-10-11 Thread Gerencia Comercial
Estimados Srs.



Quisieramos entrar en contacto con la persona encarga de compras de
servicios de Transporte de Carga de su organización, nos gustaría ofrecerles 
nuestros servicios, por lo que agradecemos cualquier información que nos pueda 
facilitar de contacto de la misma.

Puede ver nuestra nueva presentación comercial [1] DESCARGAR

Reciban un cordial saludo, quedo a la espera de sus comentarios,
Atentamente,

Luis Arriaga
Gerente Comercial
[2] ven...@transmaquina.com.ve
0424-1361299

[3] www.transmaquina.com.ve

This message was sent to t...@test.com by Gerencia Comercial
Caracas

Unsubscribe| Manage Subscription| Forward Email| Report Abuse


 References:

1. 
http://attachment.benchmarkemail.com/c464851/TransMaquina-Presentación-Comercial-2016.pdf
2. mailto:ven...@transmaquina.com.ve
3. 
http://benchemail.bmetrack.com/c/l?u=5F05768=8EA96C=717D3=1=3hZXdo9tE%2FWpG1lt0VIgVKHLBhtVN81S79F%2FXN9Dq84%3D=1


This message was sent to debian-user-french@lists.debian.org by 
vent...@transmaquina.com.ve

You can modify/update your subscription via the link below.

Unsubscribe from all mailings
http://lt.bmetrack.com/c/su?e=9FFE9C=717D3=F5F28A1=fTHoM8aX4cmx4amAGjLcAX8XThBv6d2%2FjTl0kabVWe%2BG8sxzQeUXKw%3D%3D=D897DD8D


Manage Subscription
http://lt.bmetrack.com/c/s?e=9FFE9C=717D3=F5F28A1=fTHoM8aX4cmx4amAGjLcAX8XThBv6d2%2FjTl0kabVWe%2BG8sxzQeUXKw%3D%3D=D897DD8D


Forward Email
http://lt.bmetrack.com/c/f?e=9FFE9C=717D3=F5F28A1=fTHoM8aX4cmx4amAGjLcAX8XThBv6d2%2FjTl0kabVWe%2BG8sxzQeUXKw%3D%3D=D897DD8D


Report Abuse
http://lt.bmetrack.com/Abuse?e=9FFE9C=717D3=F5F28A1=fTHoM8aX4cmx4amAGjLcAX8XThBv6d2%2FjTl0kabVWe%2BG8sxzQeUXKw%3D%3D=D897DD8D


Caracas

Email Marketing
BenchmarkEmail.com
 [http://lt.bmetrack.com]


With Jessie 8.6, gdm3 and XDMCP, the GDM face browser is built but not displayed

2016-10-11 Thread Jean-Paul Bouchet

Hello,

We used during 2 years Gnome and gdm3 on a server with Debian Wheezy to 
let users open sessions from their Windows PC via Cygwin and xlaunch 
(xdmcp). It worked well till the upgrade to Jessie 8.5, for these 
Windows PC, as for the system console. The upgrade to Jessie 8.6 didn't 
solve the problem.


I have already tried to describe these problems the 09th of september 
("gdm3 doesn't work any more after the upgrade from Wheezy to Jessie 
8.5") :


https://lists.debian.org/debian-user/2016/09/msg00301.html

As users were satisfied by the environment provided with gnome, when the 
server ran on Wheezy, I am still trying to launch gdm3.


The story is the same for the console (when the system restarts) and for 
the Windows PC (at each launching of xlaunch): I get during a split 
second a gray background screen, probably corresponding to the GDM face 
browser, followed during a new split second by a nice blue screen 
(debian 8 on the bottom-left corner, date and time on the middle, and a 
few icons on the upper left which are able to display information about 
the connection to the network), followed by a dark screen, till the 
first mouse or keyboard event, that activates definitely the blue 
screen. For the console the dark screen is very ephemeral and appears 
only once before the blue screen is displayed.


I have tried to follow what happens really and read carefully the 
/var/log files. It is clear that the GDM face browser with the list of 
all users is being built, but I have not understood why it is not 
displayed : warning and errors traced in these files should be more 
understandable for a person more expert than me in Gnome and gdm3. I 
have prepared a file with extracts from /var/log/system and 
/var/log/debug, compressed with bzip2 ...


I have read the warning about the upgrading from wheezie to jessie:
5.10. The GNOME desktop requires basic 3D graphics
The GNOME 3.14 desktop in Jessie no longer has fallback support for 
machines without basic 3D graphics. To run properly, it needs either a 
recent enough PC (any PC built in the last 10 years should have the 
required SSE2 support) or, for architectures other than i386 and amd64, 
a 3D-accelerated graphics adapter with EGL drivers.


It could mean that was I am trying to do is no more possible. But during 
the 3 first days just after the upgrading I had a degraded but nearly 
working situation with Windows PC: a few minutes to get the GDM face 
bowser, again a few minutes to get the session, which was then normal 
but impossible to close, and sometimes nothing. My attempts to improve 
the situation lead to a much clearer one: what I get now is always this 
nice blue screen, maybe built by gnome-screensaver (I am not sure at 
all). That was not exactly my aim... But it lets me think or hope that I 
am not in the case reported in the warning 5.10.


Today I don't ever know whether the problem I try to solve may be solved 
or not, and if it is due to an error of installation (lacking packages 
to install or packages to uninstall), or an error of configuration or, 
possibly, a bug of Jessie.


It would be nice if someone could answer that it works on his system : 
Jessie, gdm3 with xdmcp enabled and Windows PC emulating a X11 server 
with xlaunch (through Cygwin or another free software) to open sessions.


Many thanks in advance !

Best regards,

Jean-Paul



extract_from_log.txt.bz2
Description: application/bzip