Re: Problem with Spamassassin since upgrade (permissions)

2014-05-28 Thread Oliver Zemann
If required, i could also paste the strace somewhere

Am 29.05.2014 02:32, schrieb Bob Proulx:
> Oliver Zemann wrote:
>> Really no one here who could help me with that?
> 
> Probably no one is running amavis-new plus spamassassin plus getting
> that message.  I am not.
> 
>> I am recieving an error by cron since a couple of weeks. I cant remember
>> exactly what was updated, but i am pretty sure it was very related to
>> that. Before that update, i never got such emails:
> 
> What version of spamassassin are you running?  And amavis-new?
> 
> Wheezy Stable?  Jessie Testing?  Or Sid Unstable?
> 
>> subject: Cron  test -e /usr/sbin/amavisd-new-cronjob && 
>> /usr/sbin/amavisd-new-cronjob sa-sync
> 
> I am not running amavis-new so some of this will be guessing.
> 
>> config: path "/var/lib/spamassassin/3.003002" is inaccessible:
>> Permission denied
> 
> This is usually due to someone running sa-update as root instead of as
> the debian-spamd user.  They run as root.  This creates (or possibly
> changes) the ownership to root.  Then the normal run by cron as the
> debian-spamd user can't access the files.
> 
>> root@xxx:~# ls -lah /var/lib/spamassassin/
>> total 24M
>> drwxrwx---  6 debian-spamd debian-spamd 4.0K May 21 23:57 .
>> drwxr-xr-x 49 root root 4.0K May  3 17:18 ..
>> drwxrwxr-x  3 amavis   debian-spamd 4.0K May  4 18:21 3.003002
>> drwx--  2 debian-spamd debian-spamd 4.0K Jan 12 13:37 .pyzor
>> drwxrwxr-x  2 spamdroot 4.0K Jan 12 13:15 sa-update-keys
>> -rw-rw  1 debian-spamd debian-spamd  24M May 24 08:02 spamd.log
>> drw-rw  3 debian-spamd debian-spamd 4.0K Jan 12 13:40 users
> 
> On my system:
> 
>   # ls -lah /var/lib/spamassassin/
>   total 24K
>   drwxr-xr-x   6 debian-spamd debian-spamd 4.0K Mar  4 09:26 .
>   drwxr-xr-x 105 root root 4.0K May  7 10:34 ..
>   drwx--   3 debian-spamd debian-spamd 4.0K Mar  4 09:26 .spamassassin
>   drwxrwxr-x   4 debian-spamd debian-spamd 4.0K Apr 19 07:07 3.004000
>   drwxr-xr-x   3 debian-spamd debian-spamd 4.0K Mar  4 09:26 compiled
>   drwx--   2 debian-spamd debian-spamd 4.0K May 28 18:01 sa-update-keys
> 
> Your directories are owned by the incorrect users.  I would start
> fixing things there.
> 
>> root@xxx:~# ls -lah /var/lib/spamassassin/3.003002/
>> total 16K
>> drwxrwxr-x 3 amavis   debian-spamd 4.0K May  4 18:21 .
>> drwxrwx--- 6 debian-spamd debian-spamd 4.0K May 21 23:57 ..
>> -rw-r--r-- 1 amavis   debian-spamd0 May  4 18:21 languages
>> drw-rw 2 amavis   debian-spamd 4.0K May  4 18:19 
>> updates_spamassassin_org
>> -rw-rw 1 amavis   debian-spamd 2.7K Apr 29 20:38 
>> updates_spamassassin_org.cf
> 
> On my system:
> 
>   # ls -lah /var/lib/spamassassin/3.004000/
>   total 24K
>   drwxrwxr-x 4 debian-spamd debian-spamd 4.0K Apr 19 07:07 .
>   drwxr-xr-x 6 debian-spamd debian-spamd 4.0K Mar  4 09:26 ..
>   drwxrwxr-x 2 debian-spamd debian-spamd 4.0K Feb 23 19:01 
> sought_rules_yerp_org
>   -rw-rw-r-- 1 debian-spamd debian-spamd  123 Feb 23 19:01 
> sought_rules_yerp_org.cf
>   drwxrwxr-x 2 debian-spamd debian-spamd 4.0K Apr 19 07:07 
> updates_spamassassin_org
>   -rw-rw-r-- 1 debian-spamd debian-spamd 2.7K Apr 19 07:07 
> updates_spamassassin_org.cf
> 
>> When i execute that command as user amavis (su - amavis), i get the
>> exactly same error. Can someone please tell me whats wrong?
> 
> I think if you fix the ownership of the files then I think it likely
> that your problem will be solved.  If not then please report back.
> 
> Bob
> 


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



Re: Problem with Spamassassin since upgrade (permissions)

2014-05-28 Thread Oliver Zemann
Hi Bob

Thanks for your reply.
I really thought no one will ever answer me here :)

spamassassin3.3.2-5+deb7u1
amavisd-new 1:2.7.1-2

lsb_release -rd
Description:Debian GNU/Linux 7.5 (wheezy)
Release:7.5

I changed my permissions with chown -R debian-spamd:debian-spamd
/var/lib... so this should be fixed, thanks.

When i run the command as root i get:
root@xxx:/etc/cron.d# test -e /usr/sbin/amavisd-new-cronjob &&
/usr/sbin/amavisd-new-cronjob sa-sync
Please run this cronjob as user amavis

When i run the command as user amavis i get the same, old, error message:
$  test -e /usr/sbin/amavisd-new-cronjob &&
/usr/sbin/amavisd-new-cronjob sa-sync
config: path "/var/lib/spamassassin/3.003002" is inaccessible:
Permission denied
config: path "/var/lib/spamassassin/3.003002/languages" is
inaccessible: Permission denied
config: path "/var/lib/spamassassin/3.003002/triplets.txt" is
inaccessible: Permission denied
config: path "/var/lib/spamassassin/3.003002" is inaccessible:
Permission denied
config: path "/var/lib/spamassassin/3.003002/languages" is
inaccessible: Permission denied

I really appreciate your help.

Kind regards
Oli

Am 29.05.2014 02:32, schrieb Bob Proulx:
> Oliver Zemann wrote:
>> Really no one here who could help me with that?
> 
> Probably no one is running amavis-new plus spamassassin plus
> getting that message.  I am not.
> 
>> I am recieving an error by cron since a couple of weeks. I cant
>> remember exactly what was updated, but i am pretty sure it was
>> very related to that. Before that update, i never got such
>> emails:
> 
> What version of spamassassin are you running?  And amavis-new?
> 
> Wheezy Stable?  Jessie Testing?  Or Sid Unstable?
> 
>> subject: Cron  test -e /usr/sbin/amavisd-new-cronjob
>> && /usr/sbin/amavisd-new-cronjob sa-sync
> 
> I am not running amavis-new so some of this will be guessing.
> 
>> config: path "/var/lib/spamassassin/3.003002" is inaccessible: 
>> Permission denied
> 
> This is usually due to someone running sa-update as root instead of
> as the debian-spamd user.  They run as root.  This creates (or
> possibly changes) the ownership to root.  Then the normal run by
> cron as the debian-spamd user can't access the files.
> 
>> root@xxx:~# ls -lah /var/lib/spamassassin/ total 24M drwxrwx---
>> 6 debian-spamd debian-spamd 4.0K May 21 23:57 . drwxr-xr-x 49
>> root root 4.0K May  3 17:18 .. drwxrwxr-x  3
>> amavis   debian-spamd 4.0K May  4 18:21 3.003002 drwx--
>> 2 debian-spamd debian-spamd 4.0K Jan 12 13:37 .pyzor drwxrwxr-x
>> 2 spamdroot 4.0K Jan 12 13:15 sa-update-keys 
>> -rw-rw  1 debian-spamd debian-spamd  24M May 24 08:02
>> spamd.log drw-rw  3 debian-spamd debian-spamd 4.0K Jan 12
>> 13:40 users
> 
> On my system:
> 
> # ls -lah /var/lib/spamassassin/ total 24K drwxr-xr-x   6
> debian-spamd debian-spamd 4.0K Mar  4 09:26 . drwxr-xr-x 105 root
> root 4.0K May  7 10:34 .. drwx--   3 debian-spamd
> debian-spamd 4.0K Mar  4 09:26 .spamassassin drwxrwxr-x   4
> debian-spamd debian-spamd 4.0K Apr 19 07:07 3.004000 drwxr-xr-x   3
> debian-spamd debian-spamd 4.0K Mar  4 09:26 compiled drwx--   2
> debian-spamd debian-spamd 4.0K May 28 18:01 sa-update-keys
> 
> Your directories are owned by the incorrect users.  I would start 
> fixing things there.
> 
>> root@xxx:~# ls -lah /var/lib/spamassassin/3.003002/ total 16K 
>> drwxrwxr-x 3 amavis   debian-spamd 4.0K May  4 18:21 . 
>> drwxrwx--- 6 debian-spamd debian-spamd 4.0K May 21 23:57 .. 
>> -rw-r--r-- 1 amavis   debian-spamd0 May  4 18:21
>> languages drw-rw 2 amavis   debian-spamd 4.0K May  4
>> 18:19 updates_spamassassin_org -rw-rw 1 amavis
>> debian-spamd 2.7K Apr 29 20:38 updates_spamassassin_org.cf
> 
> On my system:
> 
> # ls -lah /var/lib/spamassassin/3.004000/ total 24K drwxrwxr-x 4
> debian-spamd debian-spamd 4.0K Apr 19 07:07 . drwxr-xr-x 6
> debian-spamd debian-spamd 4.0K Mar  4 09:26 .. drwxrwxr-x 2
> debian-spamd debian-spamd 4.0K Feb 23 19:01 sought_rules_yerp_org 
> -rw-rw-r-- 1 debian-spamd debian-spamd  123 Feb 23 19:01
> sought_rules_yerp_org.cf drwxrwxr-x 2 debian-spamd debian-spamd
> 4.0K Apr 19 07:07 updates_spamassassin_org -rw-rw-r-- 1
> debian-spamd debian-spamd 2.7K Apr 19 07:07
> updates_spamassassin_org.cf
> 
>> When i execute that command as user amavis (su - amavis), i get
>> the exactly same error. Can someone please tell me whats wrong?
> 
> I think if you fix the ownership of the files then I think it
> likely that your problem will be solved.  If not then please report
> back.
> 
> Bob
> 


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



Re: fastest linux distro

2014-05-28 Thread Raffaele Morelli
2014-05-29 7:08 GMT+02:00 Ralf Mardorf :

