Re: New user: Did not see any responds

2010-06-07 Thread d . sastre . medina
On Mon, Jun 07, 2010 at 01:40:46PM -0700, ABSDoug wrote:
> I don't know what happen, but I reposted my question & someone posted that I 
> should look at the 1st E-mail string I started... but I didn't see anything.

Have you already subscribed to the list?
You saw the answer to your second mail because somebody CC-ed
you. Check the archives. I have seen your three posts.

> I'm an Ubuntu user who wants to try out Debian. 

That's OK.

> I'm weak on terminal. 

That's NOT OK. Most of the solutions/advices you'd be getting here require
some coding (not very much, to start with) skills. 
You'll need to know (at a minimum) how to move inside the directory tree, copy 
and/or move files, and several other *very basic* things.
My advice, start getting familiar with documentation sources on your own system.
Investigate man pages, info, /usr/share/doc/, etc...

>I'm only getting terminal on Debian now. 
> I don't know what to do next. TIA.

Everybody here will be helpful _as long as_ you demonstrate effort on
your side. Otherwise, you most probably will be ignored.
First off, you must learn how to make intelligent questions, that
implies that at least you describe accurately: what are you trying to do, what
happens, etc...

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgp13Pi6wlWIe.pgp
Description: PGP signature


Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-06-01 Thread d . sastre . medina
On Tue, Jun 01, 2010 at 03:31:41AM -0500, Stan Hoeppner wrote:
> d.sastre.med...@gmail.com put forth on 5/30/2010 4:45 PM:
> > On Sun, May 30, 2010 at 02:24:41PM -0500, Stan Hoeppner wrote:
> >> What happens when you use LILO instead of Grub?
> > 
> > I haven't tried that yet. 
> > [ snip ]
> > But first I'll need to refresh my LILO skills. It's been a while :)
> 
> This is very old, but I think the basic information is still valid.  BIOS has
> changed considerably in the past 10 years, and I'd assume is smarter across
> the sea of manufacturers.  This should be taken into account regarding the
> enumeration of drives and the BIOS boot behavior.
> 
> http://www.faqs.org/docs/Linux-mini/Boot+Root+Raid+LILO.html#ss3.1

It looks like my problem is init scripts related, so I'm working in
that direction for now.
Thanks for the link, I'll keep this around to survive the forthcomming
BootLoader Wars :-D

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpJrpshFf3ev.pgp
Description: PGP signature


Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-31 Thread d . sastre . medina
Thanks for the comments and help.

I have edited /boot/grub/grub.cfg to match my devices by UUID as
proposed, getting UUIDs from blkid /dev/md{0,1} (previously I run
blkid -g):

menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686-bigmem" --class
debian --class gnu-linux --class gnu --class os {
insmod raid
insmod mdraid
(insmod lvm present in some tests)
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 
echoLoading Linux 2.6.32-3-686-bigmem ...
linux   /vmlinuz-2.6.32-3-686-bigmem root=UUID= ro 
rootdelay=15
echoLoading initial ramdisk ...
initrd  /initrd.img-2.6.32-3-686-bigmem
}

It doesn't boot. Note a added `rootdelay=15' and removed `quiet' to be
able to see what happens.
Still LVM tries to initialize before mdadm (is that correct, anyway?),
and ends up waiting for the root filesystem until I'm dropped to busybox.
While at the initramfs prompt, simply by issuing `vgchange -ay' and
exiting (Ctrl-D) I can boot the box. Luckily, I had a PS2 keyboard
around, because the USB one wouldn't work.

The output of `vgchange -ay' might be informative. Here is one
example, but one line is output for each LV:

udevd-work[number]:kernel provided name 'dm-2' and
NAME='mapper/root_vg-var_lv' disagree, please use SYMLINK+= or change
the kernel to provide the proper name.

This looks like #581715 or #581593.
In both reports, however, it is said it's a harmless warning. 
I can confirm that, at least, while testing the 

linux   /vmlinuz-2.6.32-3-686-bigmem root=/dev/mapper/root_vg-root_lv

variant, I can boot the system from initramfs after 
`vgchange -ay' + 
regardless the warnings.

After booting, running `upgrade-grub or upgrade-grub2' won't help. 
This looks like a problem elsewhere (udev, initramfs-tools, ...), but
not grub.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgprQaPbR1v3r.pgp
Description: PGP signature


Re: Automatic partial archive mirroring

2010-05-31 Thread d . sastre . medina
On Mon, May 31, 2010 at 01:40:59AM -, Cameron Hutchison wrote:
> I have a few debian unstable boxes that I like to keep up-to-date.
> 
> Currently, I run apt-cacher-ng (a proxy for apt-get which stores
> packages so they don't need to be downloaded again) on my gateway box
> (lenny 32-bit), so I don't double download from my couple of other boxes
> (sid 64-bit). This works well enough, but I want to make it better.
> 
> My internet connection has an off-peak period (2am-8am) where downloads
> are not counted in the monthly quota. I want my downloads to occur
> during this window, automatically.
> 
> The problem is that the sid boxes are not powered-up during this window
> so I cannot just simply schedule a cronjob to do an apt-get -d
> dist-upgrade.
> 
> I would like my lenny box to do this on behalf of my sid boxes. I dont
> really want to mirror the whole archive. Is there some way to do an
> intelligent partial mirror of the archive of what is installed on other
> boxes, without too much overhead of managing a package list? (i.e. I dont
> want to have to manually update some package list on my lenny box when I
> install a new package on a sid box).
> 
> I've looked at apt-proxy, apt-cacher, apt-cacher-ng and approx, but they
> all appear to download on demand, not according to a schedule.

Take a look at debmirror's options. You can choose to download by
dist, section, protocol, arch, source/no source, include/exclude packages by
regexp matching, etc...
It can be easily scheduled and you can serve the packages afterwards
adding a 

deb http://lighttpd.at.lenny.gw sid main contrib

to the other boxes' /etc/apt/sources.list.d/lenny.gw.list, for
example.

Would that be useful for you?

Obvious drawback: you'll possibly be pulling more than you need.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpEJLQO0ldqB.pgp
Description: PGP signature


Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread d . sastre . medina
On Sun, May 30, 2010 at 02:24:41PM -0500, Stan Hoeppner wrote:
> What happens when you use LILO instead of Grub?

I haven't tried that yet. 

First thing would be to know if the bootloader is to blame for not
having a bootable system. As of now, it would be some timming issues
related to initramfs-tools' scripts (wild guess).

Then, I'd need to know if LILO supports the configuration described
before, i.e., md0 contains /boot and md1 contains LVs, one of them
being /dev/mapper/root_vg-root_lv.

After that, I'd need to test the proper way to install/uninstall
software from an unbootable machine. I guess d-i allows installing
LILO on top of grub.
The purpose is either reinstalling grub-pc, downgrading to grub-legacy, 
or installing LILO.
Other option would be using rescueCD, chroot into my system and install 
from there. Suggestions are welcome.

But first I'll need to refresh my LILO skills. It's been a while :)

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpELQ6lE3Mv2.pgp
Description: PGP signature


Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-30 Thread d . sastre . medina
On Sat, May 29, 2010 at 05:44:22PM -0400, Tom H wrote:
> On Sat, May 29, 2010 at 7:06 AM, David Sastre Medina
>  wrote:
> >
> > Grub2 is failing to boot a softRAID1 + LVM2 squeeze box.
> >
> > r...@sysresccd /root % mdadm --detail /dev/md0
> > /dev/md0:
> > ...
> >           UUID : 8052f7d4:54a97fbb:731031f6:bc3d041c
> 
> I see two possible problems when looking at your grub.cfg.
> 
> 1. There isn't an "insmod lvm" within the menuentry stanza. ext2,
> raid, and mdraid are insmod'd twice in the header and once in the
> menuentry and lvm is inmod'd just once in the header. (This is one of
> the grub2 mysteries; why multiple insmods of the same modules?). I
> doubt that this is the source of the problem (the first insmod must be
> enough!) but you could add "insmod lvm" within the menuentry.

Already tried that. No success.
 
> 2. In the uuid of the search line, what is
> 785366b0-d597-4e9c-9284-b6b9161236ed? One of your /dev/sX1's uuid?
> Since raid and mdraid are loaded, can't you/shouldn't you use the md0
> uuid above?

I also tried that. It fails.
That UUID belongs to /root_vg-root_lv, where the root filesystem
resides.
The UUID can be confirmed at the grub propmt issuing
grub> ls (root_vg-root_ls)

Note that `boot' is a multidisk partition (sda1 and sdb1, which assemble
md0), thus root='(md0)' makes sense from a grub point of view. And md1
is the result of assembling sda2 and sdb2. This md device has only one VG 
on top of it, root_vg, with several LVs in it, one of these LVs being my 
root_lv.

