Re: open office install fails

2013-06-22 Thread David Sastre Medina
On Sat, Jun 22, 2013 at 06:17:43AM -0400, Jeff Shearer wrote:
 I am using Debian 7.? I upgraded from 6 recently.? My attempt to install 
 the open office productivity suite seems to have failed.? While synaptic 
 indicates it is installed, I cannot find it on the reall bad new GUI.? Also, 
 I noted that none of
 the applications like writer indicate they are installed.? Do I need to 
 install each of them manually?

My suggestion would be to purge all of Open Office and switch to Libre
Office.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: syslinux, live-build - looking for files

2013-03-24 Thread David Sastre Medina
On Sat, Mar 23, 2013 at 07:31:21PM +0100, Hans-J. Ullrich wrote:
 Hi folks, 
 
 I am looking for the following files for wheezy:
 
 ldlinux.c32
 libcom32.c32
 libutil.c32
 
 They should be in package live-build:
 
 apt-file search ldlinux.c32
 live-build: /usr/share/live/build/bootloaders/extlinux/ldlinux.c32
 live-build: /usr/share/live/build/bootloaders/isolinux/ldlinux.c32
 live-build: /usr/share/live/build/bootloaders/pxelinux/ldlinux.c32
 live-build: /usr/share/live/build/bootloaders/syslinux/ldlinux.c32
 
 But there are only a symlink to /usr/lib/syslinux/l*.c32
 
 I suppose the related packages are syslinux and syslinux-common.
 If someone got these files somehow maybe from an older installation or 
 another 
 distribution, it would be nice, if he could send me.
 
 On the other hand it might be a bug? I need those files to create a live-cd.

All three files can be found in the upstream package¹ (pick the version
you need):

$ atool -l syslinux-5.01.zip | grep -E 'l(dlinux|ib(util|com32)).c32'
24812  2013-01-28 17:55   com32/libutil/libutil.c32
   115784  2013-01-28 17:55   com32/elflink/ldlinux/ldlinux.c32
   184268  2013-01-28 17:55   com32/lib/libcom32.c32

Indeed, it looks like a (syslinux-common?) packaging bug, as the target 
for those files can't be found in the package:

# apt-file search /usr/lib/syslinux/l*.c32
syslinux-common: /usr/lib/syslinux/linux.c32

¹ https://www.kernel.org/pub/linux/utils/boot/syslinux/

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: syslinux, live-build - looking for files

2013-03-24 Thread David Sastre Medina
On Sun, Mar 24, 2013 at 06:45:51PM +0100, Hans-J. Ullrich wrote:
 Am Sonntag, 24. März 2013 schrieben Sie:
  On Sat, Mar 23, 2013 at 07:31:21PM +0100, Hans-J. Ullrich wrote:
   I am looking for the following files for wheezy:
   
   ldlinux.c32
   libcom32.c32
   libutil.c32
   
   They should be in package live-build:
   
   apt-file search ldlinux.c32
   live-build: /usr/share/live/build/bootloaders/extlinux/ldlinux.c32
   live-build: /usr/share/live/build/bootloaders/isolinux/ldlinux.c32
   live-build: /usr/share/live/build/bootloaders/pxelinux/ldlinux.c32
   live-build: /usr/share/live/build/bootloaders/syslinux/ldlinux.c32
   
   But there are only a symlink to /usr/lib/syslinux/l*.c32
  
  All three files can be found in the upstream package¹ (pick the version
  you need):
  
  $ atool -l syslinux-5.01.zip | grep -E 'l(dlinux|ib(util|com32)).c32'
  24812  2013-01-28 17:55   com32/libutil/libutil.c32
 115784  2013-01-28 17:55   com32/elflink/ldlinux/ldlinux.c32
 184268  2013-01-28 17:55   com32/lib/libcom32.c32
  
  Indeed, it looks like a (syslinux-common?) packaging bug, as the target
  for those files can't be found in the package:
  
  # apt-file search /usr/lib/syslinux/l*.c32
  syslinux-common: /usr/lib/syslinux/linux.c32
  
  ¹ https://www.kernel.org/pub/linux/utils/boot/syslinux/
 Nope, it is ldinux.c32 and not linux.c32 that I am looking for.

Precisely, that's what I'm trying to show (maybe not very
successfully). The sylinux-common package does not contain files
matching /usr/lib/syslinux/l*.c32 other than linux.c32.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Fixing /proc/mtab