> On Thu, 2014-05-29 at 06:43 +0200, Raffaele Morelli wrote:
> > 2014-05-29 6:27 GMT+02:00 Ralf Mardorf :
> > On Wed, 2014-05-28 at 20:15 -0400, Tony Baldwin wrote:
> > > jwm, openbox, wmii, tritium, etc., are window managers that might
> > > reduce your load.
> >
> >
> > Correct, however, it doesn't matter if you run JWM or KDE4, when just
> > using a browser, on an averaged dual-core machine. There won't be
> > noticeable performance differences. I've got a Debian install on such
> > a dual-core machine with KDE4 and JWM installed.
> >
> >
> > Don't you spread confusion, a standard kde or gnome install "sucks"
> > memory because of that,
>

because of that [standard install].


>
> Because of what does it sucks memory? It sucks (memory) if somebody
> claims something that isn't true by an email sent as HTML + plain text.
>
> There's no need to sent the same text in one mail two times, especially
> when HTML is frowned upon. And now the bomb drops ...


Ralf, you are well known for your
neverending-aka-lord-of-the-ring-history-threads so I won't feed you.

/r


Re: fastest linux distro

2014-05-28 Thread Ralf Mardorf
On Thu, 2014-05-29 at 06:43 +0200, Raffaele Morelli wrote:
> 2014-05-29 6:27 GMT+02:00 Ralf Mardorf :
> On Wed, 2014-05-28 at 20:15 -0400, Tony Baldwin wrote:
> > jwm, openbox, wmii, tritium, etc., are window managers that might
> > reduce your load.
> 
> 
> Correct, however, it doesn't matter if you run JWM or KDE4, when just
> using a browser, on an averaged dual-core machine. There won't be
> noticeable performance differences. I've got a Debian install on such
> a dual-core machine with KDE4 and JWM installed.
> 
> 
> Don't you spread confusion, a standard kde or gnome install "sucks"
> memory because of that,

Because of what does it sucks memory? It sucks (memory) if somebody
claims something that isn't true by an email sent as HTML + plain text.

There's no need to sent the same text in one mail two times, especially
when HTML is frowned upon. And now the bomb drops ...

> Awesome or JWM they run with a ridicoulus memory usage, so DE matters
> a lot on systems with 2gb of memory.
> 
> 
> 
> If you have daemons/services running in the background it matters,
> everything matters on machines of that kind if you don't need (ssh,
> cups, cron, ntp, at, syslog, exim, etc etc...) 

... there's also no need to start services that are unneeded and there's
no need to use KDE4 with desktop effects. You are free to run KDE4
without 3D or sound effects, you are free to use any DE without services
that upstream or distro maintainers make a default.

2GB on a dual-core and you won't see a difference in performance when
running   vim   in   gnome-terminal,  no matter if you run it on KDE4 or
JWM.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1401340094.665.92.camel@archlinux



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Igor Cicimov
Maybe something like this?


- Kernel config

# sysctl -p
net.ipv4.conf.default.rp_filter = 1
net.ipv4.ip_forward = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.conf.all.log_martians = 1
net.ipv4.tcp_keepalive_time = 60
net.ipv4.tcp_keepalive_intvl = 20
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0


- Network interfaces config

# This is the host interface
auto eth0
allow hot-plug eth0
iface eth0 inet static
  address 172.20.14.121
  netmask 255.255.255.0
  network 172.20.14.0
  broadcast 192.168.0.255
  gateway 172.20.14.1
  dns-nameservers 172.20.14.1 8.8.8.8
  search virtual.local

auto virbr1
iface virbr1 inet static
  address 192.168.100.1
  netmask 255.255.255.0
  bridge_ports eth0
  bridge_fd 0
  bridge_stp off
  bridge_maxwait 0


- Firewall simple config

# Set Default Policy to DROP
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP

# Allow loopback and localhost access
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
iptables -A INPUT -s 127.0.0.1/32 -j ACCEPT

# Defense for SYN flood attacks
iptables -A INPUT -p tcp --syn -m limit --limit 5/s -i eth0 -j ACCEPT

# Set Default Connection States - accept all already established connections
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

# Open DHCP and DNS for virbr1
iptables -A INPUT -p udp -m multiport --dports 67:68 -i virbr1 -m state
--state NEW -j ACCEPT
iptables -A INPUT -p tcp -m multiport --dports 67:68 -i virbr1 -m state
--state NEW -j ACCEPT
iptables -A INPUT -p udp --dport 53 -i virbr1 -m state --state NEW -j ACCEPT
iptables -A INPUT -p tcp --dport 53 -i virbr1 -m state --state NEW -j ACCEPT

# Masquerade
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.100.0/24 ! -d
192.168.100.0/24 -j MASQUERADE

# Forward chain
iptables -A FORWARD -i eth0 -o virbr1 -d 192.168.100.0/24 -m state --state
RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i virbr1 -o eth0 -s 192.168.100.0/24 -j ACCEPT
iptables -A FORWARD -i virbr1 -o virbr1 -j ACCEPT


Now you can create VM's with their own virtual devices, ie vmdev0, vmdev1
etc, and simply add those devices to the virbr1. Then
each of the VM's would have static config of their eth0 interface with ip
of 192.168.100.0/24 range and 192.168.100.1 as default
gateway.

If you want to have the VM's get their ip via DHCP then you can install
dnsmasq and attach a process to virbr1. Something like
this:

/usr/sbin/dnsmasq -u dnsmasq --strict-order --bind-interfaces \
--pid-file=/var/run/dnsmasq/virbr1.pid --conf-file= \
--except-interface lo --listen-address 192.168.100.1 \
--dhcp-range 192.168.100.10,192.168.100.20 \
--dhcp-leasefile=/var/run/dnsmasq/virbr1.leases \
--dhcp-lease-max=11 --dhcp-no-override


The purpose of the VLAN you have created is not clear as they are usually
used to extend a virtual network to more than one host. You will need
802.1Q kernel module enabled and 802.1Q VLAN enabled switch(s) in your
network for this to work. Anyway, you can try adding the VLAN in the above
configuration as an exercise, ie attach the vlan to eth0 and then include
the vlan in the virbr1.

Cheers,
Igor



On Wed, May 28, 2014 at 2:24 AM,  wrote:

> Hello list.
>
> I am trying to build a virtual network exposing servers accessible from
> the LAN.
> I have done a lot of searches on the web and it worked last week, but
> since then, I have restarted my computer and had the nice surprise to learn
> that the iptables command does not save it's configuration.
> I tried to retrieve my configuration, but am failing ( I tried to
> understand what I did with the history command, but sadly I am always
> working with tons of terminals and so, I suspect that it is not the correct
> history... ), and same to find anew the articles which actually make things
> working.
>
> I had some network knowledge in the past, but never really practiced it,
> so I have lost almost everything. I already have used some firewalls, but
> those were some Windows ones ( I was not a linux user at that time ) and so
> I have never played  with iptables.
>
> So I ask for 2 things:
> _ help on this particular problem
> _ if someone knows about resources to learn and understand how exactly
> iptables work, this would help me a lot in the future
>
> For my particular problem.
>
> I have an eth0 interface, the real one, on ip 172.20.14.0/24.
> I made a vlan in my /etc/network/interfaces, like this:
> ##
> auto eth0.1
> iface eth0.1 inet static
> address 10.10.10.1
> netmask 255.255.255.0
> vlan-raw-device eth0
> ##
>
> On that network, I have some VMs with static IPs, and the one on which I
> try to make the configuration for testing and learning purpose have an
> apach

Re: about heirloom mailx

2014-05-28 Thread Richard Hector
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/05/14 12:49, Bob Proulx wrote:
> Harry Putnam wrote:
>> Trying to use heirloom mailx to test various exim4 settings and
>> It works, but there is something in it that bugs me.  Makes me
>> think I'm doing something wrong.
> 
> I use mailx for sending emails all of the time.  I don't see the 
> problem you reported.  Works for me.
> 
> Normally I use the mailx from bsd-mailx.  I just now tested with 
> heirloom-mailx and it behaves the same.  That is to say it works 
> fine.  Because of the alternatives can you verify that you are
> using the version of mailx that you expect?
> 
> On my system after installing heirloom-mailx I now have:
> 
> # update-alternatives --display mailx mailx - auto mode link
> currently points to /usr/bin/heirloom-mailx /usr/bin/bsd-mailx -
> priority 50 slave Mail: /usr/bin/bsd-mailx slave Mail.1.gz:
> /usr/share/man/man1/bsd-mailx.1.gz slave mail: /usr/bin/bsd-mailx 
> slave mail.1.gz: /usr/share/man/man1/bsd-mailx.1.gz slave
> mailx.1.gz: /usr/share/man/man1/bsd-mailx.1.gz 
> /usr/bin/heirloom-mailx - priority 60 slave Mail:
> /usr/bin/heirloom-mailx slave Mail.1.gz:
> /usr/share/man/man1/heirloom-mailx.1.gz slave mail:
> /usr/bin/heirloom-mailx slave mail.1.gz:
> /usr/share/man/man1/heirloom-mailx.1.gz slave mailx.1.gz:
> /usr/share/man/man1/heirloom-mailx.1.gz /usr/bin/mh/mhmail -
> priority 25 slave Mail: /usr/bin/mh/mhmail slave Mail.1.gz:
> /usr/share/man/man1/mhmail.1.gz slave mail: /usr/bin/mh/mhmail 
> slave mail.1.gz: /usr/share/man/man1/mhmail.1.gz slave mailx.1.gz:
> /usr/share/man/man1/mhmail.1.gz Current 'best' version is
> '/usr/bin/heirloom-mailx'.
> 
>> Here is a typical example
>> 
>> mailx -v re...@location.com Subject: what ever ble bleh . 
>> 
>> 
>> And away it goes and outputs the smtp conversation ending in the 
>> message
>> 
>> [...]
>> 
>> LOG: MAIN Completed
>> 
>> But then I never get the prompt back.
> 
> This is what I see:
> 
> rwp@havoc:~$ echo test test test | mailx -s "heirloom-mailx test"
> b...@proulx.com rwp@havoc:~$

You're not using the -v option, which tells the MTA to be verbose.
Exim then spits out the SMTP session, while postfix captures it and
send you back an email.

Now that I put it like that, I understand it better myself - mailx
isn't putting itself in the background, but the MTA continues to work
asynchronously.