This my default menuentry now:

menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686-bigmem" --class
debian --class gnu-linux --class gnu --class os {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 785366b0-d597-4e9c-9284-b6b9161236ed
echoLoading Linux 2.6.32-3-686-bigmem ...
linux   /vmlinuz-2.6.32-3-686-bigmem root=/dev/mapper/root_vg-root_lv 
ro rootdelay=15 quiet
echoLoading initial ramdisk ...
initrd  /initrd.img-2.6.32-3-686-bigmem
}

The `set root' entry says what is *root* for grub, I understand this as: 
where are /boot/grub/grub.cfg, /vmlinuz-`uname -r` and /initrd.img-`uname -r`
So IMHO it should be called boot='(md0)' for better undestanding and
disambiguation from the *other* root in the `linux' line.
The GRUB root device is not the same as the Linux kernel root= parameter.
BTW this command is undocummented in the wiki, still uses grub-legacy's
info, which doesn't apply anymore, given the `root' command has been
replaced.

The `search' line, as stated in the grub wiki:

Search devices by file, filesystem label or filesystem UUID. If --set
is specified, the first device found is set to a variable. If HD
variable name is specified, "root" is used.

I take this to mean that the first device found _which UUID is_ 785...
(the UUID of my root_gv-root_lv) will be the `root' filesystem.

And yet another definition of `root' after the `linux' call.
That one states that:

root=/dev/mapper/root_vg-root_lv  which could be written also as:
root=LABEL=root  or even
root=UUID=785366b0-d597-4e9c-9284-b6b9161236ed

The three of them should be right. None of them work.

If a suppress the `quiet' option from the `linux' line, what I can see
is LVM initializing *before* mdadm has get its job done:

"Volume group "root_vg-root_lv not found
 Skipping volume group root_vg
 Unable to find LVM volume root_vg-swap_lv
 mdadm:/dev/md0 has been started with two drives
 mdadm:/dev/md1 has been started with two drives
 Gave up waiting fot root device."