2013-03-08 Thread David Sastre Medina
On Fri, Mar 08, 2013 at 10:19:36AM +0100, Maroš Žilka wrote:
 Hi,
 
 we have problem and its bit complicated to explain but i will try.
 There are two servers on same LAN (let's say server A and server B) on
 both is mounted same storage(S1) on /apps/ . We created dir on that
 storage /test so on server A and server B it shoes as /apps/test but
 on server A we mounted on /apps/test other storage (S2) and on server
 B there was mounted again other storage (S3). We wanted to delete
 /apps from both servers so we first unmounted S3 on server B and
 deleted test dir (which was shared on A and B) which made server A
 messed up coz there was still mounted S2 on path which doesnt rly
 exist now...
 when we list mounts with mount it shows is it but when we want to
 umount it says path (dir) not found or doesnt exist.
 we tried to recreate test and then mount/umount it but that just
 created new entry and after umounting original mount was still listed
 by mount.
 If I am right mount reads info from /etc/mtab which is linked to /proc/mtab
 is there any way to flush/clear/update /proc/mtab ? Its important to
 keep server running...

You never say how do you share your filesystems, NFS?
If that is the case, try restarting the NFS server, or at least (if
can't do that) 'exportfs -rva'. You might have stale filehandles, in which case,
you'll probably need to reboot.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Installer not reading preseed.cfg

2013-03-08 Thread David Sastre Medina
On Fri, Mar 08, 2013 at 06:21:39AM -0600, keshav prabhakar wrote:
 
  This would imply preseeding might have set up networking. Has it?
 Networking is setup by the kernel boot parameters that are on the 'append' 
 line. It looks like this:
  append initrd=Debian-6.0.7-amd64/netboot/initrd.gz interface=eth1 
 domain=mydomain netcfg/get_nameservers=x.x.x.x netcfg/get_hostname=myhostname 
 locale=en_US debian-installer/country=US debian-installer/language=en 
 debian-installer/keymap=us console-keymaps-at/keymap=American English 
 auto=true priority=critical 
 preseed/url=http://192.168.1.12/anaconda/cfg/preseed.cfg

This is a snippet of what I use in the tftp server side, adapt it to your needs:

label debian6_64
  menu label Install - ^Debian Wheezy 64
  kernel debian-installer/amd64/linux
  initrd debian-installer/amd64/initrd.gz
  append locale=en_US.UTF-8 console-keymaps-at/keymap=es auto=true 
priority=critical url=http://10.0.0.2/preseed.cfg

Note it's not 'preseed/url', but 'url' alone.
Hope it's useful.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Further to mirrors..........

2013-03-08 Thread David Sastre Medina
On Sat, Mar 09, 2013 at 12:48:54AM +1100, Charlie wrote:
 
This is the speed test I just completed. Not brilliant but abot as
good as it gets for me here:

Have you tried pinging those hosts? or tracerouting them? name
resolution problems? do you use a proxy?

Something like:

# ping -c1 ftp.de.debian.org
PING ftp.de.debian.org (141.76.2.4) 56(84) bytes of data.
64 bytes from ftp.de.debian.org (141.76.2.4): icmp_req=1 ttl=50 time=93.6 ms

--- ftp.de.debian.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 93.694/93.694/93.694/0.000 ms

# dig ftp.de.debian.org

;  DiG 9.8.4-rpz2+rl005.12-P1  ftp.de.debian.org
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 7604
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ftp.de.debian.org. IN  A

;; ANSWER SECTION:
ftp.de.debian.org.  2620IN  A   141.76.2.4

;; Query time: 73 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Mar  8 15:25:32 2013
;; MSG SIZE  rcvd: 51

# tracepath ftp.de.debian.org
 1:  pris.crapsteak.org0.092ms pmtu 1500
 1:  router.crapsteak.org  1.195ms
 1:  router.crapsteak.org  1.082ms
 2:  router.crapsteak.org  1.129ms pmtu 1492
 2:  192.168.153.155.957ms
 3:  241.Red-81-46-69.staticIP.rima-tde.net   55.899ms
 4:  So2-0-0-0-grtmadpe3.red.telefonica-wholesale.net166.974ms asymm  7
 5:  Xe7-1-3-0-grtmadno1.red.telefonica-wholesale.net 56.574ms asymm  8
 6:  213.140.55.178   90.845ms asymm  9
 7:  4.69.158.181103.649ms asymm 14
 8:  ae-61-61.csw1.Frankfurt1.Level3.net 288.445ms asymm 13
 9:  ae-3-80.edge5.Frankfurt1.Level3.net  93.170ms asymm 12
10:  212.162.4.6  88.419ms asymm 13
11:  cr-erl1-te0-0-0-2-5.x-win.dfn.de102.770ms asymm 12
12:  cr-erl1-te0-7-0-1.x-win.dfn.de  101.836ms
13:  kr-dre80-0.x-win.dfn.de 363.887ms
14:  ftp.de.debian.org   109.914ms reached
 Resume: pmtu 1492 hops 14 back 50

After that, and once you have discarded local problems, you can use
some external service:

http://www.downforeveryoneorjustme.com/

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: unattended-upgrades not working

2013-03-07 Thread David Sastre Medina
On Wed, Mar 06, 2013 at 11:34:33PM +0100, A wrote:
 On Wed, Mar 6, 2013 at 9:03 PM, David Sastre Medina 
 d.sastre.med...@gmail.com wrote:
 
  On Wed, Mar 06, 2013 at 08:32:47PM +0100, A wrote:
   Hola, David,
  
   The file exists under that path, but I can't confirm if it's running
  since
   'invoke-rc.d unattended-upgrades status' returns no output. The same for
   'start' or 'stop' options, no output. I've checked that the proper
  symlinks
   to the file exist under /etc/rc0.d and /etc/rc6.d.
  
   In addition, after checking the content of the file [1], I think that it
   would affect unattended-upgrades only if the option
   Unattended-Upgrade::InstallOnShutdown in
   /etc/apt/apt.conf.d/50unattended-upgrades would be true. Which is not
   my case.
   Anyway, I would appreciate if you could provide a way to check if the
   /etc/init.d/unattended-upgrades is up and running.
 
  Apparently, there's no such service, it's simply a hook to be run on
  shutdown.
  Have you checked if manually calling the program, e.g:
 
  # unattended-upgrade --dry-run
 
  works as expected?
 
 
 Yes, I've tried it even adding the debug argument -d to your line above
 and the program works with no errors. The only error is that it doesn't run
 by itself, which would be great for an unattended task.
 
 
 
  Does the package provide a cron job for scheduled unattended upgrades?
  If not, you might need to write one yourself.
 
 
 If it does, which I think it should, I can't spot it. I've checked
 /etc/crontab and inside /etc/cron.{hourly,daily,weekly,monthly} and I
 can't see any reference to unattended upgrades.
 
 If you have to enable unattended-upgrades by yourself using a cron job, I
 don't see what's the point of the paragraph:
 
 If you would prefer to enable it from the command line, run
 sudo dpkg-reconfigure -plow unattended-upgrades.
 
 inside /usr/share/doc/unattended-upgrades/README. If running the line
 above is not enough to enable the script, they should document all the
 steps to take.

This is from /etc/cron.daily/apt:

# auto upgrade all upgradeable packages
UPGRADE_STAMP=/var/lib/apt/periodic/upgrade-stamp
if which unattended-upgrade /dev/null  check_stamp $UPGRADE_STAMP 
$UnattendedUpgradeInterval; then
if unattended-upgrade $XUUPOPT; then
update_stamp $UPGRADE_STAMP
debug_echo unattended-upgrade (success)
else
debug_echo unattended-upgrade (error)
fi
else
debug_echo unattended-upgrade (not run)
fi

which is provided by apt:

# apt-file search /etc/cron.daily/apt
apt: /etc/cron.daily/apt

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: unattended-upgrades not working

2013-03-07 Thread David Sastre Medina
On Thu, Mar 07, 2013 at 12:47:31PM +0100, A wrote:
 On Thu, Mar 7, 2013 at 11:18 AM, David Sastre Medina 
 d.sastre.med...@gmail.com wrote:
 
  This is from /etc/cron.daily/apt:
 
  # auto upgrade all upgradeable packages
  UPGRADE_STAMP=/var/lib/apt/periodic/upgrade-stamp
  if which unattended-upgrade /dev/null  check_stamp $UPGRADE_STAMP
  $UnattendedUpgradeInterval; then
  if unattended-upgrade $XUUPOPT; then
  update_stamp $UPGRADE_STAMP
  debug_echo unattended-upgrade (success)
  else
  debug_echo unattended-upgrade (error)
  fi
  else
  debug_echo unattended-upgrade (not run)
  fi
 
  which is provided by apt:
 
  # apt-file search /etc/cron.daily/apt
  apt: /etc/cron.daily/apt
 
 
 Yes, I can see the code but I still can't find why the package is not
 working. Should I contact the maintainer?

I assume you already opened a bug report¹ regarding this.

¹http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702509

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Who may post on the list.

2013-03-06 Thread David Sastre Medina
On Mon, Mar 04, 2013 at 08:21:08AM -0600, Hugo Vanwoerkom wrote:
 Lisi Reisz wrote:
 snip
 
 For those persons getting tired of these non-technical posts, check
 out debian user spanish. High quality posts and replies and Camaleón
 is still there.

Oh, boy. I left that ML a long time ago tired and frustated of too much
useless anger.
Glad to read it has improved since.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Wheel mouse inop

2013-03-06 Thread David Sastre Medina
On Tue, Mar 05, 2013 at 12:38:31AM -0600, Ben Ritchey wrote:
 I am running Debian 6.0.6 in a 32-bit VM under Wins 7 and the wheel
 mouse in debian is inoperative. I tried modifying the xorg.conf file
 for mouse type (previous postings elsewhere inidcate that was a fix)
 but to no avail :( How can I enable the wheel in debian?

What are you using as hypervisor? VMWare? VirtualBox? other?
This might be your hypervisor's fault, not the guest OS.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: unattended-upgrades not working

2013-03-06 Thread David Sastre Medina
On Tue, Mar 05, 2013 at 01:01:45PM +0100, A wrote:
 Hi there,
 
 I've been trying to make *unattended-upgrades* working on Wheezy with no
 success so far.
 
 The steps I have followed are:
 
  - Install *unattended-upgrades*
  - Enable it
 
 sudo dpkg-reconfigure -plow unattended-upgrades
 
  - Uncomment the following lines in
 */etc/apt/apt.conf.d/50unattended-upgrades*
 
 o=Debian,n=wheezy;
 o=Debian,n=wheezy-updates;
 o=Debian,n=wheezy-proposed-updates;
 o=Debian,n=wheezy,l=Debian-Security;
 
  - Wait two days
 
 
 It's supposed to run every day, but it did nothing by the time. I've
 checked its logs at */var/log/unattended-upgrades/* and apt history log at
 */var/log/apt/history.log* but nothing happened there since the
 installation.
 
 Is there any step I am missing to enable it? After reading the doc under
 */usr/share/doc/unattended-upgrades/README*, I think that the above are the
 only ones you have to follow to get it running.
 By the way, I use to shut down this box every night and turn it on again in
 the morning, so I installed *anacron* to prevent *cron* from missing its
 *cron.daily* jobs if the machine is off.
 
 Thanks in advance for your support.

From the package's file list¹, I see there's a service script:

/etc/init.d/unattended-upgrades

is it running and configured to be run on boot?

¹ http://packages.debian.org/wheezy/all/unattended-upgrades/filelist

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: unattended-upgrades not working

2013-03-06 Thread David Sastre Medina
On Wed, Mar 06, 2013 at 08:32:47PM +0100, A wrote:
 Hola, David,
 
 The file exists under that path, but I can't confirm if it's running since
 'invoke-rc.d unattended-upgrades status' returns no output. The same for
 'start' or 'stop' options, no output. I've checked that the proper symlinks
 to the file exist under /etc/rc0.d and /etc/rc6.d.
 
 In addition, after checking the content of the file [1], I think that it
 would affect unattended-upgrades only if the option
 Unattended-Upgrade::InstallOnShutdown in
 /etc/apt/apt.conf.d/50unattended-upgrades would be true. Which is not
 my case.
 Anyway, I would appreciate if you could provide a way to check if the
 /etc/init.d/unattended-upgrades is up and running.

Apparently, there's no such service, it's simply a hook to be run on
shutdown.
Have you checked if manually calling the program, e.g:

# unattended-upgrade --dry-run

works as expected?

Does the package provide a cron job for scheduled unattended upgrades?
If not, you might need to write one yourself.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Debian quiet boot

2012-07-12 Thread David Sastre Medina
On Wed, Jul 11, 2012 at 06:59:56PM +0200, Ralf Mardorf wrote:
 On Wed, 2012-07-11 at 16:52 +, Camaleón wrote:
  On Wed, 11 Jul 2012 20:49:12 +0430, Mostafa Hashemi wrote:
  
  (remember to send in plain text...)
  
   thank you my friends
   where should i add quiet nosplash exactly ? any other ways 
  
  In Wheezy, that's the default, I guess. 
  
  It can be set from /etc/default/grub file, variable 
  GRUB_CMDLINE_LINUX_DEFAULT=quiet, not sure for squeeze, though.
 
 For AVLinux (stable, squeeze) there's also such a file with such an
 entry. I'm using another grub, however, I suspect that quiet nosplash
 will not do what the OP wants to get.

There's plymouth.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: chroot or virtual machine

2012-05-15 Thread David Sastre Medina
On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote:
 Hi all
 
 I'm planning on setting up my new media server.
 
 So I was thinking of putting mythbackend, logitech media server, 
 rtorrent, nfs, samba, etc. into virtual machines.

A virtual machine for every server? On what purpose?
Is it about security?

 There's a discussion in the mythtv-users mailing list about virtual 
 machines. Especially this post got me thinking: 
 http://www.gossamer-threads.com/lists/mythtv/users/517075#517075
 Is it possible to have a working mythbackend and test a new version. If 
 all goes well replace the production backend?

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: server monitoring

2012-05-15 Thread David Sastre Medina
On Mon, May 14, 2012 at 03:10:55PM +0200, Stanisław Findeisen wrote:
 What tools would you recommend for monitoring the following on a server? :
 
I'd say you need several different things here:

 * kernel + process images in memory
 * shape of the process tree

-snmpd
-cgroups configuration, if I'm understanding you correctly.

 * binary integrity of files + permissions
 * users, groups

-Integrity and/or intrusion detection: aide, tripwire and alikes, plus
a centralized configuration management system: say puppet, chef,
cfengine, ...

 * network connections

-snmpd
-iptables, psad, fail2ban, etc
(and before someone jumps in and say: those are not monitoring
tools, think twice)

 * user sessions

-snmpd, IIRC

 * log files
 How about reporting? Logging would be good but logging to a local file
 is problematic as that could be compromised on a server hack...

WRT to logging security, syslog-ng can use TCP (more relable than UDP)
and SSL/TLS security. And you can always log to a remote server if you
are concerned about security.

After having these tools installed and configured, you can start using
a monitoring solution to integrate all the info in a centralized web
view. I know nagios is pretty standard, but what most people is not
telling is most its developers fleed. You should check Icinga instead.
https://www.icinga.org/2011/11/03/icinga-vs-nagios-a-developers-comparison/
My personal choice is zabbix. The only thing I miss with zabbix is
snmpv3 SHA/AES support. Other would be munin, cacti.

Most probably all of those monitoring solutions have templates for
OSes and applications (apache, jboss, ... you name it)

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: chroot or virtual machine

2012-05-15 Thread David Sastre Medina
On Tue, May 15, 2012 at 12:51:44PM +0200, Arnt Karlsen wrote:
 On Tue, 15 May 2012 11:45:58 +0200, David wrote in message 
 20120515094556.ga4...@pris.crapsteak.org:
 
  On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote:
   Hi all
   
   I'm planning on setting up my new media server.
   
   So I was thinking of putting mythbackend, logitech media server, 
   rtorrent, nfs, samba, etc. into virtual machines.
  
  A virtual machine for every server? On what purpose?
  Is it about security?
 
 ..yup, the idea is deny bad code access to as much as possible,
 it can only kill whatever it can see and touch, such as vm's.

I see. SELinux can help, both in the case of using VMs (different VMs
can be executed in different MLS levels), and in the case of not using
VMs at all.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: change local definitions

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 08:55:47AM -0400, Tom H wrote:
 On Tue, May 1, 2012 at 8:08 AM, Ivo Daniel Alves
 ivodaniel.al...@gmail.com wrote:
 
  I'm using Amanda on SL 6.2 to backup several computers including windows
  workstations.
 
  When I do the backups from windows clients, I get some errors when
  compressing with zip because of special chars that like ç á, or ã, for
  example (European portuguese: PT_pt).
   I think this happens because SL is using UFT8 by default. Can I change it
  to iso88591? How? Can I use both char settings?
  In the next lines de output of locale and locale -a
 
  [ivo@mega ~]$ locale
  LANG=pt_PT.utf8
  LC_CTYPE=pt_PT.utf8
  LC_NUMERIC=pt_PT.utf8
  LC_TIME=pt_PT.utf8
  LC_COLLATE=pt_PT.utf8
  LC_MONETARY=pt_PT.utf8
  LC_MESSAGES=pt_PT.utf8
  LC_PAPER=pt_PT.utf8
  LC_NAME=pt_PT.utf8
  LC_ADDRESS=pt_PT.utf8
  LC_TELEPHONE=pt_PT.utf8
  LC_MEASUREMENT=pt_PT.utf8
  LC_IDENTIFICATION=pt_PT.utf8
  LC_ALL=
 
 You can use /etc/sysconfig/i18n.

...if you are on RHEL or CentOS or Fedora.
Debian way would be dpkg-reconfigure locales.

Also, UTF-8 should give you wider coverage than latin-1, IIRC.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Installing packages from Wheezy in Squeeze

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 05:40:24PM +, James Allsopp wrote:
 Hello,
 Is there an easy way of installing a package (namely virtinst) from
 Wheezy in Squeeze? I've tried variations of
 aptitude install -t wheezy virtinst
 and
 aptitude install virtinst/wheezy
 
 but with no joy, It goes through the start process but says there's
 nothing to update or upgrade
 Thanks,
 James

You need to have some repo defined under /etc/apt/sources.list{,d/}
such as your query works.

I usually have the precompiled binaries in one repo and the sources 
in another, to ease backporting:

deb http://ftp.nl.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.nl.debian.org/debian/ sid main non-free contrib

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Mails coming from joe1assis...@gmail.com

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 11:18:14AM +, Camaleón wrote:
 On Mon, 30 Apr 2012 23:17:46 +0100, Brian wrote:
  On Mon 30 Apr 2012 at 20:28:24 +, Camaleón wrote:
  On Mon, 30 Apr 2012 19:28:30 +0100, Brad Rogers wrote:
  
   Well, side-stepped, or buried, not really solved.   :-)
  Yup, but what could I do? The annoying posts are not reaching the list
  neither Gmane's archive so... what do you suggest? I'm all ears O:-)
  A first step is to determine where the mails originate from. It's the
  only data you have.
 E-mail headers say not much (see the link). At least seems to come from a 
 genuine Gmail account:
 
 http://pastebin.com/raw.php?i=Lz8eFuTe
 
 X-Mailer and Message-Id gives some clues about the origin but nothing 
 on why I/we get the posts :-?

I have received spam from that joe1 also.
I'm using the ML directly.
This was triggered answering to a post titled Installing packages
from Wheezy in Squeeze.

http://lists.debian.org/debian-user/2012/05/msg00067.html

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Mails coming from joe1assis...@gmail.com

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 07:01:08PM +0100, Brian wrote:
 On Tue 01 May 2012 at 19:02:57 +0200, David Sastre Medina wrote:
 
  I have received spam from that joe1 also.
 
 You wouldn't happen to still have, would you?

You mean if I still have a copy of the mail?

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Mails coming from joe1assis...@gmail.com

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 07:53:15PM +0100, Brian wrote:
 On Tue 01 May 2012 at 20:50:14 +0200, David Sastre Medina wrote:
 
  On Tue, May 01, 2012 at 07:01:08PM +0100, Brian wrote:
   On Tue 01 May 2012 at 19:02:57 +0200, David Sastre Medina wrote:
   
I have received spam from that joe1 also.
   
   You wouldn't happen to still have, would you?
  
  You mean if I still have a copy of the mail?
 
 Indeed I did. Leaving out 'it' was unintentional.

You'll have to excuse me, English is not my mother language, and I was
unsure of the exact meaning of the question.
Regarding the mail, I do have a copy, would you want me to send it to
you off-list?

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Mails coming from joe1assis...@gmail.com

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 08:15:50PM +0100, Brian wrote:
 On Tue 01 May 2012 at 20:12:19 +0100, Brian wrote:
 
I cannot
  advise you how to get all the headers because I'm not familiar with all
  mail software.
 Of course I can! You are using mutt. Hit the 'h' key.

Here you have: (opening and closing ascii-scissors are mine)

88888888

Delivered-To: d.sastre.med...@gmail.com
Received: by 10.205.113.129 with SMTP id ew1csp101661bkc;
Tue, 1 May 2012 09:46:35 -0700 (PDT)
Received: by 10.52.38.167 with SMTP id h7mr18538279vdk.109.1335890794808;
Tue, 01 May 2012 09:46:34 -0700 (PDT)
Return-Path: joe1assis...@gmail.com
Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46])
by mx.google.com with ESMTPS id du4si12637407vdc.43.2012.05.01.09.46.34
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 01 May 2012 09:46:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of joe1assis...@gmail.com designates 
209.85.212.46 as permitted sender) client-ip=209.85.212.46;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of 
joe1assis...@gmail.com designates 209.85.212.46 as permitted sender) 
smtp.mail=joe1assis...@gmail.com; dkim=pass
header.i=@gmail.com
Received: by mail-vb0-f46.google.com with SMTP id ff1so3736279vbb.5
for d.sastre.med...@gmail.com; Tue, 01 May 2012 09:46:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:reply-to:to:message-id:in-reply-to:subject:mime-version
:content-type:x-mailer;
bh=ySOv2yU/S0o0bxzbmTa+XQpbI74U1KRsZCnxfG+tz/4=;
b=PRnTJS6KBSRB4/SUNgp3ZWPXFIpugSlkCFIYcZKFPM5nKPLAQIuvLFPlOi9+Wsl0Q6
CwKA32jTUkwK7U/SXaH7bSgSW/1V8oRayml2++V/Ag/AC0EVowAX9XJs9O/FEDz0Y7Rg
Y9LHxRS0IUyHX02BinG1vl8D735vxnCHxDLr+WajliOLtdu/rjJvTGohiVE2WbRwVILJ
3K0pXJg/AssBhAkeW7ZDJYM6Qy2Vax0sc3t+oczVN9qmwXWHAP1S56q6U0xB9I133767
riuYc925mYoknmAyxCBuFxSwGIVRCqO/IOMUUwAv/4v5SC8mCRFag5bSLVGkwoX8p6AZ
BK/w==
Received: by 10.52.65.134 with SMTP id x6mr21545426vds.60.1335890794397;
Tue, 01 May 2012 09:46:34 -0700 (PDT)
Return-Path: joe1assis...@gmail.com
Received: from smtp.gmail.com (ec2-174-129-125-98.compute-1.amazonaws.com. 
[174.129.125.98])
by mx.google.com with ESMTPS id ic9sm32898578vdb.4.2012.05.01.09.46.33
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 01 May 2012 09:46:33 -0700 (PDT)
Date: Tue, 1 May 2012 16:46:33 +
From: Debian User List joe1assis...@gmail.com
Reply-To: Debian User List debian-user@lists.debian.org
To: d.sastre.med...@gmail.com
Message-Id: 4fa0135e49286_622ddc940c...@portal.joegiglio.org
In-Reply-To: 20120501164540.gb4...@pris.crapsteak.org
Subject: Re: Installing packages from Wheezy in Squeeze
Mime-Version: 1.0
Content-Type: multipart/alternative; 
boundary=mimepart_4fa0136992aa4_642bdc940c37b
X-Mailer: Assistly Support Platform

Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: Quoted-printable