Richard

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJThrvrAAoJELSi8I/scBaNp14H/jLloqvY0gnkyIYNesTWCGMv
zf1mJRSQ58fpHZvGVSfYH1PWVvXjDMsCbYYJV9hqd+bPJws9r0YnyEk8Q7HvX66m
rDXk1Bh9vxj7IFV6GEmb44Lr1tKgL6AGesA8+1Q/H7NcWVMQa/AbTh5qS4BRTv3r
gADHJ2XEoXFrnxGZahBX1uIPJ+tgE7/IpM8uJyqy3dzJl6/XMMe33VB0sz0V3a/s
SXlWknGH1JnEJg5XSifl3bNcfXNQmognMY2t9Y3YmIsFNfLu/5AzXbBxWmCd0hrh
ngvLgSxp0csZa/BaWwi2+4EUsiaU0kba+SNiOriHTKlGejAw+wWmn8GbZbT+C7c=
=F6aG
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5386bbf2.6090...@walnut.gen.nz



Re: fastest linux distro

2014-05-28 Thread Raffaele Morelli
2014-05-29 6:27 GMT+02:00 Ralf Mardorf :

> On Wed, 2014-05-28 at 20:15 -0400, Tony Baldwin wrote:
> > jwm, openbox, wmii, tritium, etc., are window managers that might reduce
> > your load.
>
> Correct, however, it doesn't matter if you run JWM or KDE4, when just
> using a browser, on an averaged dual-core machine. There won't be
> noticeable performance differences. I've got a Debian install on such a
> dual-core machine with KDE4 and JWM installed.


Don't you spread confusion, a standard kde or gnome install "sucks" memory
because of that, Awesome or JWM they run with a ridicoulus memory usage, so
DE matters a lot on systems with 2gb of memory.

If you have daemons/services running in the background it matters,
everything matters on machines of that kind if you don't need (ssh, cups,
cron, ntp, at, syslog, exim, etc etc...)


Re: fastest linux distro

2014-05-28 Thread Ralf Mardorf
On Wed, 2014-05-28 at 14:24 -0700, tom arnall wrote:
> debian over ubuntu hands down for speed and for efficient resources
> utilization. it's a harder install, but for me well worth the extra
> work.

This claim is nonsense. Upstart likely will shorten the startup for
Ubuntu, even while it might start tons more unneeded services, than
Debian does, assumed your Debian does use SysVinit. 32-bit packages are
better optimized to modern CPUs by Ubuntu, than Debian packages.

> On 1/24/14, tom arnall  wrote:
> > I am looking for the fastest Linux distro for the following purposes.
> >
> >
> > System:
> >
> > Dell latitude D630
> > dual core
> > 2g memory
> >
> >
> > most used applications:
> >
> > icewm
> > gnome-terminal
> > vim
> > perl
> > chrome browser
> > transmission
> >
> >
> > Currently I am running ubuntu 12.04. I am unhappy with the speed of it.
> >
> > Any info/suggestions will be greatly appreciated.

Shortest startup? Best graphic performance? IOW fastest what? You're
using apps that aren't critical regarding to performance and you run
those apps on a lightweight WM, so I wonder what performance you want
improve.

There's no more or less fast distro. Linux is the kernel and even a
distro specific patch unlikely has got noticeable impact to performance
for your setup. Sure, Ubuntu by default likely starts tons of unneeded
services, while Arch doesn't start any service, but a user could set up
Ubuntu, Debian, Suse, Arch or any other distro the same way.

What performance do you want to increase? I suspect you want to know
what distro's default install will provide the best performance for the
task/s you didn't mention.

An example:

-If I use Debian with a vanilla kernel, then the GUI performance is
 good, but the audio performance is bad.

-If I use Debian with a real-time patched kernel, then the GUI
 performance is bad, but the audio performance is good (because it's
 wanted this way ;).

IOW sometimes you simply need to take care about priorities and when not
using real-time, you also could care for nice values.

If you e.g. use PAM:

$ cat /etc/security/limits.conf 
# [snip]
#- priority - the priority to run user process with
# [snip]
#- nice - max nice priority allowed to raise to values: [-20, 19]
# [snip]

Regards,
Ralf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1401337298.665.75.camel@archlinux



Re: fastest linux distro

2014-05-28 Thread Ralf Mardorf
On Wed, 2014-05-28 at 20:15 -0400, Tony Baldwin wrote:
> jwm, openbox, wmii, tritium, etc., are window managers that might reduce
> your load.

Correct, however, it doesn't matter if you run JWM or KDE4, when just
using a browser, on an averaged dual-core machine. There won't be
noticeable performance differences. I've got a Debian install on such a
dual-core machine with KDE4 and JWM installed.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1401337670.665.79.camel@archlinux



Re: Gnome 3 password-protected screensaver / Jessie

2014-05-28 Thread Gary Dale

On 28/05/14 06:54 PM, Filip wrote:

On Wed, 28 May 2014 18:31:52 -0400
Gary Dale  wrote:


Does such a thing exist and how can I activate it if it does?



Last time I checked it was still included, and you could set up up with
the standard settings menu in gnome-shell.
Blank screen only, of course.

But as they are prone to remove functionality, I wouldn't be
surprised that someone decided that none should want to lock their
screen and they took it out...


Yes, the screen will blank and the monitor will power down, but there is 
no provision for a password.



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

Archive: https://lists.debian.org/5386a85e.80...@torfree.net



Re: Why is Gnome3 still disabled after having upgraded the linux-image?

2014-05-28 Thread Horatio Leragon




 From: Selim T. Erdogan 
To: debian-user@lists.debian.org 
Sent: Thursday, May 29, 2014 5:59 AM
Subject: Re: Why is Gnome3 still disabled after having upgraded the linux-image?
 

> I don't think you have hardware acceleration enabled whenever you see  direct 
> rendering: Yes.  I am currently using the vesa driver and still:
> --
> $ glxinfo|grep ender
> direct rendering: Yes
> GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
> OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
> GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_conditional_render, 

> (BTW, I am using Gnome 3 in flashback mode, in sid.)

How do I enable hardware acceleration?

With hardware acceleration enabled, Gnome3 will be enabled as well, correct?

> What do you mean when you say Gnome3 is disabled or fails to load?

After installation of Debian 7.5, the first time you reboot in to the installed 
OS, there is a message in the top black-colored bar near the right-hand corner 
of the monitor.

The message says "Gnome3 fails to load".

> What are the actions you take to run gnome 3, and what are the error messages 
> or misbehaviors you see?

I do not know what actions to take to run Gnome3 as it is reported to be 
disabled. That is the purpose of my original post on this forum.

Error message: Gnome3 fails to load.

Misbehaviors:

1. Windows that are open cannot be automatically resized.
2. There is no "Activities" tab. (N.B.: Under the "Activities" tab, you can add 
or remove favorites)

> (And, also, how are you setting things up before running glxinfo as above?)

Sorry, I do not understand your question. Could you re-phrase it please?


Re: about heirloom mailx

2014-05-28 Thread Bob Proulx
Harry Putnam wrote:
> Trying to use heirloom mailx to test various exim4 settings and It
> works, but there is something in it that bugs me.  Makes me think I'm
> doing something wrong.

I use mailx for sending emails all of the time.  I don't see the
problem you reported.  Works for me.

Normally I use the mailx from bsd-mailx.  I just now tested with
heirloom-mailx and it behaves the same.  That is to say it works
fine.  Because of the alternatives can you verify that you are using
the version of mailx that you expect?

On my system after installing heirloom-mailx I now have:

  # update-alternatives --display mailx
  mailx - auto mode
link currently points to /usr/bin/heirloom-mailx
  /usr/bin/bsd-mailx - priority 50
slave Mail: /usr/bin/bsd-mailx
slave Mail.1.gz: /usr/share/man/man1/bsd-mailx.1.gz
slave mail: /usr/bin/bsd-mailx
slave mail.1.gz: /usr/share/man/man1/bsd-mailx.1.gz
slave mailx.1.gz: /usr/share/man/man1/bsd-mailx.1.gz
  /usr/bin/heirloom-mailx - priority 60
slave Mail: /usr/bin/heirloom-mailx
slave Mail.1.gz: /usr/share/man/man1/heirloom-mailx.1.gz
slave mail: /usr/bin/heirloom-mailx
slave mail.1.gz: /usr/share/man/man1/heirloom-mailx.1.gz
slave mailx.1.gz: /usr/share/man/man1/heirloom-mailx.1.gz
  /usr/bin/mh/mhmail - priority 25
slave Mail: /usr/bin/mh/mhmail
slave Mail.1.gz: /usr/share/man/man1/mhmail.1.gz
slave mail: /usr/bin/mh/mhmail
slave mail.1.gz: /usr/share/man/man1/mhmail.1.gz
slave mailx.1.gz: /usr/share/man/man1/mhmail.1.gz
  Current 'best' version is '/usr/bin/heirloom-mailx'.

> Here is a typical example
> 
>   mailx -v re...@location.com
>   Subject: what ever
>   ble
>   bleh
>   .
>   
> 
> And away it goes and outputs the smtp conversation ending in the
> message
> 
>   [...]
>   
>   LOG: MAIN
>   Completed
> 
> But then I never get the prompt back.

This is what I see:

  rwp@havoc:~$ echo test test test | mailx -s "heirloom-mailx test" 
b...@proulx.com
  rwp@havoc:~$ 

And the same with bsd-mailx too.

> The cmdline is live... that is, if I type a cmd it will be executed
> and then I get the prompt back.

Please verify that you have a clean .mailrc file.  It is possible that
commands in that file will be a source of breakage.  Normally aliases
live there.

> Or I can hit Enter, or ^c to get the prompt back.
> 
> But shouldn't I get the prompt back when the process
> completes.. without having to do anything extra?

Yes.  That is how it works for me.

> Or am I just not using it correctly from the gate?

See my example for how it works for me.

Bob


signature.asc
Description: Digital signature


Re: poor wifi connection

2014-05-28 Thread Bob Proulx
Mathieu Malaterre wrote:
> [CC me please]

For me please follow-up to the mailing list only and I will read it there.

> I am trying to diagnose why my wifi connection is so bad from my
> current laptop. If I reboot into windows 7 (default OS when shipped)
> everything is working nicely.

When you say "so bad" can you quantify this?  Is it low signal
strength?  Is it many retries?  Is it poor data rates?

> http://pastebin.com/h2Mc1rF3
> I do not see anything abvious from the log file. Does anyone see any
> obvious mistake (misconfiguration) I could have ?

I didn't see anything jumping out at me.

Just a shot in the dark...  Do you have the "crda" package installed?
What geographic region do you live in?  Without the crda things will
default to a default global value.  With crda installed you can set
your specific region in /etc/default/crda and that may have some
benefit in terms of power levels.

Another shot in the dark...  I have had both the ipw2200 and the
iwl3945 devices in various laptops.  I don't know why but sometimes
that driver will get into a bad state and need to be unloaded and
loaded again.  reloading the driver will often solve strange problems
on my ThinkPads.

  rmmod ipw2200 ; sleep 1; modprobe ipw2200