So it looks like a timming issue *but*, I have tried to issue manually
the commands in the right order at the grub prompt:
1) insmod-ing raid, mdraid, lvm and ext2; setting root to md0; 
2) searching for devices (also a variant without this step); 
3) calling linux with the right root device 
 (all three variants of this step: dev name, UUID and LABEL and with
 different rootdelay timmings, always without `quiet') and, finally;
4) calling initrd. 

Failure again. No way root_vg to be found.

One further question: after a reboot, while at the grub screen, before 
doing anything else, if a enter the command line and type `ls' at the 
prompt, I can see all of my LVs, and listing anyone of them returns: 
device name, filesystem type, label, last modification time and UUID. 
Where does this info come from? Supossedly, there aren't mods loaded to 
read that yet, until after `insmod' loads them, are there?


-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpcPfDpaijPe.pgp
Description: PGP signature


Re: [ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread d . sastre . medina
I think my previous post requires some more info:

I've got three HDs, two of them (twin disks) have two partitions,
one /boot partition (md0) and the other one for LVM filesystems (md1),
where root_vg-root_lv lives (among others). The third disk is unpatitioned,
and has one only lv (var_lv)

So, provided this autogenerated grub.cfg entry:

menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686-bigmem" --class debian 
--class gnu-linux --class gnu --class os {
insmod raid
insmod mdraid
insmod ext2
set root='(md0)'
search --no-floppy --fs-uuid --set 785366b0-d597-4e9c-9284-b6b9161236ed
echoLoading Linux 2.6.32-3-686-bigmem ...
linux   /vmlinuz-2.6.32-3-686-bigmem root=/dev/mapper/root_vg-root_lv 
ro  rootdelay=25 quiet
echoLoading initial ramdisk ...
initrd  /initrd.img-2.6.32-3-686-bigmem
}

...and compared to the examples in the grub wiki¹:

Example grub.cfg for LVM

Below is a sample grub.cfg using LVM. Linux is installed under
MainGroup-linuxLV where MainGroup is the VolumeGroup und linuxLV is
the logical volume. Notice that vmlinuz (the linux kernel) and
initrd.img are lying in the logical volume and can be accessed by
symlinks.

set timeout=20
set default=0
menuentry "Linux on LVM" {
insmod lvm
set root=(MainGroup-linuxLV)
linux /vmlinuz root=/dev/mapper/MainGroup-linuxLV
initrd /initrd.img
} 

Example grub.cfg for RAID

This is an example of grub.cfg when the /boot filesystem is on a RAID
device.

insmod raid
set root=(md0)
search --fs-uuid --set 155c8fdb-607f-45a4-bd6d-0dd89f21eac2

menuentry "Linux" {
insmod raid
set root=(md0)
search --fs-uuid --set 155c8fdb-607f-45a4-bd6d-0dd89f21eac2
linux/vmlinuz-2.6.31 root=LABEL=root ro
initrd   /initrd.img-2.6.31
} 

I can't find documented the scenario when /boot resides in /dev/md0
and root filesystem is mounted in /dev/mapper/root_vg-root_lv (md1, in
my case).

Removing the `quiet' option shows LVM log lines appearing *before*
mdadm lines, which suggest some timming issues in the init scripts(?).

Again, any hints are appreciated.

Regards.

¹ http://grub.enbug.org/LVMandRAID

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpyXJEYlBCLi.pgp
Description: PGP signature


Re: USB flash drive: permissions, etc.

2010-05-29 Thread d . sastre . medina
On Fri, May 28, 2010 at 10:06:21PM -0400, john wrote:
> On 28/05/10 19:04, d.sastre.med...@gmail.com wrote:
> > sfdisk -l /dev/sda
> 
> Disk /dev/sda: 1023 cylinders, 64 heads, 62 sectors/track
> Units = cylinders of 2031616 bytes, blocks of 1024 bytes, counting from 0
> 
> Device Boot Start End   #cyls#blocks   Id  System
> /dev/sda1   ? 196102+ 483781- 287679- 570754815+  72  Unknown
>   start: (c,h,s) expected (1023,63,62) found (357,116,40)
>   end: (c,h,s) expected (1023,63,62) found (357,32,45)
> /dev/sda2   ?  42512+ 530422- 487911- 968014120   65  Novell Netware 386
>   start: (c,h,s) expected (1023,63,62) found (288,115,43)
>   end: (c,h,s) expected (1023,63,62) found (367,114,50)
> /dev/sda3   ? 471240+ 959150- 487911- 968014096   79  Unknown
>   start: (c,h,s) expected (1023,63,62) found (366,32,33)
>   end: (c,h,s) expected (1023,63,62) found (357,32,43)
> /dev/sda4   ? 727238+ 727252- 14- 27749+   d  Unknown
>   start: (c,h,s) expected (1023,63,62) found (372,97,50)
>   end: (c,h,s) expected (1023,63,62) found (0,10,0)
> r...@debian:/home/john
> 
> The flash is not partitioned and I can mount it and rw as a user on 
> another box. Also I have the same problems using another flash drive.

The other box is GNU/Linux too?
The other flash shows the same output if you sfdisk -l it?
 
> I think I'm just have to be a little more careful in what I delete in 
> the future.

I'm not sure it has to do with anything being deleted...
It looks like it has partitions. Only they are unrecognized.
I still suggest to format (previous back up) it.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpZXncXg7NyM.pgp
Description: PGP signature


Re: USB flash drive: permissions, etc.

2010-05-28 Thread d . sastre . medina
On Fri, May 28, 2010 at 06:37:59PM -0400, john wrote:
> On 28/05/10 14:26, d.sastre.med...@gmail.com wrote:
> > On Fri, May 28, 2010 at 10:42:22AM -0400, john wrote:
> >> I can no longer read or write or even unmounted  a USB flash drive.
> >>
> >> Something happened during the last two weeks. I am using squeeze and
> >> regularly upgrade on a daily basis. The only change to the system I can
> >> recall was debfoster run during that period where I deleted some 4 or
> >> five libraries.
> >>
> -snip
> >
> > Please provide more info, i.e. what does mount says when the USB stick
> > is plugged in? fdisk -l output would be helpful too. The ouput of tail
> > -f /var/log/messages when plugging in the USB stick can be informative
> > too.
> 
> here is the aditional information.:
> 
> j...@debian:~/Desktop$ umount /media/usb0
> umount: /media/usb0 is not in the fstab (and you are not root)
> j...@debian:~/Desktop$ fdisk -l
> bash: fdisk: command not found

This is normal. Only root can issue this commands.

> j...@debian:~/Desktop$ su
> Password:
> r...@debian:/home/john/Desktop# umount /media/usb0
> r...@debian:/home/john/Desktop# fdisk -l
> 
> 
> Disk /dev/sda: 2079 MB, 2079850496 bytes
> 64 heads, 62 sectors/track, 1023 cylinders
> Units = cylinders of 3968 * 512 = 2031616 bytes
> Disk identifier: 0x6f20736b
> 
> This doesn't look like a partition table
> Probably you selected the wrong device.
> 
> Device Boot  Start End  Blocks   Id  System
> /dev/sda1   ?  196103  483782   570754815+  72  Unknown
> Partition 1 has different physical/logical beginnings (non-Linux?):
>   phys=(357, 116, 40) logical=(196102, 51, 11)
> Partition 1 has different physical/logical endings:
>   phys=(357, 32, 45) logical=(483781, 40, 51)
> Partition 1 does not end on cylinder boundary.
> /dev/sda2   ?   42513  530423   968014120   65  Novell Netware 386
> Partition 2 has different physical/logical beginnings (non-Linux?):
>   phys=(288, 115, 43) logical=(42512, 30, 47)
> Partition 2 has different physical/logical endings:
>   phys=(367, 114, 50) logical=(530422, 52, 42)
> Partition 2 does not end on cylinder boundary.
> /dev/sda3   ?  471241  959151   968014096   79  Unknown
> Partition 3 has different physical/logical beginnings (non-Linux?):
>   phys=(366, 32, 33) logical=(471240, 18, 30)
> Partition 3 has different physical/logical endings:
>   phys=(357, 32, 43) logical=(959150, 39, 39)
> Partition 3 does not end on cylinder boundary.
> /dev/sda4   ?  727239  727253   27749+   d  Unknown
> Partition 4 has different physical/logical beginnings (non-Linux?):
>   phys=(372, 97, 50) logical=(727238, 12, 25)
> Partition 4 has different physical/logical endings:
>   phys=(0, 10, 0) logical=(727252, 11, 33)
> Partition 4 does not end on cylinder boundary.
> 
> Partition table entries are not in disk order

This is weird. Is the USB stick partitioned? Looks like it is:
/dev/sda{1..4}. Could you try sfdisk -l /dev/sda as root?
 
> r...@debian:/var/log# tail -f messages
> May 28 18:26:29 debian kernel: [21978.475036] usb 1-6: SerialNumber: 
> 35A3FB06093932140607
> May 28 18:26:30 debian kernel: [21978.477058] usb 1-6: configuration #1 
> chosen from 1 choice
> May 28 18:26:30 debian kernel: [21978.481514] scsi3 : SCSI emulation for 
> USB Mass Storage devices
> May 28 18:26:35 debian kernel: [21983.481527] scsi 3:0:0:0: 
> Direct-Access LEXARJD FIREFLY   1100 PQ: 0 ANSI: 0 CCS
> May 28 18:26:35 debian kernel: [21983.486491] sd 3:0:0:0: [sda] 4062208 
> 512-byte logical blocks: (2.07 GB/1.93 GiB)
> May 28 18:26:35 debian kernel: [21983.487225] sd 3:0:0:0: [sda] Write 
> Protect is off
> May 28 18:26:35 debian kernel: [21983.496254]  sda:
> May 28 18:26:35 debian kernel: [21983.562404] sd 3:0:0:0: [sda] Attached 
> SCSI removable disk
> May 28 18:26:35 debian usbmount[10512]: executing command: mount -tvfat 
> -osync,noexec,nodev,noatime,nodiratime /dev/sda /media/usb0
> May 28 18:26:35 debian usbmount[10512]: executing command: run-parts 
> /etc/usbmount/mount.d

This log entries tell you that your USB stick is identified and
assigned a mount point: /dev/sda is mounted in /media/usb0.
Everything here is pretty normal stuff.

Is there anything under /media/usb0?

If you can recover your data from there, I suggest you to back it all up and
format the stick.

Something like mkfs.vfat -v -F 32 -n FIREFLY /dev/sda should work.

man mkfs.vfat for more info.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpNB7eCAatfe.pgp
Description: PGP signature


Re: pygrub is failing to boot centos domu on Debian lenny dom0

2010-05-28 Thread d . sastre . medina
Hello Tapas,

In case you are still reading this list, you might want to try this¹ tool.
It is used to bootstrap RPM-based distros in Debian+Xen. CentOS 5 is 
listed as supported.
Maybe you reconsider your decision, and give Squeeze a try?
You could even try latest xen version² :)