__
Type your response ABOVE THIS LINE to reply



Re: Installing packages from Wheezy in Squeeze

1QA4xxx2a | May 01, 2012 04:46PM UTC

Thank you for submitting your request. We have received your request and are 
working on responding to you as soon as possible. If you have any additional 
information to add to this case, please
reply to this email.

Thanks in advance for your patience and support.


This message was sent to p...@pete.com in reference to Case #79988.



[[2ca59bf4b6e60bc00b948018424ef725855c532b-1713169]]

8888888


-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: using LVM on a cluster

2012-04-30 Thread David Sastre Medina
On Mon, Apr 30, 2012 at 02:20:31PM +0200, Frank Van Damme wrote:
 Hi.
 
 I am in the process of setting up a small 2-node HA cluster (for NFS,
 active/passive) with a shared disk for storage. Because Corosync and
 pacemaker look nice and good, I am trying to make it work with this
 combination instead of cman, which is what clvm is compiled for in Debian.
 
 There are a couple of howto's on the web on recompiling the lvm package
 with Openais or Corosync , so that's what I did. However, I'm still
 confused about the relationship between the cluster manager and the lock
 manager. If I understood right, this is the correct order in which
 things will be started:
 
 * start Corosync (or openais, if clvm is compiled with openais support
 instead)
 * you need to run some kind of resource manager
 * the resource manager (pacemaker) must have a resource defined that is
 the dlm controld - I tried starting dlm_controld at the command line,
 this seems to make clvm happy but unfortunately that command has no man
 page.
 * then, a bunch of files appear in /sys/kernel/config/dlm
 
 Actually, that controld should be started by the cluster resource
 manager is also something I just read on the web, and it sounds kinda
 odd to me. After all, you need to run an instance on every cluster node
 that accesses shared storage, right?
 
 
 [[I also tried the same thing but with a clvm compiled for openais, I
 read it uses another lock manager (Lck) but I'm not sure if and how
 this one is actually cluster-aware since it doesn't seem to rely on a
 resource defined in the cluster.]]
 
 [[Another thing that I find rather strange is that corosync is started
 wy at the end of the boot process, and clvm is started at the
 beginning, even if I changed the dependency of 'cman' to 'corosync' in
 clvm's init script. (clvm is started in rcS.d). But that's got more to
 do with lsb init scripting than with clustering, I suppose.]]
 
 
 If anyone could make me wiser or more educated about any of this, I'd be
 grateful :-)