Or:
  rmmod iwl3945 ; sleep 1; modprobe iwl3945

Maybe something similar for your driver would be helpful?  Note that I
am just guessing while trying to be helpful but do not know for sure.

Bob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140529004320.gb1...@hysteria.proulx.com



Re: Problem with Spamassassin since upgrade (permissions)

2014-05-28 Thread Bob Proulx
Oliver Zemann wrote:
> Really no one here who could help me with that?

Probably no one is running amavis-new plus spamassassin plus getting
that message.  I am not.

> I am recieving an error by cron since a couple of weeks. I cant remember
> exactly what was updated, but i am pretty sure it was very related to
> that. Before that update, i never got such emails:

What version of spamassassin are you running?  And amavis-new?

Wheezy Stable?  Jessie Testing?  Or Sid Unstable?

> subject: Cron  test -e /usr/sbin/amavisd-new-cronjob && 
> /usr/sbin/amavisd-new-cronjob sa-sync

I am not running amavis-new so some of this will be guessing.

> config: path "/var/lib/spamassassin/3.003002" is inaccessible:
> Permission denied

This is usually due to someone running sa-update as root instead of as
the debian-spamd user.  They run as root.  This creates (or possibly
changes) the ownership to root.  Then the normal run by cron as the
debian-spamd user can't access the files.

> root@xxx:~# ls -lah /var/lib/spamassassin/
> total 24M
> drwxrwx---  6 debian-spamd debian-spamd 4.0K May 21 23:57 .
> drwxr-xr-x 49 root root 4.0K May  3 17:18 ..
> drwxrwxr-x  3 amavis   debian-spamd 4.0K May  4 18:21 3.003002
> drwx--  2 debian-spamd debian-spamd 4.0K Jan 12 13:37 .pyzor
> drwxrwxr-x  2 spamdroot 4.0K Jan 12 13:15 sa-update-keys
> -rw-rw  1 debian-spamd debian-spamd  24M May 24 08:02 spamd.log
> drw-rw  3 debian-spamd debian-spamd 4.0K Jan 12 13:40 users

On my system:

  # ls -lah /var/lib/spamassassin/
  total 24K
  drwxr-xr-x   6 debian-spamd debian-spamd 4.0K Mar  4 09:26 .
  drwxr-xr-x 105 root root 4.0K May  7 10:34 ..
  drwx--   3 debian-spamd debian-spamd 4.0K Mar  4 09:26 .spamassassin
  drwxrwxr-x   4 debian-spamd debian-spamd 4.0K Apr 19 07:07 3.004000
  drwxr-xr-x   3 debian-spamd debian-spamd 4.0K Mar  4 09:26 compiled
  drwx--   2 debian-spamd debian-spamd 4.0K May 28 18:01 sa-update-keys

Your directories are owned by the incorrect users.  I would start
fixing things there.

> root@xxx:~# ls -lah /var/lib/spamassassin/3.003002/
> total 16K
> drwxrwxr-x 3 amavis   debian-spamd 4.0K May  4 18:21 .
> drwxrwx--- 6 debian-spamd debian-spamd 4.0K May 21 23:57 ..
> -rw-r--r-- 1 amavis   debian-spamd0 May  4 18:21 languages
> drw-rw 2 amavis   debian-spamd 4.0K May  4 18:19 
> updates_spamassassin_org
> -rw-rw 1 amavis   debian-spamd 2.7K Apr 29 20:38 
> updates_spamassassin_org.cf

On my system:

  # ls -lah /var/lib/spamassassin/3.004000/
  total 24K
  drwxrwxr-x 4 debian-spamd debian-spamd 4.0K Apr 19 07:07 .
  drwxr-xr-x 6 debian-spamd debian-spamd 4.0K Mar  4 09:26 ..
  drwxrwxr-x 2 debian-spamd debian-spamd 4.0K Feb 23 19:01 sought_rules_yerp_org
  -rw-rw-r-- 1 debian-spamd debian-spamd  123 Feb 23 19:01 
sought_rules_yerp_org.cf
  drwxrwxr-x 2 debian-spamd debian-spamd 4.0K Apr 19 07:07 
updates_spamassassin_org
  -rw-rw-r-- 1 debian-spamd debian-spamd 2.7K Apr 19 07:07 
updates_spamassassin_org.cf

> When i execute that command as user amavis (su - amavis), i get the
> exactly same error. Can someone please tell me whats wrong?

I think if you fix the ownership of the files then I think it likely
that your problem will be solved.  If not then please report back.

Bob


signature.asc
Description: Digital signature


Re: Assange and NSA

2014-05-28 Thread Joel Rees
On Wed, May 28, 2014 at 12:03 AM, Tamer Higazi  wrote:
[threading fixed]
> Am 27.05.2014 16:21, schrieb Diogene Laerce:
>> Hi,
>>
>> Maybe I missed the thread : I wasn't there for a while but I would like to
>> have your advice on that article :
>>
>> http://igurublog.wordpress.com/2014/04/08/julian-assange-debian-is-owned-by-the-nsa/
>>
> Wrong thread people!

Thread?

> Look for a mailinglist where "politics, Unidentified Flying Objects,
> world theories" are subject.

Oh. You mean, "Wrong mailing list!"

But,

> This is the DEBIAN LINUX Mailinglist  OMG!

Oh, My Goodness, the question seems to have been, "Are the reports
that Debian has rolled over to the NSA correct?"

Although it might have been, "How am I supposed to interpret the
headline in light of the contents saying something else?"

FUD? As many others have noted, the headline was most assuredly so.

Troll? Possibly.

Off topic on the Debian user list? I think not.

FWIW, I'm of the camp that

(1) money does not make a good promise, especially when source is
closed and accountability is thus impeded.

(2) Open source provides a much better basis of accountability.

(3) Life has no guarantees.

Plus a couple more points which are a bit apocalyptic/religious in
nature, such as, neither the ipod nor the android are the white stone
John mentioned, just a poor imitation thereof.

Debian seems to me to be as safe as any of the LInux distros.

Case in point: I'm a bit frustrated about the systemd mess, but it's
clear that the developers are using proper engineering principles here
in testing/adopting it, as opposed to certain other distros, and also
as opposed to certain hotheads (just a few, really) who have sometimes
come onto this list to push the idea that systemd should be pulled in
and backported and forced on everyone, as is.

In other words, it's not perfect. (No surprise. Nothing in this world
is.) But it's better than many of the alternatives, relative to
subverting it for spying purposes, etc.

-- 
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


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



Re: fastest linux distro

2014-05-28 Thread Tony Baldwin
On Wed, May 28, 2014 at 02:24:32PM -0700, tom arnall wrote:
> debian over ubuntu hands down for speed and for efficient resources
> utilization. it's a harder install, but for me well worth the extra
> work.
> 
> On 1/24/14, tom arnall  wrote:
> > I am looking for the fastest Linux distro for the following purposes.
> >
> >
> > System:
> >
> > Dell latitude D630
> > dual core
> > 2g memory
> >
> >
> > most used applications:
> >
> > icewm
> > gnome-terminal
> > vim
> > perl
> > chrome browser
> > transmission
> >
> >
> > Currently I am running ubuntu 12.04. I am unhappy with the speed of it.
> >
> > Any info/suggestions will be greatly appreciated.

Any distro you strip down to basics will be faster.
It depends on what you run on it.
I have Debian with openbox, no DE, and it flies at warp speed
(esp. on my desktop, 4x2.8ghz with 16gb ram), but also on an old Dell d420
laptop I got used on ebay (only 750mhz with 1.5gb ram).
But any distro you load up with bloat (gnome, kde, desktop animations
crap), is going to get bogged down in comparison.
Looks like you're running a light system, but if you installed default
ubuntu then just added icewm, you might have extra, unnecessary garbage
running underneath.
Try Debian with netinstall and only install what you want/need.
If you already did similar with the ubuntu, I'm not sure how much of a
difference you will see. I haven't used Ubuntu since Dapper Drake.
jwm, openbox, wmii, tritium, etc., are window managers that might reduce
your load.

Tony

-- 
https://tonybaldwin.info
art, music, software by me, tony
3F330C6E


signature.asc
Description: Digital signature


Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Pascal Hambourg
Hello,

berenger.mo...@neutralite.org a écrit :
> 
> I am trying to build a virtual network exposing servers accessible from 
> the LAN.
[...]
> So I ask for 2 things:
> _ help on this particular problem
> _ if someone knows about resources to learn and understand how exactly 
> iptables work, this would help me a lot in the future

- Oskar Andreasson's iptables tutorial.
- netfilter and iptables articles in Wikipedia.

> For my particular problem.
> 
> I have an eth0 interface, the real one, on ip 172.20.14.0/24.
> I made a vlan in my /etc/network/interfaces, like this:
> ##
> auto eth0.1
> iface eth0.1 inet static
>   address 10.10.10.1
>   netmask 255.255.255.0
>   vlan-raw-device eth0
> ##

What is the purpose of this VLAN ?

> In fact, I used the package vlan and some configuration inside 
> /etc/network/interface of the host to have the host having a virtual 
> second ethernet connexion, on which the VMs are connected.
> In the facts, there are 2 LANs, with the host computer being the 
> router.

A VLAN interface is not a virtual ethernet interface for communicating
with VMs. It is a sub-interface which transmits and receives ethernet
frames with a given IEEE 802.1Q tag. Usually the VM managers such as
virtualbox create their own virtual interface(s) on the host to
communicate with the VMs.

> On that network, I have some VMs with static IPs, and the one on which 
> I try to make the configuration for testing and learning purpose have an 
> apache2 server running and up ( I can query on it from my physical 
> computer ). It is using 2 network interfaces, a NAT one and a bridge 
> one, but for others I would like to remove the NAT one, since I need 
> them to simulate the production servers ( which are VMs too, but my 
> company does not control the system on which they are running. Otherwise 
> it would have be far easier: I would have read how it does to understand 
> things ) which only have one interface ( eth0 ).
> 
> Both LANs ( the physical one and the virtual one ) works perfectly, but 
> now I would like to allow 2 things:
> _ VMs to access the physical LAN, so that they could access the apt 
> proxy I have installed there for installing softwares and updates

- Enable IP forwarding on the host acting as a router.
# sysctl -w net.ipv4.ip_forward=1

- Presumably, you need to masquerade forwarded packets from VMs to the
physical LAN if the physical hosts or their router doesn't have a route
to your virtual LAN.
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

> _ physical computers accessing VMs through some ports of my computer. 
> For example, redirecting "172.20.14.XX:80" to "10.10.10.30:80". I will 
> do that port forwarding for ssh ( port 22 ), http ( port 80 ) and 
> postgresql ( port 5432 ) connections in a first time.