¹ http://xen-tools.noone.org/software/rinse/
² http://bits.xensource.com/oss-xen/release/4.0.0/xen-4.0.0.tar.gz

Regards.

P.S. I Cc-ed you, just to be sure you get this, sorry O:-)

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpEmR6ywwvP1.pgp
Description: PGP signature


Re: USB flash drive: permissions, etc.

2010-05-28 Thread d . sastre . medina
On Fri, May 28, 2010 at 10:42:22AM -0400, john wrote:
> I can no longer read or write or even unmounted  a USB flash drive.
> 
> Something happened during the last two weeks. I am using squeeze and 
> regularly upgrade on a daily basis. The only change to the system I can 
> recall was debfoster run during that period where I deleted some 4 or 
> five libraries.
> 
> The only other clues I have are the options, "safely remove usb" and 
> "eject" have disappeared from nautilus (right click).
> 
> I recall this happening to me some 2 years ago, but I have mislaid the 
> solution. Searches through google and this list have not yielded the 
> solution.

Hello, 

Please provide more info, i.e. what does mount says when the USB stick
is plugged in? fdisk -l output would be helpful too. The ouput of tail
-f /var/log/messages when plugging in the USB stick can be informative
too.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpG3rtrF7fq3.pgp
Description: PGP signature


Re: Tengo problemas con instalar debian

2010-05-24 Thread d . sastre . medina
On Mon, May 24, 2010 at 12:17:06PM -0500, Servicio al Cliente wrote:
> Estimados Amigos: agradesco mucho el esfuerzo que hacen todos los dias
> para hacer de debian cada dia mejor.
> 
> Quisiera saber si me pueden ayudar con un problema, estoy tratando de
> instalar debian en un board intel DP55WB con un procesador Core i3,
> lamentablemente en la instalacion me aparece que no reconoce ningun
> dispositibo de CD-ROOM y bueno trate de dar una net install pero tampoco
> reconoce la targeta de red, bueno dije tratare de pegar en el disco duro
> pero tampoco reconoce el disco, creo mas bien que no me reconoce ningun
> controlador, y en la pagina web de intel no hay controladores para linux
> para este modelo y quisiera preguntarles si alguien ya a logrado
> instalarlo
> en uno de estos boards dado que no logro encontrar lus por el momento.

Hola Juan Pablo,

Yo puedo entenderte, pero debes saber que en esta lista se escribe en inglés, 
debes enviar tus dudas a:

debian-user-span...@lists.debian.org


Saludos.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpxQCRSjHJmg.pgp
Description: PGP signature


Re: Moving /tmp to a separate partition. Advice?

2010-05-23 Thread d . sastre . medina
On Sun, May 23, 2010 at 11:10:19AM +0200, Klistvud wrote:
> Dne, 23. 05. 2010 10:45:36 je Ron Johnson napisal(a):
> > Why?
> I frequently burn double-layer DVDs, requiring around 8GB of free space  
> for temporary files. Until now, I had to do that on another rig. Also,  
> I'm planning to do some video editing, which, I'm told, likewise  
> requires huge amounts of temporary space. On my / partition, I have  
> nowhere *near* that amount of free space.

IMHO, it is a good idea to implement LVM when possible.
In case you go on, I recently went through an actual BTDT situation:

Having /tmp mounted noexec,nosuid for security reasons, aptitude
failed to execute postinstall scripts.
The solution was to remount exec /tmp partition and rerun aptitude.
After that I had to add this to /etc/apt/apt.conf or under
/etc/apt/apt.conf.d/ (depends on your config)

DPkg::Pre-Invoke{"mount -o remount,exec /tmp";};
   
DPkg::Post-Invoke {"mount -o remount /tmp";};  

Some useful references:

http://www.debian-administration.org/articles/57   
http://forums.debian.net/viewtopic.php?t=16450

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpqJHW7vU79v.pgp
Description: PGP signature


Re: pygrub is failing to boot centos domu on Debian lenny dom0

2010-05-22 Thread d . sastre . medina
On Sat, May 22, 2010 at 06:56:01PM +0530, Tapas Mishra wrote:
> On Sat, May 22, 2010 at 7:25 PM, Chris Bannister
>  wrote:
> > On Fri, May 21, 2010 at 08:32:00PM +0530, Tapas Mishra wrote:
> >> On Fri, May 21, 2010 at 7:23 PM,   wrote:
> >> > On Fri, May 21, 2010 at 04:10:55PM +0530, Tapas Mishra wrote:
> >> >> bootloader = "/usr/lib/xen-3.2-1/bin/pygryb"
> >> >                                      
> >> >>(there was no softlink
> >> >> from /usr/lib/xen-3.2-1/bin/pygryb to /usr/bin)
> >> >> boot = "c"
> >> >>
> >> >> Error: Bootloader isn't executable
> >> >
> >> > Shouldn't that be pygrub?
> >> Sorry that was a type error I mean the same.
> >
> > Please copy n paste error messages!
>
>> I have wiped out all Debian instances from my server.
> Thanks for your message  I struggled for 2 months.
> Here is a snapshot if some one thinks I am a newbie and have not done
> my homework
> http://farm4.static.flickr.com/3356/4617619327_7f4bfcdb05_o.png
> this is not exact thing as my problem was but thanks for your response.
> I have wiped out Debian from my server for ever.
> I do not have any grudge with Debian but my experience has been more
> than frustrating.
> I failed to have a CentOS DomU on Debian Dom0 I really really needed
> CentOS as one of the Guest OSes.There were more guests running with
> Debian but now none of them are there.
> You can go through more snapshots here
> http://www.flickr.com/photos/48996...@n07/
> all of them are on a Debian server.I have finally failed.
> Thanks for your response.

In case you ever reconsider, you could try Squeeze. More recent xen packages
are shipped in that branch. The problem you report could have been
already solved.

Best regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgp7iGM3b3Vjl.pgp
Description: PGP signature


Re: Non Working Keyboard