Hello,

IIRC a distributed lock manager (DLM for short) is needed whenever an
active/active resource is used, e.g. a shared filesystem. OCFS2 and
GFS2 implement their own DLMs.
For an active/passive cluster, you'd need to define your resources and
a floating IP with stickyness WRT to those resources.
A DRBD in master/slave would be more appropriate IMHO.

Others might have other experiences/opinions or corrections.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Sudoers

2012-03-26 Thread David Sastre Medina
On Mon, Mar 26, 2012 at 09:39:44PM +0200, Antispammbox-debian wrote:
 I've added myself to the group sudo:
 sudo adduser myself

This is wrong. You need to

# adduser $USER $GROUP

From man adduser :

 adduser [options] user group

 Add an existing user to an existing group
   If called with two non-option arguments, adduser will add an
   existing user to an existing group.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


[ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread David Sastre Medina
Hello,

Grub2 is failing to boot a softRAID1 + LVM2 squeeze box.
The error is can't find root_vg-root_lv. After that, it drops me to
a initrd shell, but my USB keyboard stops working, so I must
button-reboot.
There are two kernels installed. 
I've attached grub.cfg. It's an automated cfg from update-grub2.
I already tried adding rootdelay without success in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=rootdelay=15 quiet

Weird stuff: I have upgraded this box from lenny a week ago or
so. No problems booting.
It used to have a bpo kernel, but since squeeze's repo has the
same (2.6.32-3) kernel, I installed it and uninstalled the bpo one.
No problems booting yet.
Afterwards, I had to `/etc/init.d/vbox setup' to be able to use VBox
again (dkms failed, it seems) and re-run the makeselved script to
install the ATI propietary driver. This box has an ATI Radeon
HD 4550.
Kernel 2.6.32-2 stops booting, so I use 2.6.32-2 while I do some
research about it.
Yesterday, 2.6.32-2 booted without problems, but
since I had ATI propietary driver installed only for 2.6.32-3, I run
the installer in 2.6.32-2. Today this kernel doesn't boot either.

Follows some commands' ouput from within a rescueCD session.

r...@sysresccd /root % ll /mnt/md0
total 16M
drwxr-xr-x  4 root root 4.0K 2010-05-28 20:45 .
drwxr-xr-x 11 root root  180 2010-05-29 10:28 ..
-rw-r--r--  1 root root 109K 2010-02-11 07:48
config-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 109K 2010-02-25 09:01
config-2.6.32-3-686-bigmem
drwxr-xr-x  3 root root 4.0K 2010-05-25 20:52 grub
-rw-r--r--  1 root root 4.1M 2010-05-28 20:45
initrd.img-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 4.1M 2010-05-28 20:45
initrd.img-2.6.32-3-686-bigmem
drwx--  2 root root  16K 2010-01-24 11:12 lost+found
-rw-r--r--  1 root root 1.3M 2010-02-11 07:48
System.map-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 1.3M 2010-02-25 09:01
System.map-2.6.32-3-686-bigmem
-rw-r--r--  1 root root 2.2M 2010-02-11 07:47
vmlinuz-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 2.2M 2010-02-25 09:00
vmlinuz-2.6.32-3-686-bigmem

r...@sysresccd /root % mdadm --detail /dev/md0
/dev/md0:
Version : 0.90
  Creation Time : Sun Jan 24 10:10:43 2010
 Raid Level : raid1
 Array Size : 979840 (957.04 MiB 1003.36 MB)
  Used Dev Size : 979840 (957.04 MiB 1003.36 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat May 29 10:29:40 2010
  State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

   UUID : 8052f7d4:54a97fbb:731031f6:bc3d041c
 Events : 0.4

Number   Major   Minor   RaidDevice State
   0   8   170  active sync   /dev/sdb1
   1   8   331  active sync   /dev/sdc1

r...@sysresccd /root % vgdisplay root_vg
  --- Volume group ---
  VG Name   root_vg
  System ID
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  19
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV11
  Open LV   0
  Max PV0
  Cur PV1
  Act PV1
  VG Size   148.11 GB
  PE Size   4.00 MB
  Total PE  37917
  Alloc PE / Size   15984 / 62.44 GB
  Free  PE / Size   21933 / 85.68 GB
  VG UUID   XN1x4E-uBFZ-svSP-hQMr-kSHe-Ry3s-VtBcsH

r...@sysresccd /root % lvdisplay /dev/mapper/root_vg-root_lv
  --- Logical volume ---
  LV Name/dev/root_vg/root_lv
  VG Nameroot_vg
  LV UUIDFx1w1w-6nvb-aMh1-6iG1-pruF-VuiH-okk9cw
  LV Write Accessread/write
  LV Status  available
  # open 0
  LV Size952.00 MB
  Current LE 238
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:5


Any help is appreciated.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default=0
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
  fi
}
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root='(root_vg-usr_lv)'
search --no-floppy --fs-uuid --set a800ad33-1549-4f09-a187-d5c6f13942c4
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
# For backward compatibility with