- You need port forwarding only if the physical hosts or their router
doesn't have a route to your virtual LAN.
# iptables -t nat -A PREROUTING -i eth0 -d 172.20.14.XX \
   -p tcp --dport 80 -j DNAT --to 10.10.10.30
(and so on for each port)

> And to add to the fun, I remember having discovered after several hours 
> last week that the port forwarding rules I built did not allowed the 
> host computer to access the VM, at least, not when asking on host'IP ( 
> aka 172.20.14.XX ).

- For this you need to do the port forwarding on locally generated packets.
# iptables -t nat -A OUTPUT -d 172.20.14.XX -p tcp --dport 80 \
   -j DNAT --to 10.10.10.30


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



Re: Gnome 3 password-protected screensaver / Jessie

2014-05-28 Thread Filip
On Wed, 28 May 2014 18:31:52 -0400
Gary Dale  wrote:

> Does such a thing exist and how can I activate it if it does?
> 
> 

Last time I checked it was still included, and you could set up up with
the standard settings menu in gnome-shell.
Blank screen only, of course.

But as they are prone to remove functionality, I wouldn't be
surprised that someone decided that none should want to lock their
screen and they took it out...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140529005450.43c5d...@orac.fil



Gnome 3 password-protected screensaver / Jessie

2014-05-28 Thread Gary Dale

Does such a thing exist and how can I activate it if it does?


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

Archive: https://lists.debian.org/538663d8.20...@torfree.net



Re: Why is Gnome3 still disabled after having upgraded the linux-image?

2014-05-28 Thread Selim T. Erdogan
Horatio Leragon, 26.05.2014:
> 
> 
> On Mon, 5/26/14, Joe  wrote:
> 
>  Subject: Re: Why is Gnome3 still disabled after having upgraded the 
> linux-image?
>  To: "Horatio Leragon" 
>  Date: Monday, May 26, 2014, 5:53 AM
>  
> > Try:
>  
> > glxinfo | grep render
> > and you're looking for:
> > direct rendering = No
> > If it's 'Yes', then you have hardware acceleration and you need to 
> > look elsewhere.
> 
> The result of my glxinfo | grep render is: Yes
> 
> Where should I look?

I don't think you have hardware acceleration enabled whenever you see 
direct rendering: Yes.  I am currently using the vesa driver and still:
--
$ glxinfo|grep ender
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_conditional_render, 
--
The llvm stuff above indicates software rendering, I believe.

(BTW, I am using Gnome 3 in flashback mode, in sid.)

> > If the graphics system is very recent, there may not be free 
> drivers available, and even proprietary drivers tend to lag behind the 
> product when Linux is concerned. Intel is generally not too bad in 
> that respect.
> 
> I disagree with what you said about Intel. My duaghter's CPU is the 
> latest Intel i7-4770 (Haswell) with Intel H87 chipset. Graphics 
> capability in integrated in the CPU, right?
> 
> What is strange is this:
> 
> linux-image-3.2.0.4-amd64 works flawlessly with my wife's Intel 
> i7-3780 (Ivy-Bridge) with Intel H77 chipset (which is the version 
prior to Haswell). Gnome3 works flawlessly too.
> 
> However I had to upgrade linux-image-3.2.0.4-amd64 to Wheezy 
> backported linux-image-3.14-0.bpo.1-amd64 when using Intel i7-4770 
> (Haswell) due to problems of rebooting and shutdown. In addition, 
> Gnome3 failed to load even after the linux-image backported upgrade.
> 
> Should I report this as a bug?

What do you mean when you say Gnome3 is disabled or fails to load? 
What are the actions you take to run gnome 3, and what are the error 
messages or misbehaviors you see?

(And, also, how are you setting things up before running glxinfo as 
above?)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140528215943.ga26...@cs.utexas.edu



Re: fastest linux distro

2014-05-28 Thread tom arnall
debian over ubuntu hands down for speed and for efficient resources
utilization. it's a harder install, but for me well worth the extra
work.

On 1/24/14, tom arnall  wrote:
> I am looking for the fastest Linux distro for the following purposes.
>
>
> System:
>
> Dell latitude D630
> dual core
> 2g memory
>
>
> most used applications:
>
> icewm
> gnome-terminal
> vim
> perl
> chrome browser
> transmission
>
>
> Currently I am running ubuntu 12.04. I am unhappy with the speed of it.
>
> Any info/suggestions will be greatly appreciated.
>


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



Re: can't get wicd to work

2014-05-28 Thread tom arnall
the b43 module was the answer for at least most of the broadcom
wireless devices. HOWEVER the system out of the debian wheezy box
seems to want to make 'wl' the wireless module. wrong for broadcom
chips. but it's not enough to simply let the b43 installer do its
thing. you must also blacklist wl.  discussion here:
https://mail.google.com/mail/u/0/h/1wfpk8wkh8328/?&v=c&s=q&q=launchpad&th=146449130dc82f52



On 5/26/14, tom arnall  wrote:
> BTW, I DO NOT SEEM TO HAVE ANY OF THE B43 STUFF ON MY SYSTEM:
>
> root@debian:/home/tom# apt-get install firmware-b43-installer
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   b43-fwcutter
> The following NEW packages will be installed:
>   b43-fwcutter firmware-b43-installer
> 0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
> Need to get 33.1 kB of archives.
> After this operation, 134 kB of additional disk space will be used.
> Do you want to continue [Y/n]? n
> Abort.
>
>
>
> AND:
>
> root@debian:/home/tom# apt-get install firmware-b43legacy-installer
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   b43-fwcutter
> The following NEW packages will be installed:
>   b43-fwcutter firmware-b43legacy-installer
> 0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
> Need to get 32.7 kB of archives.
> After this operation, 132 kB of additional disk space will be used.
> Do you want to continue [Y/n]? n
> Abort.
>


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



Re: Cloning hdds of different sizes

2014-05-28 Thread Philip Ashmore

Hi there.

I've commented in-line below.