2010-05-22 Thread d . sastre . medina
On Sat, May 22, 2010 at 12:55:13PM +0200, Klistvud wrote:
> Dne, 21. 05. 2010 02:56:32 je David Hoff Jr napisal(a):
> > I have an older computer which use to have Windows XP on it.  It  
> > currently has Vinux 3.0 on it.  I downloaded the Debian I386  
> > installation version of 5.0.4 ISO and burned it to CD.  When I try to  
> > install it, I get an opening screen with an installation menu which  
> > then freezes.   I have no apparent keyboard input, and of course no  
> > mouse.
> > 
> > I tried the same CD on a newer computer and it first brings up an  
> > option to choose my language and then brings up the installation menu  
> > which is accessible from my keyboard.  It then brings up a license  
> > screen.  At that point I abort the install.
> > 
> > What do I need to do to install this to the older computer which has  
> > an AMD 1500+ mz processor.
> 
>  From the symptoms you describe, and ruling out bad RAM (you HAVE of  
> course checked for bad RAM, haven't you?), my first guess would be "an  
> aging optical drive, combined with a flakily burnt CD". Such  
> combinations can prove hard to overcome. Suggestions: temporarily  
> installing a newer optical drive into the box; or burning another CD,  
> preferably on a different drive/machine, and on different brand of  
> media, and at the slowest burning rate available; or perhaps, for the  
> adventurous at heart, even asking uncle Google about "installing Debian  
> directly from an ISO file on the hard drive, without burning a CD".

...or a bootable USB-stick.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgplZmFjeJvrk.pgp
Description: PGP signature


Re: pygrub is failing to boot centos domu on Debian lenny dom0

2010-05-22 Thread d . sastre . medina
On Sat, May 22, 2010 at 09:50:19AM +0530, Tapas Mishra wrote:
> On Fri, May 21, 2010 at 8:32 PM, Tapas Mishra  wrote:
> > On Fri, May 21, 2010 at 7:23 PM,   wrote:
> >> On Fri, May 21, 2010 at 04:10:55PM +0530, Tapas Mishra wrote:
> >>> bootloader = "/usr/lib/xen-3.2-1/bin/pygryb"
> >>                                      
> >>>(there was no softlink
> >>> from /usr/lib/xen-3.2-1/bin/pygryb to /usr/bin)
> >>> boot = "c"
> >>>
> >>> Error: Bootloader isn't executable
> >>
> >> Shouldn't that be pygrub?
> > Sorry that was a type error I mean the same.
> >
> I do not understand why it happens that Debian's user experience is
> more than frustrating.
> I am finally wiping out all Debian installations from my server.
> Assuming that I am not good at Linux or Xen or what ever it is
> I will switch to some other commercial Linux distribution.
> If you try to do any thing on Debian in a production environment its
> just useless.

As a general rule, not being able to solve a problem leads to
frustation. However, the conclusion you reach at is not in any way
following but a subjective *logic*.

BTW, you actually checked the permissions on that bootloader, didn't
you?

Good luck anyway.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpunX6wo2jla.pgp
Description: PGP signature


Re: Quick Java Question

2010-05-22 Thread d . sastre . medina
On Sat, May 22, 2010 at 11:33:36AM +0200, Danny wrote:
> Hi guys,
> 
> I have Debian 5.04 and have a little trouble with JRE.
> I downloaded the new JRE from Sun and installed it. But
> how do I tell firefox how to use the JRE ?

Hello,

Try both:

a) Check about:config (filter java)

b) $ sudo update-alternatives --config java

Good luck.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpWBkoOAbnYQ.pgp
Description: PGP signature


Re: pygrub is failing to boot centos domu on Debian lenny dom0

2010-05-21 Thread d . sastre . medina
On Fri, May 21, 2010 at 04:10:55PM +0530, Tapas Mishra wrote:
> bootloader = "/usr/lib/xen-3.2-1/bin/pygryb"  
  
>(there was no softlink
> from /usr/lib/xen-3.2-1/bin/pygryb to /usr/bin)
> boot = "c"
> 
> Error: Bootloader isn't executable

Shouldn't that be pygrub?

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpU36eN9qAtR.pgp
Description: PGP signature


Re: ~/.xsession-errors file grows way too big

2010-05-19 Thread d . sastre . medina
On Wed, May 19, 2010 at 06:45:04PM +0200, Sven Joachim wrote:
> On 2010-05-19 18:18 +0200, T o n g wrote:
> 
> > I am astonished to find out that my ~/.xsession-errors grows to a 
> > humongous 640M! My wife's is nearly 400M as well. This is way way too 
> > big. 
> >
> > I took a look, the reason and cure is very simple -- having X to trunk it 
> > each time when started 
> > (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287876)
> > whereas currently, my ~/.xsession-errors kept logs back to stone age. 
> >
> > However, such reasonable request has been tabled for 6 years now. The DD 
> > gave loads of irrelevant reasons as excuse of not fixing it. Ref:
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=276545
> >
> > Any comment? 
> 
> You may want to follow up on these bugs, since the _current_ X
> developers in Debian never spoke up.  And I think that there is so much
> crapware that puts out useless junk on stderr or stdout (the worst
> offender is KDE4 software, until you find out that is possible to put an
> end to this by running kdebugdialog) that the battle to make
> ~/.xsession-errors useful has long been lost.

FWIW, I don't have that problem, although /etc/X11/Xsession says:

exec >>"$ERRFILE" 2>&1 (despite the solution proposed in¹)
echo "$PROGNAME: X session started for $LOGNAME at $(date)"

and the contents of it are, unsurprisingly:

"Xsession: X session started for dawud at mié may 19 18:25:05 CEST
2010"

$ ll .xsession-errors 
-rw--- 1 dawud dawud 72 may 19 18:25 .xsession-errors

This is a Lenny box, BTW.
What are the perms for that file? maybe (wild guess) it lacks w?

Regards.

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

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgphbf2xiJimZ.pgp
Description: PGP signature


Re: How to schedule for a repeated task?

2010-05-10 Thread d . sastre . medina
On Mon, May 10, 2010 at 06:43:03AM +0100, hadi motamedi wrote:
> I tried for it and I
> saw that it does not require hitting Ctrl-C at the end. Then I tried for the
> real script and with comparing them with each other I modified my script and
> it now works well.
> Thank you again

And wasn't that process much more helpful and productive than any
other?
You _do_ learn through trial and error.

Thank you for trying.

Bests regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgp4Bs7mB0OZh.pgp
Description: PGP signature


Re: colorized ls

2010-05-09 Thread d . sastre . medina
On Sun, May 09, 2010 at 04:26:36PM -0400, Rick Pasotto wrote:
> What did I update recently that caused me to lose ls coloring with this
> error message:
> 
> ls: unrecognized prefix: hl
> ls: unparsable value for LS_COLORS environment variable
> 
> How should I fix it?