On 28/05/14 21:02, Steve Litt wrote:
> On Wed, 28 May 2014 02:03:48 +0300
> Catalin Soare  wrote:
> 
>> Hello,
>>
>> In one of my computers I have 2 HDDs. One of them is a 250 GB drive
>> (debian) and the other is a 300 GB (data).
>>
>> I've decided to give one of them to my parents because the one they
>> have right now makes some strange noises. So I've backed up and
>> cleaned up the drive, and as we speak I am cloning my debian install
>> (from the 250 GB disk) onto the other drive.
> 
> Sounds to me like a job for dd, or more specifically, ddrescue.
> ddrescue is featured on the System Rescue CD
> (http://www.sysresccd.org/SystemRescueCd_Homepage). With ddrescue's
> logs and many ways of writing, you can be assured of the maximum
> possible likelihood of getting the job done, and finding out if either
> drive has problems that should concern you.
> 
> If you want a quick way of cloning the drive that isn't particularly
> error prone, this is it, especially if your 250 is fairly full so that
> file by file copy wouldn't save you much. If both drives are in good
> shape so there are no misreads or miswrites, I'd imagine the clone will
> take about an hour, unattended.
> 
> If there are disk problems it will take longer, but file by file might
> have missed that fact and written bad data.
> 
>> My fstab contains blkids to identify the root, swap, and home
>> partitions. Will the new clone just boot as if it was on the old
>> drive?
> 
> After cloning the 250 onto the 300, the 300 will boot just like the
> 250, always assuming your last step before doing the clone is to get
> rid of the 300's entry in fstab. Labels and blkids on the 300 will be
> identical to the 250's after cloning.
> 
>>
>> Also is there a simple method to resize the future home partition and
>> move the root partition so that I don't end up with unallocated space
>> on the drive?
> 
> Now you're getting a little complicated. What I always do in this
> situation is just make an additional partition to consume that last bit
> of drive space, and usually find a use as a scratchpad area for that
> partition.
> 
> Or, if you really want to make /home bigger, you can take the biggest
> subdirectory in /home significantly smaller than the new partition,
> rsync its contents to the new partition after mounting it, back them up
> somewhere else, remove them leaving only the empty directory on the
> original, and mount the new partition as that directory.
> 
> If you want to expand a partition to include the unallocated space, I
> think you have to use whatever partition butts up against the
> unallocated space to make bigger. If there's a tool to enlarge a
> different partition and move the others to compensate, I"m not aware of
> it.
gparted can do this.
> 
> SteveT
> 
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance
> 
> 
Regards,
Philip Ashmore


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



Re: MB ASUS H97M-PLUS

2014-05-28 Thread Paul van der Vlis
op 28-05-14 15:10, Aldo Maggi schreef:
> I want to upgrade my pc, the seller has proposed the above mobo, is
> anyone using it? compatibility problems?

I have experience with the h81M-plus, a cheep mainboard for 4th
generation Intel processors. I think you will have my problems, and
maybe others.

3D from Intel processors does not work, but you can use another VGA card
or use only 2D. Using a backported kernel does not help in stable, you
need other packages what are not backported.

I had a little problems with the regulation of the sound-volume, but
it's not a big problem. When you put the volume on 50%, the volume is
0%, when you put it on 75%, it's 50%. A newer kernel helps.

If you want maximum compatibility with Debian stable, you better choose
a mainboard for 3th generation Intel processors. But a mainboard for 4th
generation Intels is not a big problem.

With regards,
Paul van der Vlis



-- 
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53864743.9070...@vandervlis.nl



Re: Cloning hdds of different sizes

2014-05-28 Thread Steve Litt
On Wed, 28 May 2014 02:03:48 +0300
Catalin Soare  wrote:

> Hello,
> 
> In one of my computers I have 2 HDDs. One of them is a 250 GB drive
> (debian) and the other is a 300 GB (data).
> 
> I've decided to give one of them to my parents because the one they
> have right now makes some strange noises. So I've backed up and
> cleaned up the drive, and as we speak I am cloning my debian install
> (from the 250 GB disk) onto the other drive.

Sounds to me like a job for dd, or more specifically, ddrescue.
ddrescue is featured on the System Rescue CD
(http://www.sysresccd.org/SystemRescueCd_Homepage). With ddrescue's
logs and many ways of writing, you can be assured of the maximum
possible likelihood of getting the job done, and finding out if either
drive has problems that should concern you.

If you want a quick way of cloning the drive that isn't particularly
error prone, this is it, especially if your 250 is fairly full so that
file by file copy wouldn't save you much. If both drives are in good
shape so there are no misreads or miswrites, I'd imagine the clone will
take about an hour, unattended.

If there are disk problems it will take longer, but file by file might
have missed that fact and written bad data.

> My fstab contains blkids to identify the root, swap, and home
> partitions. Will the new clone just boot as if it was on the old
> drive?

After cloning the 250 onto the 300, the 300 will boot just like the
250, always assuming your last step before doing the clone is to get
rid of the 300's entry in fstab. Labels and blkids on the 300 will be
identical to the 250's after cloning.

> 
> Also is there a simple method to resize the future home partition and
> move the root partition so that I don't end up with unallocated space
> on the drive?

Now you're getting a little complicated. What I always do in this
situation is just make an additional partition to consume that last bit
of drive space, and usually find a use as a scratchpad area for that
partition.

Or, if you really want to make /home bigger, you can take the biggest
subdirectory in /home significantly smaller than the new partition,
rsync its contents to the new partition after mounting it, back them up
somewhere else, remove them leaving only the empty directory on the
original, and mount the new partition as that directory.

If you want to expand a partition to include the unallocated space, I
think you have to use whatever partition butts up against the
unallocated space to make bigger. If there's a tool to enlarge a
different partition and move the others to compensate, I"m not aware of
it.

SteveT

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140528160229.1e959ac3@mydesk



Re: media 'slideshow': movies + pictures

2014-05-28 Thread Chris Bannister
On Wed, May 28, 2014 at 08:45:17AM -0400, The Wanderer wrote:
> That's the "right way" to do random play, IMO, though I've yet to devise
> an algorithm for doing it properly that seems both clean and functional
> to my eye.


Ah! ... but true random play is just white noise, is it not?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140528174052.GA16773@tal



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Joe
On Wed, 28 May 2014 21:25:23 +1000
Chris Angelico  wrote:

> On Wed, May 28, 2014 at 9:03 PM, Joe  wrote:
> > The point here is that all modern hardware is capable of IPv6, and
> > even if you aren't using it, malware writers may be. And by
> > default, a Debian machine is wide open to IPv6, and some of its
> > software is listening to it. Run a netstat to see which.
> 
> On the other hand, internet connections generally don't offer IPv6
> without loudly proclaiming it as an advertisable feature, so if your
> computer is v6 accessible from the internet, you probably know.
> 

The OP implied living in a network he didn't control completely, which
may have a mix of operating systems, and possibly local malware.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140528170520.32db8...@jretrading.com



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Tony van der Hoff
On 28/05/14 14:29, Andrei POPESCU wrote:
> On Mi, 28 mai 14, 21:39:24, Chris Angelico wrote:
>>
>> It's off-topic for this list,
> 
> CC: and Reply-To: -offtopic, this time for real :(
> Please disregard the other post
> 
Followup to list just puts it straight back there.

>> but I would be very curious to know how
>> much extra, on average, people would pay in order to get an IPv6
>> netblock. Maybe it really isn't commercially important.
> 
> ISP: You can get a whole network block for just $AMOUNT per $PERIOD
> Customer: I just want my internet to work, why would I need a whole 
> network block?
> ISP: We are switching to this new generation internet which means all 
> customers will receive entire network blocks instead of a single address
> Customer: Then, why do I need to pay extra?

Customer is quite right. IP v6 doesn't cost the ISP more; why should he
charge the customer more? It's just part of the service.

Coincidentally, I had experience of this (lack of) thinking earlier this
week. I was (still am) in the market for a new VPS supplier. On
recommendations (good support, good throughput, etc) I registered with
Heart Internet, a small UK VPS supplier. I went through the rigmarole of
installing wheezy, and got round to configuring it. I couldn't get IP v6
to work. Contacted support, and the first droid didn't seem to know what
IP v6 was all about. After I explained, he told me "we don't support
that, and are never likely to". I then cancelled my registration.
Another, more clueful support droid then contacted me to say "we're
planning it for 2015, and we'll give you 3 months free service if you
stay with us". I pointed out that IP v6 has been mainstream for at least
a decade, why would they expect me to wait another year. I have lots of
"things" connected to the network, and really need that net block.

So, they lost a customer. Apart from the IP v6 issue, they seemed well
set up, so I'm quite disappointed it didn't work out. Meanwhile, I've
wasted a significant amount of time and effort.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5386065b.5090...@vanderhoff.org



Re: exim4 fetchmail delivery more than 10 rejected

2014-05-28 Thread Brian
On Tue 27 May 2014 at 21:53:40 -0400, Harry Putnam wrote:

> Oh, and is it really enough just to run `/etc/init.d/exim4 reload'

reload regenerates the configuration and tells exim to reread it. I've
always stuck with using this.

> (after making the edit) or would it be a time to use one or more of
> exim4's `update' commands.

Beware. update-exim4.conf does generate the main configuration files
but the "RECOMMENDED USAGE" section of its manual describes a situation
when you may not want to invoke it.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/28052014161642.c8b76fa70...@desktop.copernicus.demon.co.uk



Re: MB ASUS H97M-PLUS

2014-05-28 Thread Gary Dale

On 28/05/14 09:10 AM, Aldo Maggi wrote:
I want to upgrade my pc, the seller has proposed the above mobo, is 
anyone using it? compatibility problems?


thanks

aldo

You are unlikely to find any compatibility problems with any 
motherboards. AMD and Intel provide the necessary information to kernel 
developers to ensure that their chipsets are supported.


Of course, for newer boards, you do need a newer kernel. If you are 
running a three-year-old release, you might want to update to something 
newer.



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

Archive: https://lists.debian.org/5385f712.5000...@torfree.net



Re: preferred overlay/union filesystem?

2014-05-28 Thread Joe Pfeiffer
Chris Angelico  writes:

> On Wed, May 28, 2014 at 3:21 PM, Kushal Kumaran
>  wrote:
>> Chris Angelico  writes:
>>
>>> On Wed, May 28, 2014 at 5:47 AM, Joe Pfeiffer  wrote:
 Well, I don't want to keep two separate files (that's what I'm trying to
 get away from).  It seems like the overlay filesystem would be a bit
 cleaner if it can work, but symbolic links elsewhere would be my second
 choice.

>>>
>>> As a variant of Kushal's suggestion of two symlinks to the same file,
>>> you could have the real file in one place (preferably where it's
>>> written to) and a symlink to it from the other place.
>>>
>>
>> If I understand the situation correctly, only one of the locations will
>> be accessible at any time.  When the user logs in, the original files
>> will be hidden under the files provided by the encrypted filesystem.
>> So, both files are actually ~/.bogofilter (say), just at different
>> times.  So you cannot have a symlink from one location to the other.
>
> Ah! Gotcha. Then, yes; symlinks from both to the same destination. Not
> sure what a suitable destination is, though.
>
> ChrisA

For the moment, I have /home/acct/file, /home.unenc/acct/file, and
/home.enc/acct/file.

The real file is in /home.unenc/acct/file, and there are symbolic links
to it from both home/acct/file and /home.enc/acct/file.  When I'm not
logged in, the daemon sees /home/acct/file (and hence really sees
/home.unenc/acct/file); when I log in, /home.enc/acct is
unencrypted and laid on top of /home/acct, so the daemon still sees
/home.unenc/acct/file.

Inelegant (so I'd really like to find a way for a union or overlay
filesystem to do it!) but it seems to work...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1bfvju8234@snowball.wb.pfeifferfamily.net



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Andrei POPESCU
On Mi, 28 mai 14, 21:39:24, Chris Angelico wrote:
> 
> It's off-topic for this list,

CC: and Reply-To: -offtopic, this time for real :(
Please disregard the other post

> but I would be very curious to know how
> much extra, on average, people would pay in order to get an IPv6
> netblock. Maybe it really isn't commercially important.

ISP: You can get a whole network block for just $AMOUNT per $PERIOD
Customer: I just want my internet to work, why would I need a whole 
network block?
ISP: We are switching to this new generation internet which means all 
customers will receive entire network blocks instead of a single address
Customer: Then, why do I need to pay extra?


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


MB ASUS H97M-PLUS

2014-05-28 Thread Aldo Maggi
I want to upgrade my pc, the seller has proposed the above mobo, is 
anyone using it? compatibility problems?


thanks

aldo


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

Archive: https://lists.debian.org/5385e033.1020...@katamail.com



Re: media 'slideshow': movies + pictures

2014-05-28 Thread Chris Angelico
On Wed, May 28, 2014 at 10:45 PM, The Wanderer  wrote:
> Hmm. The OP claimed that VLC didn't seem to do what he needs, which is
> one reason I didn't investigate it more closely; possibly he just didn't
> check out all the options closely enough?

Maybe. There are, as Mercury and Thespis put it, a thundering lot of
them. I didn't know about -Z until today :)

>> Interestingly, the playlist still seems to be in the order the
>> arguments were provided (on my system, that means sorted by bash,
>> since bash does the glob expansion), but at the end of each track,
>> VLC goes to a random track rather than to the next one. It does seem
>> to be consistent, though; hitting 'n' a few times jumps around and
>> then loops, and finally repeats the same sequence.
>
> That's the "right way" to do random play, IMO, though I've yet to devise
> an algorithm for doing it properly that seems both clean and functional
> to my eye.

As opposed to shuffling the displayed list of tracks? I'm not sure. If
you shuffle the display as well as the playback, you keep the two
consistent, so you can see how far you are through the playlist. This
way, you won't know when you've looped. Which is better?

ChrisA


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



Re: media 'slideshow': movies + pictures

2014-05-28 Thread Curt
On 2014-05-28, The Wanderer  wrote:
>
> That's the "right way" to do random play, IMO, though I've yet to devise
> an algorithm for doing it properly that seems both clean and functional
> to my eye.
>

I'm sure Granny could care less.

-- 
Ordinary language is an accretion of lies. The language of literature must be,
therefore, the language of transgression, a rupture of individual systems, a
shattering of psychic oppression. The only function of literature lies in the
uncovering of the self in history. (Susan Sontag) 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnlobn3q.2bq.cu...@einstein.electron.org



Re: media 'slideshow': movies + pictures

2014-05-28 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 05/28/2014 08:41 AM, Chris Angelico wrote:

> On Wed, May 28, 2014 at 10:22 PM, Andrei POPESCU 
>  wrote:
> 
>> On Mi, 28 mai 14, 21:57:32, Chris Angelico wrote:

>>> Also: I just ran VLC on a directoryful of jpgs, and it happily
>>> played me a slideshow with ten seconds per frame. Mixing up media
>>> types seems to work fine:
>> 
>> [...]
>> 
>>> Randomizing is left as an exercise for the reader, though.
>> 
>> vlc has a lot of command-line options, -Z/--random seems
>> interesting ;)
> 
> ... wow. So it is. Andrei, I hope you parked Guido's time machine
> back in its proper place, he might need it again.
> 
> I expect all readers to get an A+ on this exercise.
> 
> So, uhh... Here's my recommendation: Use "vlc -Z some-directory/*",
> job done! :)

Hmm. The OP claimed that VLC didn't seem to do what he needs, which is
one reason I didn't investigate it more closely; possibly he just didn't
check out all the options closely enough?

> Interestingly, the playlist still seems to be in the order the
> arguments were provided (on my system, that means sorted by bash,
> since bash does the glob expansion), but at the end of each track,
> VLC goes to a random track rather than to the next one. It does seem
> to be consistent, though; hitting 'n' a few times jumps around and
> then loops, and finally repeats the same sequence.

That's the "right way" to do random play, IMO, though I've yet to devise
an algorithm for doing it properly that seems both clean and functional
to my eye.

- --
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJThdpdAAoJEASpNY00KDJrV0IQAK6Vgr3QWDL4Tgbe6f0iWPLM
dR8Rtgx3etxBunCH0sFJB8sLcFjawzGNZftJnCvzpF8reGYFmQeK/tfT0qehZH8S
oONl9Xi6KJRI3SGmi9Fkex/OJyuF6tI/rHhqLnN7SKOuli6wGIxMUmW7YH5IQ2DF
PWA0ESAPtzEq3gpWa8z0oaTpaKcTKlR/io/DZXsqV1xbQzpnc4iyyHMx8Tz8f0hC
z9X3GIJPffJZFLlSZ2thdjsBCng/a1teq9O3iwKBOrHOIpmV+3VzYGHi+10rap5X
40x4WKYDJNKSzTHZzOzv6QR1ksoox/fIJE6ozIiicazmqNXbOMPgxjfwkId/aZKP
FDkc97iLukbNNScEgOipF6BstcZlRqY37MzXsld4qO8Y+3/mH2AvPvDnVWYk1xWk
iZX8ZkIMyhhVUqKYIElpYmthHpPf7xnMA83dkmaNWxjrRDXFJNDY5ScgLKXqfQjq
nIA7yaeYvlAVf8iRSXcvFOktPMZyR7tDRGxw/NykAAZLhYhZfDd8D75u/YLadaC+
HGcQlQ06Upb6zER48i3SJW6E4bH169re5K77ju1SEUhj26xMAvH4K/oYwaRqFsTg
Xsfo729BNZZCy4hziDnN6WL+n9xaxqmpg5JZGbEFB7QuZOujlwrpDrP6PnSP/1T0
0J3+24CBq6U5YQ4EaqQP
=2LhM
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5385da5d.7090...@fastmail.fm



Re: media 'slideshow': movies + pictures

2014-05-28 Thread Chris Angelico
On Wed, May 28, 2014 at 10:22 PM, Andrei POPESCU
 wrote:
> On Mi, 28 mai 14, 21:57:32, Chris Angelico wrote:
>> On Wed, May 28, 2014 at 9:36 PM, The Wanderer  wrote:
>> > Stephen Allen said that Shotwell can do both, and Joe Zien said that
>> > Gwenview can as well. You might look at one of those.
>>
>> Also: I just ran VLC on a directoryful of jpgs, and it happily played
>> me a slideshow with ten seconds per frame. Mixing up media types seems
>> to work fine:
>
> [...]
>
>> Randomizing is left as an exercise for the reader, though.
>
> vlc has a lot of command-line options, -Z/--random seems interesting ;)