If you are using system-wide definitions, edit /etc/dir_colors and
comment the offending line. There should be one.
Also, check the manpage `man dircolors'. You might want to rebuild the
definitions. Backup /etc/dir_colors before. Better yet, does
`dircolors -b' contain the offending line causing the error?
I'm guessing you use bash.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpP1ITq4J4DV.pgp
Description: PGP signature


Re: How to schedule for a repeated task?

2010-05-09 Thread d . sastre . medina
On Sun, May 09, 2010 at 12:04:58AM -0700, hadi motamedi wrote:
> I modified my script , as attached,
> according to your comment but it still needs manually issuing Ctrl-C
> at end.

Is your script always launched from tmp?
That is what you _exactly expect_:

send -- "logout\r"
expect -exact "
Connection closed by foreign host.\r\r
\[r...@gprs tmp\]# "<
send -- "exit\r"
expect eof

If that's not the case, you should modify it accordingly.
Please read the comments generated by autoexpect regarding timing and
differing output. Try setting force_conservative to 1 and/or use
regexp in the expected patterns. Try the simplest expect script, i.e, one 
that only logs in and logs out.
In your initial post, you said you needed to store the output
somewhere, have you tried log_file?

You don't mention a single trial-error on your side.
Be warned that this community enjoys helping those who help themselves
first. It's been suggested to try a tool and a manpage. I know expect
looks weird at first, so autoexpect was suggested to ease the curve.
But don't expect to be said exactly what to do (pun).

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpsLEQYUWPKS.pgp
Description: PGP signature


Re: Aliases with `-'

2010-05-06 Thread d . sastre . medina
On Thu, May 06, 2010 at 07:31:28PM +0200, Merciadri Luca wrote:
> I would like to define an alias with some `-' characters into it, in my
> .bashrc. For example, if `this-is-my-alias' is my alias, I would use
> 
> ==
> alias 'this-is-my-alias'='some command to achieve'
> ==

Hello,

It does work here. I defined:

alias this-is-a-test="uname -a"

in my .bashrc, and then I sourced it:

source .bashrc

Issuing the alias produces the expected results:

$ this-is-a-test
Linux ghost 2.6.26-2-686-bigmem #1 SMP Tue Mar 9 18:01:52 UTC 2010
i686 GNU/Linux

> It simply does not work. Why? I tried without `'' but emacs then stops
> highlighting the word, which is no good sign. Thanks.

Vim does not expect an alias word to contain dashes, and highlight
does not work as expected. 

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpgNSBWBruH6.pgp
Description: PGP signature


Re: How to schedule for a repeated task?

2010-05-06 Thread d . sastre . medina
On Thu, May 06, 2010 at 08:48:48AM +0100, hadi motamedi wrote:
> I tried as the followings :
> #autoexpect -c
> 
> #telnet 172.16.17.160
> ->command1
> ->logout
> #exit
> It has produced an script named 'script.exp' . When I run this script , I
> see automatic telnet to the VxWorks remote node and then issuing the desired
> command but to exit I need to press Ctrl-C . Then I tried to automate it
> like the following :
> 
> #for i in 1 2 3 4 5
> >do
> >./script.exp
> >sleep 10
> >done
> It is quite ok , except for the need that I must press Ctrl-C at the end of
> every run . Can you please let me know how to remove that un-necessary
> hitting of Ctrl-C ?

When exactly you need to press Control-C? After exiting the remote
node? Before? I'd really need to look at the script you are using, the
one produced by the autoexpect session, but you could try either sending 
an extra `exit' string or sending a control-C (send \003)
Take a look here¹ for more ASCII Control Characters.

Regarding the second part, the way you automate the task can't be
really called _scheduling_, (i.e., a script will be executed every
Sunday at 13:00). That is _iteration_, your script will be executed
five times in a row. But I think you know better than me what you want to 
accomplish with it.

Regards.

¹http://en.wikipedia.org/wiki/ASCII

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgp6rZ7eLYZkS.pgp
Description: PGP signature


Re: How to schedule for a repeated task?

2010-05-05 Thread d . sastre . medina
Hello,

If issuing the commands manually produces the desired output, you
could try autoexpect¹ and edit the output of running an autoexpect
session to your liking. There is a manual page too².

Hope it helps. Regards.

¹http://expect.nist.gov/example/autoexpect
²http://expect.nist.gov/example/autoexpect.man.html

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgp0pjvuZiGkp.pgp
Description: PGP signature


Re: How to schedule for a repeated task?

2010-05-02 Thread d . sastre . medina
On Sun, May 02, 2010 at 10:11:43AM +0100, hadi motamedi wrote:
> Dear All
> I need to schedule for a repeated task on my Debian server, as the
> followings:
> -) Telnet to a remote node
> -) Issue a command
> -) Capture the output in a log
> -) Logout from Telnet
> -) Wait for a prescribed time interval
> -) Then redo , but append the subsequent output in just on file
> Can you please let me know which options do we have to write such a task?
> Thank you

Hello,

For that task, you want expect.
To schedule it, you need cron.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpKrhS9KHBoZ.pgp
Description: PGP signature


Re: NVidia MCP61, no sound...

2010-05-01 Thread d . sastre . medina
On Sat, May 01, 2010 at 01:13:54PM +0200, Andrea Giuliano wrote:
> I can't get sound from any jack I connect my
> speakers (or headphones) to.
> 
> Here are lspci for the card:
> 
> 00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio
> (rev a2)
> Subsystem: ASRock Incorporation Device 0397
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
> Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
> SERR-  Latency: 0 (500ns min, 1250ns max)
> Interrupt: pin B routed to IRQ 22
> Region 0: Memory at f9ef8000 (32-bit, non-prefetchable)
> [size=16K]
> Capabilities: 
> Kernel driver in use: HDA Intel
> Kernel modules: snd-hda-intel
> 
> I already ran alsaconf, which finds the card and configures it saying
> "enjoy" too! 

Hello,

Have you already tried alsamixer?
Channels probably are muted.

man alsamixer for the keyboard controls.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgppGUgGNVLbr.pgp
Description: PGP signature


Re: Lite SMTP server/daemon

2010-04-24 Thread d . sastre . medina
On Sat, Apr 24, 2010 at 12:35:55PM +0300, Andrei Popescu wrote:
> msmtp will *not* accept incoming mail (which is what the OP asked for).  
> The solution is probably one of exim or postfix, possibly recompiled to 
> keep only a minimum of features needed for the given application, an 
> answer to Stan's mail will tell more.

Absolutely right. My apologies to the OP.

> P.S. What keyserver are you using, subkeys keeps timing out when mutt 
> requests your key

It happenned to me too with some user's key, so I changed my default
keyserver in ~/.gnupg/gpg.conf to

keyserver x-hkp://pool.sks-keyservers.net

Now I get better timings:

$ time -p(gpg --recv-keys 448B31EB)
gpg: solicitando clave 448B31EB de hkp servidor
pool.sks-keyservers.net
gpg: clave 448B31EB: "David Sastre Medina (David)
" sin cambios
gpg: Cantidad total procesada: 1
gpg:  sin cambios: 1
real 0.76
user 0.01
sys 0.00

$ time -p(gpg --recv-keys DEA22DE9)
gpg: solicitando clave DEA22DE9 de hkp servidor
pool.sks-keyservers.net
gpg: clave DEA22DE9: "Andrei Popescu " sin
cambios
gpg: Cantidad total procesada: 1
gpg:  sin cambios: 1
real 0.29
user 0.01
sys 0.00

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgp4DH0Tyxugh.pgp
Description: PGP signature


Re: Lite SMTP server/daemon

2010-04-24 Thread d . sastre . medina
On Sat, Apr 24, 2010 at 04:57:10AM -0500, Stan Hoeppner wrote:
> You must have missed this in the OP's post.  It's omitted in your reply
> quote as well:  "Users will send emails to a program running..."
> 
> I take this to mean _remote_ network users.  msmtp-mta is an smtp _CLIENT_
> only.  It will not fit the OP's need.  The OP's comment implies an smtp
> listener is needed.

Hello,

I overlooked that. 
My apologies.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpe4lKzb3F6a.pgp
Description: PGP signature


Re: Lite SMTP server/daemon

2010-04-24 Thread d . sastre . medina
On Sat, Apr 24, 2010 at 09:19:56AM +0200, exp...@hope.cz wrote:
>I use Linux running in  Compact Flash so that the size of the Compact
>flash memory is the limit
>Only SMTP, no POP3 server
>Can you suggest something?

Hello,

This simple search:

$ apt-cache search mta light

showed some exim4 packages and the one you are looking for:

$ apt-cache show msmtp-mta
Package: msmtp-mta
Priority: extra
Section: mail
Installed-Size: 100
Maintainer: Emmanuel Bouthenot 
Architecture: all
Source: msmtp
Version: 1.4.15-1
Replaces: mail-transport-agent
Provides: mail-transport-agent
Depends: msmtp
Conflicts: mail-transport-agent
Filename: pool/main/m/msmtp/msmtp-mta_1.4.15-1_all.deb
Size: 31580
MD5sum: e1023fbea1950397004a1a4dce9f56ed
SHA1: 01aff21c57739af47d4f56ec2aa6f54cca51395e
SHA256:
e90add2d60dad2bacb1d263d088844db9b68c258bffef1ad3280f1205481
Description: light SMTP client with support for server profiles
 msmtp is an SMTP client that can be used to send mails from Mutt and
probably
 other MUAs (mail user agents). It forwards mails to an SMTP server
(for
 example at a free mail provider), which takes care of the final
delivery.
 Using profiles, it can be easily configured to use different SMTP
servers
 with different configurations, which makes it ideal for mobile
clients.
 .
 This package is compiled with GSASL and TLS/SSL support.
 .
 This package provides the regular MTA program.
Homepage: http://msmtp.sourceforge.net/
Tag: mail::smtp, mail::transport-agent, protocol::smtp, role::program,
works-with::mail

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpTghEs4nLzX.pgp
Description: PGP signature


Re: OT - Backup of HA server on external drive

2010-04-22 Thread d . sastre . medina
On Thu, Apr 22, 2010 at 03:39:56PM -0500, Ivan Marin wrote:
> dd if=/dev/sda of=/dev/sdb bs=1024
> 
> assuming that sda is the working disk and sdb is the new, unformatted and
> unpartitioned disk. So if hte machine breaks, I can get the new disk and put
> in a new machine and everything should work. This server is doing firewall
> and openvpn, etc, no X, no fancy stuff. Is this going to work? What do you
> guys think?

Hello,

I think it would be useful to know more about the filesystem
estructure, i.e, LVM, softRAID, etc...

Anyhow, if you can have HDs swapped, you can also have a live CD
played, do you?

A Clonezilla[1] live CD could be very useful here.
BTW, if that box has no LVM implemented, this is a good chance to do it, IMHO.

Regards.

[1] http://downloads.sourceforge.net/clonezilla/clonezilla-live-1.2.4-28-686.iso

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgpUya6IrTohS.pgp
Description: PGP signature


Re: reportug

2010-04-17 Thread d . sastre . medina
On Sat, Apr 17, 2010 at 10:25:42AM -0500, Boyd Stephen Smith Jr. wrote:
> In , IAN DELANEY wrote:
> >oh, i may have just figured it out.  It's using vim.  Must be different
> > version perhaps.  Once entered the data, I couldn't see how to save and
> > exit.  I'm used to nano. The other instance uses nano as a text editor to
> > enter the description.'   No matter, let's persevere since I've started.
> 
> Setting EDITOR=/usr/bin/nano in your environment will make most Debian 
> utilities use it instead of /usr/bin/sensible-editor.

Hello,

# update-alternatives --config editor

would have done the trick, too.

Regards.

-- 
Huella de clave = 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953


pgpCkixKSPeH1.pgp
Description: PGP signature


Re: passwordless ssh root logins stopped working after testing dist-upgrade

2010-04-06 Thread d . sastre . medina
On Tue, Apr 06, 2010 at 03:24:04PM -0400, Tony Nelson wrote:
> On 10-04-06 14:12:19, Russell L. Carter wrote:
> > r...@feyerabend> diff -u ssh_config ssh_config.dpkg-dist
> > --- ssh_config  2010-04-05 21:14:26.172871668 -0700
> > +++ ssh_config.dpkg-dist2010-01-04 09:05:12.0 -0700
> > @@ -17,8 +17,8 @@
> >   # ssh_config(5) man page.
> > 
> >   Host *
> > -ForwardAgent yes
> > -ForwardX11 yes
> > +#   ForwardAgent no
> > +#   ForwardX11 no
> >   #   ForwardX11Trusted yes
> >   #   RhostsRSAAuthentication no
> >   #   RSAAuthentication yes
> 
> I don't see any "PermitRootLogin without-password" line in your diff.
Hello,

That would disable password login for root, but does not enable per-se
pubkey auth (AFAIK).

man sshd_config explain this: PermitRootLogin, PubkeyAuthentication
and AuthorizedKeysFile entries.

Regards.

-- 
Huella de clave = 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953


pgp7kWyK2Ko2u.pgp
Description: PGP signature


Re: passwordless ssh root logins stopped working after testing dist-upgrade

2010-04-06 Thread d . sastre . medina
On Tue, Apr 06, 2010 at 11:12:19AM -0700, Russell L. Carter wrote:
> VERY CAREFULLY checked .ssh and authorized_keys permissions,
> etc.  No change.  This affects both user->r...@localhost ssh logins
Hello,

Could you try to add a new user in the box you want to log in, and
create a ~/.ssh/authorized_keys with your ~/.ssh/id_dsa.pub and see
what happens. A ssh -vvv output would be fine too.
Remember to chmod 600 authorized_keys file and chmod 700 .ssh
directory (probably less restrictive also work, but this JWFFM).

Regards.

-- 
Huella de clave = 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953


pgpvMuKPj9i9M.pgp
Description: PGP signature


Re: horrible mc colorscheme

2010-04-06 Thread d . sastre . medina
On Tue, Apr 06, 2010 at 02:00:06PM -0500, Hugo Vanwoerkom wrote:
> OK. What about this. Can anybody explain the following:
> 
> h...@debian:~$ which mc
> /usr/local/bin/mc
> h...@debian:~$ mc -V
> GNU Midnight Commander 4.7.0.1
> Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
> With builtin Editor
> Using system-installed S-Lang library with terminfo database
> With subshell support as default
> With support for background operations
> With mouse support on xterm and Linux console
> With internationalization support
> With multiple codepages support
> Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 8
> h...@debian:~$ /usr/local/bin/mc -V
> GNU Midnight Commander 4.6.1
> Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, undelfs
> With builtin Editor
> Using included S-Lang library with terminfo database
> With subshell support as default
> With support for background operations
> With mouse support on xterm and Linux console
> With internationalization support

Hello,

I think (wild guess) you are checking this from a
different shell or did not log out/log in yet; or any other method 
-direct or indirect- the refresh your path.
Try to source your .bashrc or whatever defines your $PATH, and check
what happens. 

This is what I have:

Locally built copy:
$ which mc
/usr/local/bin/mc
$ mc -V
GNU Midnight Commander 4.7.1
Sistema de archivos virtual: tarfs, extfs, cpiofs, ftpfs, fish, mcfs,
undelfs
Editor de texto propio incluido
Utilizando la biblioteca S-Lang instalada y terminales según terminfo
Soporte subshell activo por defecto
Soporte para operaciones en 2º plano
Soporte para ratón en xterm y consola Linux
Soporte para eventos X11
Soporte para idioma local
Soporte para cambio de juegos de caracteres
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 32

Original deb package:
$ /usr/bin/mc -V
GNU Midnight Commander 4.6.2-pre1
Sistema de archivos virtual: tarfs, extfs, cpiofs, ftpfs, fish
Editor de texto propio incluido
Utilizando la biblioteca S-Lang instalada y terminales según terminfo
Soporte subshell activo por defecto
Soporte para operaciones en 2º plano
Soporte para ratón en xterm y consola Linux
Soporte para idioma local
Soporte para cambio de juegos de caracteres
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 8

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games

Regards.

-- 
Huella de clave = 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953


pgp55ldrhxNfg.pgp
Description: PGP signature


Re: how to set default gpg keyring?

2010-04-04 Thread d . sastre . medina
On Sun, Apr 04, 2010 at 01:26:33PM +0200, Jozsi Vadkan wrote:
> how can I set my gpg key as the default? "man gpg" doesn't helps this
> time :\
Jello,

Try setting it inside .gnupg/gpg.conf, default-key parameter.

Regards.

-- 
Huella de clave = 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953


pgpLUW868dHUx.pgp
Description: PGP signature


Re: lenny/volatile KEYEXPIRED 1269969909

2010-03-31 Thread d . sastre . medina
On Wed, Mar 31, 2010 at 09:26:16PM +0100, Berni Elbourn wrote:
> d.sastre.med...@gmail.com wrote:
> > On Wed, Mar 31, 2010 at 07:35:58PM +0100, Berni Elbourn wrote:
> >> Hi,
> >>
> >> Is anyone else geting these when aptitude updating:
> >>
> >> Fetched 44.6kB in 2min0s (369B/s)
> >> Reading package lists... Done
> >> W: GPG error: http://ftp.uk.debian.org lenny/volatile Release: The 
> >> following signatures were invalid: KEYEXPIRED 1269969909 KEYEXPIRED 
> >> 1269969909 KEYEXPIRED 1269969909
> >> W: You may want to run apt-get update to correct these problems
> > 
> > WJFFM.
> > 
> 
> Which mirror are you using?

$ cat /etc/apt/sources.list.d/volatile.list
deb http://volatile.debian.org/debian-volatile lenny/volatile main
contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
contrib non-free

and 

pub   2048R/6D849617 2009-01-24 [caduca: 2013-01-23]
uid  Debian-Volatile Archive Automatic Signing Key
(5.0/lenny)

-- 
Huella de clave = 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953


pgpiPbLicDUGo.pgp
Description: PGP signature


Re: lenny/volatile KEYEXPIRED 1269969909

2010-03-31 Thread d . sastre . medina
On Wed, Mar 31, 2010 at 07:35:58PM +0100, Berni Elbourn wrote:
> Hi,
> 
> Is anyone else geting these when aptitude updating:
> 
> Fetched 44.6kB in 2min0s (369B/s)
> Reading package lists... Done
> W: GPG error: http://ftp.uk.debian.org lenny/volatile Release: The 
> following signatures were invalid: KEYEXPIRED 1269969909 KEYEXPIRED 
> 1269969909 KEYEXPIRED 1269969909
> W: You may want to run apt-get update to correct these problems

WJFFM.

I tried to check that key in different keyserves (wwwkeys.de.pgp.net, 
pgp.mit.edu)

The answer is always the same: 

Error handling request: No keys found

From volatile.debian.org:

Archive signing key

   The archive key for lenny can be found in the
debian-archive-keyring package, which is installed by default, or in
lenny-volatile.asc[1] on this webserver.

This box uses:
# apt-cache show debian-archive-keyring
Package: debian-archive-keyring
Priority: important
Section: misc
Installed-Size: 60
Maintainer: Debian Release Team 
Architecture: all
Version: 2009.01.31
Depends: gnupg
Filename:
pool/main/d/debian-archive-keyring/debian-archive-keyring_2009.01.31_all.deb
Size: 12798
MD5sum: 3cdeff20c1e3a43070a02b3c36dbef8f
SHA1: 4737f742e01cb09f18c521948a38a09ff7cb2996
SHA256:
f541347f0d803962c29bd4e832dcdf25916b7e449d78b92eb5e17a622ca2b6b7
Description: GnuPG archive keys of the Debian archive
 The Debian project digitally signs its Release files. This package
 contains the archive keys used for that.
Tag: admin::file-distribution, role::data, security::authentication,
suite::debian

# dpkg -l debian-archive-keyring
Desired=Unknown/Install/Remove/Purge/Hold
|
Estado=No/Instalado/Config-files/Desempaquetado/Fallo-config/Medio-inst/espera-disparo/pendiente-disparo
|/ Err?=(ninguno)/Retenido/Requiere-reinst/X=ambos problemas
(Estado,Err: mayúsc.=malo)
||/ Nombre  Versión
Descripción
+++-===-===-==
ii  debian-archive-keyring  2009.01.31
GnuPG archive keys of the Debian archive

You could try manually fetching the key and import it into your keyring.

[1] http://www.debian.org/volatile/lenny-volatile.asc

Regards.


-- 
Huella de clave = 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953


pgpkfKbvy72xb.pgp
Description: PGP signature