... wow. So it is. Andrei, I hope you parked Guido's time machine back
in its proper place, he might need it again.

I expect all readers to get an A+ on this exercise.

So, uhh... Here's my recommendation: Use "vlc -Z some-directory/*", job done! :)

Interestingly, the playlist still seems to be in the order the
arguments were provided (on my system, that means sorted by bash,
since bash does the glob expansion), but at the end of each track, VLC
goes to a random track rather than to the next one. It does seem to be
consistent, though; hitting 'n' a few times jumps around and then
loops, and finally repeats the same sequence.

By the way, I recommend either -L/--loop or --play-and-exit (or the
equivalent config options). A script that runs "vlc --play-and-exit
blah blah; sudo shutdown -P now" would mean the device powers down at
the end of the playlist.

ChrisA


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



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Andrei POPESCU
On Mi, 28 mai 14, 21:39:24, Chris Angelico wrote:
> 
> It's off-topic for this list,

CC: and Reply-To: -offtopic

> but I would be very curious to know how
> much extra, on average, people would pay in order to get an IPv6
> netblock. Maybe it really isn't commercially important.

ISP: You can get a whole network block for just $AMOUNT per $PERIOD
Customer: I just want my internet to work, why would I need a whole 
network block?
ISP: We are switching to this new generation internet which means all 
customers will receive entire network blocks instead of a single address
Customer: Then, why do I need to pay extra?


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: no longer sound on amd64 sid systems

2014-05-28 Thread Elimar Riesebieter
* Paul Pignon  [2014-05-28 14:53 +0300]:

[...]
> > please post the output of:
> > 
> > root@debianHP: find /lib/modules -name 'snd-hda*'

What gives this for an output?

[...]
> I still don't know what to put instead of dell.

Nothing!

[...]

> Yes, I can see that in future this would matter, but just now
> alsa-base.conf is still there so if it has the correct entry all
> should be well. Nonetheless, I did as you suggested and took away
> the conf lines from alsa-base.conf, put them in a new .conf file
> (/etc/balsa.conf), but that didn't change anything, still get the
> "invalid argument" error, and have no idea what argument is
> required.

You don't need to put any further phrases to files in
/etc/modprobe.d/

> So, any further suggestions would be greatly appreciated. I need
> sound, and it used to work fine!

Just be a bit more cooperative ;-)

Elimar
-- 
 The path to source is always uphill!
-unknown-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140528122425.gc19...@baumbart.home.lxtec.de



Re: media 'slideshow': movies + pictures

2014-05-28 Thread Andrei POPESCU
On Mi, 28 mai 14, 21:57:32, Chris Angelico wrote:
> On Wed, May 28, 2014 at 9:36 PM, The Wanderer  wrote:
> > Stephen Allen said that Shotwell can do both, and Joe Zien said that
> > Gwenview can as well. You might look at one of those.
> 
> Also: I just ran VLC on a directoryful of jpgs, and it happily played
> me a slideshow with ten seconds per frame. Mixing up media types seems
> to work fine:

[...]

> Randomizing is left as an exercise for the reader, though. 

vlc has a lot of command-line options, -Z/--random seems interesting ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: no longer sound on amd64 sid systems

2014-05-28 Thread Paul Pignon


> To: debian-user@lists.debian.org
> Subject: Re: no longer sound on amd64 sid systems
> From: Elimar Riesebieter 
> Date: Fri, 23 May 2014 14:04:35 +0200
> Message-id: <20140523120435.ga32...@baumbart.home.lxtec.de>
> Mail-followup-to: debian-user@lists.debian.org
> In-reply-to: <537f2c5a.1020...@gmail.com>
> References: <537f2c5a.1020...@gmail.com>
> * Paul  [2014-05-23 13:09 +0200]:
> 
> [...]
> > /That just gets me
> > root@debianHP:/usr/lib/pd-extended/extra# modprobe -v snd-hda-intel
> > insmod /lib/modules/3.2.0-4-amd64/kernel/sound/pci/hda/snd-hda-codec.ko
> > ERROR: could not insert 'snd_hda_intel': Invalid argument

and I also get this
root@debianHP:/home/paul# modprobe -f snd-hda-intel
ERROR: could not insert 'snd_hda_intel': Exec format error

> 
> please post the output of:
> 
> root@debianHP: find /lib/modules -name 'snd-hda*'
> 
> > /
> > >>
> [...]
> > options snd_hda_intel model=laptop
> > #options snd_hda_intel index=0 model=auto
> 
> Remove those entries.

Did that

> 
> > //I recently made that change to model=laptop on the advice of someone else
> > on this forum AFAIR.
> > 
> > //
> > /
> > >
> > >No, please do
> > >
> > ># echo "options snd-hda-intel model=dell" >> /etc/modprobe.d/local.conf
> > /I don't want to put dell of course as this is and HP machine, what is the
> > recognized identifier in this case?

I still don't know what to put instead of dell.

> > And why would it make any difference just now if that line is in some other
> > .conf file?
> 
> Read this:
> > >
> > >as alsa-base.conf will be purged in Jessie. You can choose a filename
> > >as you want but with the extension .conf.

Yes, I can see that in future this would matter, but just now alsa-base.conf is 
still there so if it 
has the correct entry all should be well. Nonetheless, I did as you suggested 
and took away the conf 
lines from alsa-base.conf, put them in a new .conf file (/etc/balsa.conf), but 
that didn't change 
anything, still get the "invalid argument" error, and have no idea what 
argument is required.

So, any further suggestions would be greatly appreciated. I need sound, and it 
used to work fine!

/Paul
> 
> Elimar



-- 
Paul Pignon
The DP Works
S. Jordbrov. 177/II
13762 Jordbro
Sweden
Tel. +46 8 50026047
Mob. +46 729311141, +46 705508655
Skype: paulspignon


Re: media 'slideshow': movies + pictures

2014-05-28 Thread Chris Angelico
On Wed, May 28, 2014 at 9:36 PM, The Wanderer  wrote:
> Stephen Allen said that Shotwell can do both, and Joe Zien said that
> Gwenview can as well. You might look at one of those.

Also: I just ran VLC on a directoryful of jpgs, and it happily played
me a slideshow with ten seconds per frame. Mixing up media types seems
to work fine:

$ vlc "Music/American McGee's Alice Original Music Score (2000)
FLAC/15 Chris Vrenna - Flying on the Wings of Steam.flac"
"LetHerGo2.mid" "Pictures/flickr-3486537506-original.jpg"
"/video/Clips/Frozen - Let It Go.mkv"

Well, actually my VLC won't play the MIDI file (which, incidentally,
is a completely different piece of music from the one in the mkv at
the end), but it happily mixes types. Point it at some_directory/* and
watch it go!

Randomizing is left as an exercise for the reader, though. Personally,
I'd script it as a Pike one-liner, thus:

$ pike -e 'Process.exec("vlc",@Array.shuffle(get_dir()))'

But I don't know how to do it cleanly with just shell commands.
Presumably it would be possible with sort -R, but I'd rather drop to a
scripting language :)

ChrisA


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



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Chris Angelico
On Wed, May 28, 2014 at 9:31 PM, Brad Rogers  wrote:
> On Wed, 28 May 2014 21:25:23 +1000
> Chris Angelico  wrote:
>
> Hello Chris,
>
>>still trying to convince his ISPs that IPv6 is worth supporting
>
> Hard, isn't it?
>
> Several (many?) ISPs in these parts seem to be doing the equivalent of
> sticking their fingers in their ears and humming loudly, when if
> customers even mention IPv6.
>
> In the end, I voted with my wallet.

Sadly, the contract is bound up in arrangements covering telephony as
well, so it would be quite expensive to change providers. There's only
one ISP in this area that has IPv6, and it's even owned by our current
ISP, but the parent company is in no rush to deploy v6. They do
acknowledge the importance, yes, but it's not considered commercially
important. (When will it? I don't know. Even when it's all in the
news, like with the IPv4 address exhaustion in Feb 2011, nobody seemed
too concerned.)

It's off-topic for this list, but I would be very curious to know how
much extra, on average, people would pay in order to get an IPv6
netblock. Maybe it really isn't commercially important.

ChrisA


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



Re: media 'slideshow': movies + pictures

2014-05-28 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 05/28/2014 07:14 AM, Wim Bertels wrote:

> tnx for the replies,
> but as a summary there doesn’t seem to be a program that does this
> straight away.
> 
> there are:
> - image viewers
> - movie viewers
> but not one that combines them

Stephen Allen said that Shotwell can do both, and Joe Zien said that
Gwenview can as well. You might look at one of those.

- --
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJThcopAAoJEASpNY00KDJrEO8P/jYneOy8z7kkOTEWzcH1mRxy
wfunwMJoue8iAb/TvL0MXbWxIkVzI3kqHUfiqx+hcJBeunoQVQ/Bax5anwwyozL1
EzVmrl3fbBqG1yBnMA0vxp3fgUflH+R/zvKTIg5eSkEVhfA3jhLS218qVXrFHCc2
RV5AQgt0hpyGdYojr7k/vHpvuY7LvCdsU7sN/WDxj7R/+eAs5th8sU+n/piHuigu
WAFeZYJ6co/EqF0vyVGj2STHGCt3B54jdi37qDUxHoxZ/v3bNFItkcGuIbUoI4x9
ptc5bjJ5s7xov2NBY/0K1t2d25zz0T5hePkVAEcgEXab3AOAIIND9DJImRbnkXvu
fAYWWkdbVDe0CATCqx4t3aUY7ky5yfHpJ13NNcpRFxFDUmcNK96M1ud7sdQZ8zKB
yfywh63LNlfNUNqNtsbCsUOhrdqNACqETONoEyMEUFCS0Mi3uUmnplVe6VcyEU94
DgwF/EKZH7pPihDsL6lBuobMzH810UoFRZn4OmxVphzJ6v/H2XPtQ6CXD6G88oGF
QjvFAaEBmnzhG7p/xaT8X6WOdjwHgCw0vx30he0e2HwIIEia8UYNHDrX5Ui1JmnF
0WQBdsfl57GHX6nPpsK2sAOrI8XFOjnP/TNbZzrUwfCElFDzHfNtZOb9foiskkoZ
+w2De0iy0S545LqESUwF
=Aw+l
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5385ca29.5030...@fastmail.fm



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Brad Rogers
On Wed, 28 May 2014 21:25:23 +1000
Chris Angelico  wrote:

Hello Chris,

>still trying to convince his ISPs that IPv6 is worth supporting

Hard, isn't it?

Several (many?) ISPs in these parts seem to be doing the equivalent of
sticking their fingers in their ears and humming loudly, when if
customers even mention IPv6.

In the end, I voted with my wallet.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Tell the dinosaurs they just won't survive
The History Of The World (Part 1) - The Damned


signature.asc
Description: PGP signature


Re: about heirloom mailx

2014-05-28 Thread Chris Davies
Richard Hector  wrote:
> I'm not currently using heirloom mailx, or exim, so testing it is a bit
> hard - but are you getting the prompt _before_ the debug output?

This is how I've seen the mail / mailx tools work since, I think, at
least the last twenty years. (Ouch!) So I would suggest it's really
quite likely this is the situation here.

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/j9pg5bx1mo@news.roaima.co.uk



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Chris Angelico
On Wed, May 28, 2014 at 9:03 PM, Joe  wrote:
> The point here is that all modern hardware is capable of IPv6, and
> even if you aren't using it, malware writers may be. And by default, a
> Debian machine is wide open to IPv6, and some of its software is
> listening to it. Run a netstat to see which.

On the other hand, internet connections generally don't offer IPv6
without loudly proclaiming it as an advertisable feature, so if your
computer is v6 accessible from the internet, you probably know.

ChrisA
still trying to convince his ISPs that IPv6 is worth supporting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/captjjmoy8++ztayqapagybp9u7z-hpr+k9qcowm_saap8rm...@mail.gmail.com



squashfs(: mountable tar.gz) sort option

2014-05-28 Thread Wim Bertels
Hallo,

u can think of squasfs as a mountable tar.gz (more info on the website
below)

has anyone got experience with the sort option in mksquashfs?

on http://squashfs.sourceforge.net/
in the presentation the sort option is way to optimize compression,
but i didn't find any examples or explainations on how to do that.

For now i've used:

$ ionice -c 3 nice -n 19 mksquashfs dir_to_archive/ archive.squashfs
-comp xz -Xbcj x86 -Xdict-size 75% -always-use-fragments -b 1024

Suggestions to further optimize the compression?

mvg,
Wim


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1401276198.5774.60.camel@zwerfkat



Re: media 'slideshow': movies + pictures

2014-05-28 Thread Wim Bertels
tnx for the replies,
but as a summary there doesn’t seem to be a program that does this
straight away.

there are:
- image viewers
- movie viewers
but not one that combines them

i'll have to look at moosic,or
try a script:
"
find the files 
sort random
use file to determine type and then choose appropriate viewer
"

ps: goal, setup a dynamic random slideshow (pic + movie) for the
grandmother only using the power button

On Sat, 2014-05-24 at 10:35 -0400, The Wanderer wrote:
> On 05/24/2014 09:33 AM, Stephen Allen wrote:
> 
> > On Fri, May 23, 2014 at 06:37:35PM +0200, Wim Bertels wrote:
> > 
> >> Hallo,
> >> 
> >> does anyone know a free program to display pictures and movies as a
> >> presentation
> >> (mplayer and vlc don't seem to do that)
> >> 
> >> eg ideally as simple as:
> >> $ programX -r media/
> >> would show them in a random order
> >> 
> >> where /media
> >> has a tree subdir structure containing movies and pictures
> > 


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


Re: iptables, virtualbox and port forwarding

2014-05-28 Thread Joe
On Wed, 28 May 2014 11:36:03 +0200
berenger.mo...@neutralite.org wrote:


> 
> I do not think I need ipv6 for now. I'll start with the probably
> easier ipv4, and maybe someday I'll experiment with the v6, if I have
> the opportunity to work in a v6 LAN.
> 
> 

The point here is that all modern hardware is capable of IPv6, and
even if you aren't using it, malware writers may be. And by default, a
Debian machine is wide open to IPv6, and some of its software is
listening to it. Run a netstat to see which.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140528120354.3bbc9...@jretrading.com



Re: about heirloom mailx

2014-05-28 Thread Curt
On 2014-05-28, Harry Putnam  wrote:
>
> But shouldn't I get the prompt back when the process
> completes.. without having to do anything extra?
>
> Or am I just not using it correctly from the gate?
>

Well the man page says:

   Ending a mail processing session
You can end a mail session with the quit (q) command.

So I think what you're seeing is "normal" (horrible word that).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnlobck0.2bq.cu...@einstein.electron.org



Re: iptables, virtualbox and port forwarding

2014-05-28 Thread berenger . morel



Le 28.05.2014 00:13, Joe a écrit :

On Tue, 27 May 2014 18:24:41 +0200
berenger.mo...@neutralite.org wrote:


Hello list.

I am trying to build a virtual network exposing servers accessible
from the LAN.
I have done a lot of searches on the web and it worked last week, 
but
since then, I have restarted my computer and had the nice surprise 
to

learn that the iptables command does not save it's configuration.
I tried to retrieve my configuration, but am failing ( I tried to
understand what I did with the history command, but sadly I am 
always

working with tons of terminals and so, I suspect that it is not the
correct history... ), and same to find anew the articles which
actually make things working.

I had some network knowledge in the past, but never really practiced
it, so I have lost almost everything. I already have used some
firewalls, but those were some Windows ones ( I was not a linux user
at that time ) and so I have never played  with iptables.

So I ask for 2 things:
_ help on this particular problem
_ if someone knows about resources to learn and understand how
exactly iptables work, this would help me a lot in the future

Google will provide you with many thousands. The usual question 
arises
as to which of them are up to date, there have been a few small 
changes

in iptables, and some may rely on the sysv init system, which is fast
disappearing.


Yes, and this is exactly the problem, I have spent a lot of time on 
search engines, which allowed me to have port forwarding working from 
172.20.14.XX:80 to 10.10.10.30:80.
Problem is, rules vanished since then, and my memory about the exact 
configuration or search keywords too.
And to add to the fun, I remember having discovered after several hours 
last week that the port forwarding rules I built did not allowed the 
host computer to access the VM, at least, not when asking on host'IP ( 
aka 172.20.14.XX ).

So, maybe it did worked before I discovered that particular point.


Debian also has the package
iptables-persistent, which does just this.


Thanks for the hints, they will be useful.




For my particular problem.

Sorry about this, routing to VMs can offer unexpected challenges, and 
I

haven't used any with any routing complexity for a few years, so I
can't help much. The only VM I currently use does NAT.

As I recall, broadly, to avoid NAT, the VM must use a bridging 
network

connection (virtualbox does either easily) and the VMs must therefore
have IP addresses compatible with the TCP/IP settings of the real 
NIC,
in other words they must be set up as if they are real machines on 
the
same network as the host. I vaguely recall setting up the real NIC as 
a
br0 interface rather than eth0, plus a bit more tweaking. I think. It 
is
some time since I did this, and there is no remaining evidence. 
[Further

disclaimers as required]. It is also possible that the virtualbox
system does more to help now.


In fact, I used the package vlan and some configuration inside 
/etc/network/interface of the host to have the host having a virtual 
second ethernet connexion, on which the VMs are connected.
In the facts, there are 2 LANs, with the host computer being the 
router.



Oh, yes, if IPv6 is allowed into your network, there is also an
ip6tables, which is completely independent of the v4 system, and by
default allows anything anywhere. I currently have no use for v6, so
I've just added drop policies to my main ruleset, and that seems to
work.

--
Joe


I do not think I need ipv6 for now. I'll start with the probably easier 
ipv4, and maybe someday I'll experiment with the v6, if I have the 
opportunity to work in a v6 LAN.



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