Running kde and Gnome apps take over

2010-11-11 Thread B. Alexander
Hi,

I'm running kde 4.4.5 on my desktop and for the past few weeks, I have
seen something odd. It seems that when I, for instance, insert a CD,
instead of the native KDE app dialog popping up in the device
notifier, I get the Nautilus file browser. When I connect my N900, an
external hard drive or a thumb drive, it is the Gnome app that pops up
before the kde notifier. So when I try to umount from the device
notifier, I can't, presumably because the file gvfs apps have a lock
on it.

So how do I get rid of the gvfs stuff? I have killed gvfsd, only to
have it respawn. I checked the usual suspects, e.g. /etc/init.d,
/etc/inittab, /etc/inetd.conf, but found nothing about gvfs. So where
can I get rid of this behavior? How does gvfs actually get
started/spawned?

I realize I asked a similar question a couple of weeks ago, but
searching my system and looking on google have not resulted in a
solution.

Thanks,
--b


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



Re: To KVM or not to KVM

2010-11-11 Thread B. Alexander
Dave is correct. I have researched this long and hard, since I don't
particularly like vmware because they only seem to pay lip-service to
Linux. So I have researched a lot of the virtualization platforms for
Linux.

KVM needs a 64-bit cpu, but it also, as Dave said, needs the VTX
instruction set (for intel) or the SMX instructions for AMD.
Unfortunately, I have neither.

If you are running Linux-on-Linux, you might consider either vserver
or openvz. It does virtual containers similar to Sunacle Solaris'
containers. You can run many more virtual machines using containers
than you could with full virtualization because each container uses
less resources (and shares them better) than full virtualization.
http://linux-vserver.org/Welcome_to_Linux-VServer.org
http://wiki.openvz.org/Main_Page

You could run vmware esxi, but as I said, I'm not fond of it. I don't
think having to have a windows box to control it fits my workflow.
That said, esxi is free, though when you put in the free license, it
changes the filesystem to read-only.

Virtualbox is another option, however it is not intended for server
virtualization. It is more akin to vmware workstation or vmware
player.

HTH,
--b


On Thu, Nov 11, 2010 at 10:00 AM, David A. Parker dpar...@utica.edu wrote:
 I think that the virtualization support in some CPUs is not compatible with
 KVM.  I have an HP server with two dual-core Xeon model 5160 CPUs in it.
  According to Intel's website, this CPU has the VT-x extension for
 virtualization support, and I enabled virtualization support in the BIOS.
  However, QEMU says that the CPU does not support virtualization, and
 /proc/cpuinfo does not show the vmx extension (which KVM requires).

    - Dave

 On 11/11/2010 09:23 AM, David Baron wrote:

 I have a dual core intel processor with hyperthreading, etc.
 Virtualization options are set on in BIOS.

 I still get something like CPU does not have extensions, doing nothing
 when
 the KVM driver tries to load.

 I am using a stock 2.6.32 kernel from Sid.

 How do I activate KVM stuff? Need to compile the kernel with options set?



 --

 Dave Parker
 Systems Administrator
 Utica College
 Integrated Information Technology Services
 (315) 792-3229
 Registered Linux User #408177


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
 of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/4cdc0503.5000...@utica.edu




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



Re: Wayland Unity -- any repercussions on Debian?

2010-11-09 Thread B. Alexander
I personally am not impressed with Unity. I think it looks and feels
too much like Moblin. It may be good for a netbook or other
screen-real-estate limited device (I'm not even sure on this point),
but a full-size desktop? Not thanks. I usually have multiple windows
open on multiple desktops, and having windows open and covering the
icons so I can't open more windows just does not fit my workflow. I
imagine opening a terminal and ending up with a single 1680x1050 xterm
devouring my screen. Worse, in a font that is large enough so that the
terminals size is still 80 columns by 16 lines and can be read by
someone 2 rooms away... :)

Having said all that, I have never used Unity. It may be the best
thing since the invention of the computer, but I don't think so.

Just my 2 cents.
--b

On Tue, Nov 9, 2010 at 7:08 AM, Klistvud quotati...@aliceadsl.fr wrote:
 Howdie, fellow Debianites!

 As you probably know, Ubuntu is planning to replace X11 with the Wayland
 Display Management System, and replace Gnome with Unity. X11 and Gnome will
 still be in the Ubuntu repos, at least initially, but they won't be the
 Ubuntu default anymore.

 What are your opinions on the matter, will this have repercussions for
 Debian? *Should* it?

 --
 Cheerio,

 Klistvud                             http://bufferoverflow.tiddlyspot.com
 Certifiable Loonix User #481801      Please reply to the list, not to me.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.orgwith a subject
 of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/1289304485.565...@compax




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimckrrl9cun+0m10ck2j+xxer7qmieh6kg-3...@mail.gmail.com



*fox + gmail

2010-11-05 Thread B. Alexander
I'm having a weird problem on my workstation at home. I can't do
anything on gmail any more. I can pull the site up and look at emails,
but I can't compose, I can't go into the settings and my chat contacts
are gone. This started happening about 2 days ago. I'm running 32-bit
sid (with an amd64 kernel, due to time shift issues), but it has been
that way for well over a year.

My work box, which is running 64-bit sid does not have this problem.

I tried this in both iceweasel and swiftfox, cleared all the google
cookies, and still the problem persists, but only on this box.

Any ideas?
--b


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinqqkz9elz1jgr+2zxmodbbt73_qg9b-ag6d...@mail.gmail.com



Re: Orphaned User Accounts?

2010-11-03 Thread B. Alexander
Here is an idea...Just throwing this out there. If the accounts are
placeholders, why not set them up on install with a shell of
/bin/false and then when a package that needs them is installed, one
of the steps would be to chsh to /bin/sh or whatever.

Obviously, this would be something to be accepted by the Project, the
individual stakeholders and the maintainers, but I just thought I
would throw it out there...

--b

On Wed, Nov 3, 2010 at 9:50 AM, John Hasler jhas...@debian.org wrote:
 Carlos Mennens writes:
 I never installed Apache so why would there be a '/var/www' directory
 or for that matter a 'www-data' user in '/etc/passwd'?

 So that if you ever do install Apache or any other Web server it will
 get UID 33 and GID 33.  The entries you are complaining about are
 placeholders.  The idea is to standardize the UIDs of the various system
 users.  See section 9.2 of the Debian Policy manual.
 --
 John Hasler


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/87k4kuzfbo@thumper.dhh.gt.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinmseccftds-pocya--3g5uzgm4tsth5ojp+...@mail.gmail.com



Mail server recommendations

2010-10-26 Thread B. Alexander
Hi all,

I figured I would ask for a sanity check here. I'm looking to replace my
internal mail server. Right now, I'm running Zimbra 5.0.x, but I have always
run on the low end of the hardware requirements, and now, the box I am
running on (2.4 GHz P4, 1GB RAM) is being beaten to death by java in zimbra.
Load average always hovers between 3 and 6.

Now the mail server, since Comcast blocked port 25, is mainly used for
internal monitor/security messages, like ossec and opsview, apticron
messages, etc. So I was looking to set up an OpenVZ container, probably sid,
as a mailserver with the following:

* postfix
* dovecot
* spamassassin (in case I ever decide to work around the port 25 block)
* roundcube for webmail

Anyone got any suggestons? Either anything I'm missing or packages that work
better?

Thanks,
--b


Re: Mail server recommendations

2010-10-26 Thread B. Alexander
I had considered squirrel, but I'm not in love with the interface.

On Tue, Oct 26, 2010 at 8:13 AM, Camaleón noela...@gmail.com wrote:

 On Tue, 26 Oct 2010 07:10:33 -0400, B. Alexander wrote:

 (...)

  Now the mail server, since Comcast blocked port 25, is mainly used for
  internal monitor/security messages, like ossec and opsview, apticron
  messages, etc. So I was looking to set up an OpenVZ container, probably
  sid, as a mailserver with the following:
 
  * postfix
  * dovecot
  * spamassassin (in case I ever decide to work around the port 25 block)
  * roundcube for webmail
 
  Anyone got any suggestons? Either anything I'm missing or packages that
  work better?

 I like Postfix and Dovecot :-)

 Spamassassin is resource (ram/cpu) consuming and provided that you are
 not going online (no spam) it could be omitted.

 As an alternative to Roundcube (I avoid webmail as much as I can) I would
 take a look into Squirrel.

 Greetings,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2010.10.26.12.13...@gmail.com




Re: Mail server recommendations

2010-10-26 Thread B. Alexander
I don't mind keeping my mail in a flat file rather than a db. I guess if I
were doing higher volume stuff, it might make a difference, but most of the
emails I deal with are read, deal with and delete.

On Tue, Oct 26, 2010 at 8:20 AM, Carlos Mennens carlosw...@gmail.comwrote:

 On Tue, Oct 26, 2010 at 8:13 AM, Camaleón noela...@gmail.com wrote:
  I like Postfix and Dovecot :-)

 I think Postfix is the best open source MTA available on Linux hands
 down. I have used Sendmail, Qmail, and Exim and none of them have
 given me the flexability and security of Postfix. Not to mention it's
 the easiest thing to configure. The only downfall to Postfix is the
 mailing list / community. At times their very unsupportive and can
 make you feel like an idiot for asking good questions. It's not just a
 matter of 'use Google'...

  Spamassassin is resource (ram/cpu) consuming and provided that you are
  not going online (no spam) it could be omitted.

 I use Spamassassin (spamd) with Amavisd-new which is a great tool and
 I think developed especially well on Debian over any other
 distribution.

  As an alternative to Roundcube (I avoid webmail as much as I can) I would
  take a look into Squirrel.

 Squirrelmail to me is dated and featureless in my opinion. Roundcube
 is the best webmail project available on Linux to date but there are
 things I wish they would hurry up and add to the features list.

 Here's my list for all my mail servers:

 - Postfix
 - Dovecot
 - PostgreSQL
 - Amavisd-new
 - ClamAV
 - Spamassassin
 - Roundcube


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




Wierd kde/gnome interaction

2010-10-22 Thread B. Alexander
For the past few weeks, I have had something wierd going on.

I have a full workstation load on my workstation, including KDE 4.4.5 and
Gnome. I personally run KDE. What I have seen over the past few weeks is
that when I plug in anything that triggers the device notifier (e.g. CD,
N900, thumb drive), the Gnome app (nautilus?) usually pops up before I have
the chance to select it in the device notifier.

Is there any way to shut Gnome up when I'm in KDE?

--b


Re: Wierd kde/gnome interaction

2010-10-22 Thread B. Alexander
I checked with ps, and there was nothing gnome running. I'm remoted in from
work, so I can't connect anything to it, but nothing seems to be listening
from the gnome camp.

--b

On Fri, Oct 22, 2010 at 11:46 AM, Camaleón noela...@gmail.com wrote:

 On Fri, 22 Oct 2010 11:27:33 -0400, B. Alexander wrote:

  For the past few weeks, I have had something wierd going on.
 
  I have a full workstation load on my workstation, including KDE 4.4.5
  and Gnome. I personally run KDE. What I have seen over the past few
  weeks is that when I plug in anything that triggers the device notifier
  (e.g. CD, N900, thumb drive), the Gnome app (nautilus?) usually pops up
  before I have the chance to select it in the device notifier.
 
  Is there any way to shut Gnome up when I'm in KDE?

 Mmm... check for services running on start up (you can use system
 monitor) and look for the suspicious one (gnome-volume-manager, nautilus-
 * or so) and if running, kill it. Then load a CD or any other media
 device and see what happens.

 Greetings,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2010.10.22.15.46...@gmail.com




Re: Wierd kde/gnome interaction

2010-10-22 Thread B. Alexander
Aha. That makes a difference.

storm 4099  0.0  0.0   6924  1756 ?SOct03   0:06
/usr/lib/gvfs/gvfsd
storm 4153  0.0  0.0   7300  2148 ?SOct03   0:00
/usr/lib/gvfs/gvfsd-trash --spawner :1.57 /org/gtk/gvfs/exec_spaw/0
storm 4218  0.0  0.0  41680  3012 ?SOct03   0:07
/usr/lib/gvfs/gvfs-gdu-volume-monitor
storm 4266  0.0  0.0   7060  1736 ?SOct03   0:00
/usr/lib/gvfs/gvfs-gphoto2-volume-monitor
storm 4276  0.0  0.0  16852  1612 ?Sl   Oct03   0:42
/usr/lib/gvfs/gvfs-afc-volume-monitor
storm 4304  0.0  0.0   6956  1660 ?SOct03   0:00
/usr/lib/gvfs/gvfsd-burn --spawner :1.57 /org/gtk/gvfs/exec_spaw/1
storm 4326  0.0  0.0   6108  1356 ?SOct03   0:00
/usr/lib/gvfs/gvfsd-metadata

How do I turn it off in KDE but make sure it is enabled if I ever log into
Gnome?

--b

On Fri, Oct 22, 2010 at 2:58 PM, Camaleón noela...@gmail.com wrote:

 On Fri, 22 Oct 2010 13:22:02 -0400, B. Alexander wrote:

  On Fri, Oct 22, 2010 at 11:46 AM, Camaleón wrote:
 
   Is there any way to shut Gnome up when I'm in KDE?
 
  Mmm... check for services running on start up (you can use system
  monitor) and look for the suspicious one (gnome-volume-manager,
  nautilus- * or so) and if running, kill it. Then load a CD or any other
  media device and see what happens.

  I checked with ps, and there was nothing gnome running. I'm remoted in
  from work, so I can't connect anything to it, but nothing seems to be
  listening from the gnome camp.

 Re-check the services. In Squeeze they have been renamed to gvfs-*.
 There must be something in the GNOME side running in background
 cannibalizing your device monitoring.

 Greetings,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2010.10.22.18.58...@gmail.com




Re: Debian 6.0 'Squeeze' home server - Installation guide

2010-10-21 Thread B. Alexander
Another couple of items that I came up with, to follow up to Lee's post. You
might want to discuss having bastion hosts, such that each server performs a
function. The most obvious (though probably out-of-scope for a home server)
would be that it would be a Bad Idea to put a public anonymous ftp server on
the same machine as your production database server. Now that example would
be overkill for your typical home environment, though it might be valid for
a small business. However, in a home environment, a parallel case might be
that you wouldn't want your mythtv installation running on your backup
server.

In any case, you should discuss bastion hosts vs. all-in-one servers. In
this discussion, you could bring up the point that while you can place them
on physical boxes, it might be more cost effective to virtualize them. There
are a number of options here, including

* openvz
* linux-vserver
* kvm
* xen
* vmware
* virtualbox

All have pros and cons. (I'm still looking for the ultimate solution.) The
first two will only support Linux guests, while KVM requires a 64-bit cpu
with the virtualization instructions (e.g. VT-x or it's AMD equivalent). Xen
is sort of messy to install and vmware...Well, I have real issues with
vmware. They only pay lip service to Linux. There is no Linux client to
manage it, except for vmware server, and that is its own nightmare...VBox is
an option, but really isn't scaled for server-type virtualization.

Personally, most of my VMs are on openvz.

In any case, you should definitely have your firewall on a separate machine,
bare metal if possible. I also recommend your backup machine be on a
separate bare metal machine. That said, you can probably combine your
various web servers, etc.

--b

On Wed, Oct 20, 2010 at 2:15 PM, lee l...@yun.yagibdah.de wrote:

 On Wed, Oct 20, 2010 at 01:59:42PM +, Pinguim Ribeiro wrote:
 
  In a easy to follow way (you can copy and paste all you need) this site
 will
  guide you step by step through:

 There doesn愒 seem to be more than the before you begin and
 installation part 1 and part 2?

 There愀 no mentioning about setting up RAID and reasonably
 partitioning the disks in the installation guide. I consider RAID1 as
 a minimum requirement to minimally secure your data, and when setting
 up servers, it愀 a minimum requirement for reliability. I悲 also
 recommend not to use DHCP but --- if provided by some router --- to
 turn it off in the router and to do all network configuration in the
 LAN manually.

 But then, there愀 a decision to make wheather to use a(n external)
 router/firewall or not, and since you愉e about setting up a server,
 you might want to consider to use the server as a firewall and
 router. This would be a topic that could be discussed in the before
 you begin section so that everyone can make their own decision,
 considering the advantages and disadvantages.

 On a side note: When you start with a computer and the installer CD
 and some sort of internet connection that needs to be established
 before it can be used (like pppoe), is that even possible? I扉e never
 tried that, but I haven愒 seen a way in the installer to setup a way
 to dial-in, like pppoe, to get a working internet connection. If it愀
 possible, ppl don愒 need to buy routers if they decide to set up their
 server in such a way that it does the routing and firewalling.

 There doesn愒 seem to be a section planned about compiling the
 kernel. Though it愀 possible to use a kernel out of the box, the
 kernel the installer installs is awfully bloated ... Some other topics
 that seem to be missing is setting up your nameserver and traffic
 shaping.


 One mistake that ppl starting to use Linux often seem to make is
 demanding that everything they can think of somehow magically starts
 to work all by itself. They have no idea about how much there is to
 learn about every aspect, and they don愒 realize that they will have
 to do the learning, how time consuming that will be, how much effort
 it takes and how annoying it can be. Instead, they get frustrated
 quickly.

 Any guide giving even the slightest suggestion that they could easily
 and reasonably set up and administrate a server as complex as you
 envision would mislead them. Trying to give them an idea of what they
 are eventually about to get into and that they need to make one very
 small step after another rather than demanding that everything has to
 work right now is something I悲 tell them even before the before you
 begin section.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/20101020181555.ge3...@yun.yagibdah.de




ATI problems

2010-10-16 Thread B. Alexander
Hi,

For the past several months, I have been unable to run Compiz on my desktop
at work. At home, I run KDE 4.4.5 and use compiz 0.8.4 for compositing. On
this box, I have a GeForce 8600GT video card and am using the closed nvidia
driver.

At work, I have a similar configuration, but I have an ATI Radeon HD 2400 XT
card. I have tried the ATI driver, Radeon and am currently running the
closed fglrx.

This configuration used to work under fglrx, until ATI painted me into a
corner with a driver upgrade. Now when I start compiz, the borders and all
the compositing features work, only I am unable to see because all of the
surfaces (the panel, the contents of the terminal windows, etc) are solid
white. Sometimes the browser will come up normally, but it eventually goes
white as well.

I've played around with fixing it several times, but have contented myself
with KDE compositing, though I prefer compiz.

Anyone know of a fix for this?

Thanks,
--b


Re: OT: advice on Notebook, smartbook from alwaysinnovating

2010-10-13 Thread B. Alexander
I don't have one, but it is one of my top choices for a netbook. I remember
when they came out. There was a guy on the talk.maemo.org forums that got
one, and he said it was a good machine.

The earlier version had some construction issues, they kinda felt cheesy,
but I assume they worked these bugs out. And the processor was a little
anemic, (400MHz ARM, same as in my N810), but they have come out with a new
version (SmartBook) has a Cortex A8, which is the same chip as the N900 will
do at a minimum, 600MHz, and can be overclocked (the record on the N900 is
apparently 1.7GHz).

Not sure what distro it runs (Meego?), but the guy that got the TouchBook
running Maemo, which is based on Debian.

--b

On Wed, Oct 13, 2010 at 4:40 PM, Thierry Chatelet tchate...@free.fr wrote:

 Hi,
 I am planning to buy a notebook, laptop or tablet for my daughter who is at
 university. So the main use will be internet research, and writing of her
 theses (in litterature, so no big.deal as far as sketches, drawings...).
 The
 contract from alwaysinnovating, respecting the gpl even on the material
 just
 please me. But if any of you has try it, can you give some feed back, at
 least
 on the notebook, as I would get the smartbook which is not produced yet.
 But
 if their first product was up to what they claim it is, I would like to
 give
 them a chance for the next baby. Thank you
 Thierry


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/201010132240.02301.tchate...@free.fr




Re: OT: advice on Notebook, smartbook from alwaysinnovating

2010-10-13 Thread B. Alexander
...or possibly a larger monitor and keyboard if mobility is an issue.

I was issued a Macbook, and tried humping that monster around for a week.
Gave up and it sat at home. Traded it in for a Lenovo thinkpad. Of course, I
generally use my N900 for the stuff that I would need a laptop for at work.
:)

--b

On Wed, Oct 13, 2010 at 5:45 PM, Camaleón noela...@gmail.com wrote:

 On Wed, 13 Oct 2010 22:40:02 +0200, Thierry Chatelet wrote:

  I am planning to buy a notebook, laptop or tablet for my daughter who is
  at university. So the main use will be internet research, and writing of
  her theses (in litterature, so no big.deal as far as sketches,
  drawings...).

 (...)

 If mobility is not a requirement, I would go for a good and generous
 screen laptop (15 or 16). For someone who needs writing a lot, it is
 very convenient.

 Greetings,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2010.10.13.21.45...@gmail.com




Re: --set-selections - help needed to use this

2010-10-12 Thread B. Alexander
Hmmm. I've used this method several times before, in fact it is my primary
way of building machines.

On Tue, Oct 12, 2010 at 7:05 AM, Lisi lisi.re...@gmail.com wrote:

 I am installing on a new box.  I have copied the installed_packages.txt
 from
 the old box onto a CD.  (I am physically 10 miles away from the old box)

 I am failing in using teh list to install.  I navigated to /media/cdrom0,
 then
 did

 #dpkg --set-selections  installed_packages.txt
 #apt-get -u dselect-upgrade

 After the first, the system complained that the file is read only.  But I
 only
 want to read it, surely?  And after the second command 0 files were
 installed!


Are you sure it wasn't just letting you know that you were reading from
read-only media? The other option would be to copy the file from
/media/cdrom0 to /root and do your --set-selections from there. But it
really shouldn't matter.

As for the second, I have never used the -u. And according to the apt-get
man page:

   -u, --show-upgraded
   Show upgraded packages; Print out a list of all packages that are
   to be upgraded. Configuration Item: APT::Get::Show-Upgraded.

As other posters have suggested, try running it without the -u.

--b


Re: Security policy

2010-10-10 Thread B. Alexander
On Sat, Oct 9, 2010 at 3:34 PM, Paweł Ch. pch0...@gmail.com wrote:

 Hi,
 I must create security policy for my company.
 Can someone send me example security policy? Especially with division to
 user, administrator and boss.

 Thanks


Yeah, as the other posters have said, you should focus on guidelines. Each
security policy is as different as a fingerprint, even between two divisions
of the same company.

Since you appear to be in Europe, if you are looking for
standards-compliance, you might check ISO27001 and the SANS documents.

If you are in the US, those, plus the NIST Special Publication 800 series or
the DoD's docs (which I haven't worked much with). Then there is PCI, FFIEC,
etc for the banking industry. Gives new meaning to The great thing about
standards is that there are so many to choose from...

HTH,
--b


Re: [OT] a radar-like tracking device

2010-09-30 Thread B. Alexander
You should have a listen to episode 9 of Hack Radio Live (
http://hackradiolive.org/), where they talked about DIY radar. It actually
sounds like it wouldn't be insanely expensive to build your own radar
set...Obviously, it wouldn't be military grade, but you could conceivably do
it on a shoestring.

The episode is located at http://hackradiolive.org/show.php?show=9

--b

On Thu, Sep 30, 2010 at 11:34 AM, Zhang Weiwu zhangwe...@realss.com wrote:

  Being off-topic I don't know which place better to ask such question.

 I want to have a radar-like device to track moving object. It should offer
 me two piece of information: the angel and the distance of the object from
 me. I want to have the similar thing as the radar of Conter-Strike (in
 game it displays locations of all friendly team members) or the Motion
 Detector as in Halo (in game it displays moving objects near-by).

 Given the technology available nowadays it's hard to believe such device
 not existing for consumers, but not knowing the name of such device it's
 hard for me to Google it out. Most google search lands in GPS tracking
 devices that offer me a lot of features I don't need. I don't need to see
 the object on a map, google map or anything, not need to know it's
 latitude/longitude, and I don't need to see the location on PC, mobile phone
 and color hand-held display with map on it. I particularly don't need it to
 work in global scale of 510GigaSquareMeter (surface of the earth), 300 meter
 coverage would do.

 So if any one came across such a device can you give me a hint?

- It should come in pair, one stick/bind on the thing to be tracked,
the other have a radar screen to find its partner. It is not even necessary
have a radar screen, a wrist-watch-like or compass-like mechanical pointer
thing would do.
- If it works outdoor it's enough. No need to use indoor.
- If it can find the 'partner' in 150 meters it's good enough. 300
meter even better. Longer not needed.
 - Both are movable, not fixed on the wall.
- The information it provides should be close to real-time, update once
per 15 seconds would be enough.

 Thanks in advance for suggestions and tolerance of off-topic posts.

 P.S.

 I also went to local supermarkets, and the things they sell are all GPS
 devices, usually around 100USD (not cheap in China). Yet the feature list on
 such devices are everything I don't need. Even worse most of the devices
 need me to do the math or use a map to calculate the angel between me and
 the object being tracked, as they are designed heavily map-oriented.





Re: root can't sudo

2010-09-28 Thread B. Alexander
I was looking at this last night. As a test, I pulled root out of sudoers,
and it gives the same error as it would for a non-root user, root is not in
the sudoers. This will be reported.

I can't figure out why it is giving you a permission denied. Are you running
extended acls or anything like that? That is the only way that you should
ever get a permission denied result for root.

--b

On Mon, Sep 27, 2010 at 8:34 PM, T o n g mlist4sunt...@yahoo.com wrote:

 On Mon, 27 Sep 2010 20:16:05 -0400, Tom H wrote:

  What could be wrong?
 
  grep root /etc/sudoers

 % grep ^root /etc/sudoers
 root ALL=(ALL) ALL

 It has always been there.

 --
 Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/i7rd64$96...@dough.gmane.org




Re: OT Re: root can't sudo

2010-09-28 Thread B. Alexander
Another way to do it would be to have the invisible sudo similar to

NEEDSUDO=
if [ `id -u` != 0 ] ; then
  NEEDSUDO=sudo
fi
echo abc | $NEEDSUDO tee /tmp/t

Then, if the uid is not 0 (root), then it inserts the sudo line...If run by
root, then NEEDSUDO is empty.

--b

On Tue, Sep 28, 2010 at 5:42 PM, T o n g mlist4sunt...@yahoo.com wrote:

 On Tue, 28 Sep 2010 16:14:24 +0200, Alois Mahdal wrote:

  I dont use sudo, but can you explain me,so I will go to bed with more
  knowledge, why root would need sudo?
 
  invoking my scripts embedded with sudo as root
 
  I'm, not sure what you mean by embedded here, so my guess is that you
  mean making something like this work for both user and root: . . .

 Thanks for the clear illustration. Yep, that's what I meant.

 Besides, I share my aliases between my normal account and root account,
 many of them are using sudo and I don't want to define two sets for the
 same functionalities.

 cheers

 --
 Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/i7tnh0$75...@dough.gmane.org




Newer kernels?

2010-09-22 Thread B. Alexander
It seems that we (Debian) is falling further and further behind. The latest
kernel in sid is 2.6.32+28, and I didn't see anything in experimental. Are
we going to see any of the more recent kernels any time soon in Debian?

Thanks,
--b


Re: Updating files in /etc Remotely (and automated)

2010-09-17 Thread B. Alexander
I agree with Jesús. This is a far more elegant and scalable solution, though
my experience is with cfengine [1]. This allows you to use svn or cvs to
manage the master files, check out the files to your workstation, make
changes and commit, and depending on how you have it set up, have the
changes automatically propagated. There are actually several similar
packages (cfengine = perl-ish, bcfg2 = python-ish, puppet =
ruby-on-rails-ish, etc.) They all have the same goal in mind, convergence of
system configurations, loosely referred to as configuration management.

--b

[1] http://www.cfengine.org

2010/9/13 Jesús M. Navarro jesus.nava...@undominio.net

 Hi, Hal:

 On Saturday 11 September 2010 23:15:50 Hal Vaughan wrote:
  I will be working with a server on the Internet that uses rsync and is
  running Debian.  I will be setting up initial /etc/rsyncd.conf and
  /etc/rsyncd.secrets files on it.  But along the way, whenever a new user
 is
  added, they'll need to be updated.  I can use ssh on this system, but, of
  course, I don't want to allow root access.
 
  I'd like to be able to have these files updated automatically when I add
 a
  new user to another system.  I could create new copies of the files
  locally, where the users are added and use scp to copy them to a
 directory
  on the server.  But that's where there are problems.  How can I chown the
  files to root, copy them to /etc, and chmod as needed for rsync to use
 them
  automatically?

 I know that's not what you specifically asked for, but thinking a bit
 out-of-the-box, what you have is a need to remotely configure a machine
 from
 a central information repository.

 Have you though about using Puppet*1 for that?

 *1 http://www.puppetlabs.com

 Cheers.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/201009131456.15818.jesus.nava...@undominio.net




Re: Straw poll: What browser do you use?

2010-09-08 Thread B. Alexander
I'm running 3.5.11 on sid.

One of the problems that I have (and maybe one of my problems with
performance) is that there are several extensions that I can't live without.
I have a slew of them installed, but the main ones I use on a daily basis
include:

* AdBlock Plus
* Readability
* Secure Login
* NoScript
* FoxTab (meh...)
* CS Lite
* BugMeNot (though I haven't used it in a while...)

I have several others installed, but these are the ones I use more or less
daily.

--b

On Tue, Sep 7, 2010 at 1:18 PM, Camaleón noela...@gmail.com wrote:

 On Tue, 07 Sep 2010 09:16:26 -0400, B. Alexander wrote:

  I'm just wondering, since firefox/iceweasel seems to be getting
  unusable.

 What version of Iceweasel?

 Seems that 3.5.x are getting better in preventing that leaks and also
 are a bit more resource-wise.

  I have a 2.2GHz C2D box with an nvidia card at home, and a
  3.0GHz C2D with a (lame) ATI card at work. I find that firefox (or
  xulrunner-stub) have memory leaks, and after a couple of days, it eats
  up a significant amount (10-30%) of memory. The work box has 3GB and the
  home box has 4GB. It also eats up a significant amount of CPU.

 Javascript and flash can also make you browser to jump in resources
 consumption...

  This morning, after idling all weekend, iceweasel on my work system was
  chewing up between 70 and 100% of my cpus, and scrolling pages were
  hesitating for several seconds.
 
  So what do others use?

 Iceweasel :-P

 Greetings,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2010.09.07.17.18...@gmail.com




Re: Straw poll: What browser do you use?

2010-09-08 Thread B. Alexander
I didn't figure that was a problem, but I thought I would mention it, both
from a this may be your problem perspective, and (more importantly) a
this is why I really don't want to part from firefox...especially the
adblock plugin. I worked at a site where we had to use windows and IE, and I
never realized how horrible an experience surfing the web was for mere
mortals...:) You get spoiled not to have to put up with all the advertising
swill...

--b

On Wed, Sep 8, 2010 at 8:58 AM, Kelly Clowers kelly.clow...@gmail.comwrote:

 On Wed, Sep 8, 2010 at 04:15, B. Alexander stor...@gmail.com wrote:
  I'm running 3.5.11 on sid.
 
  One of the problems that I have (and maybe one of my problems with
  performance) is that there are several extensions that I can't live
 without.
  I have a slew of them installed, but the main ones I use on a daily basis
  include:
 
  * AdBlock Plus
  * Readability
  * Secure Login
  * NoScript
  * FoxTab (meh...)
  * CS Lite
  * BugMeNot (though I haven't used it in a while...)
 
  I have several others installed, but these are the ones I use more or
 less
  daily.

 I don't know, I have a lot of extensions on my Mozilla and FF, and they
 have
 never caused performance problems for me.

 Cheers,
 Kelly Clowers


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




Straw poll: What browser do you use?

2010-09-07 Thread B. Alexander
I'm just wondering, since firefox/iceweasel seems to be getting unusable. I
have a 2.2GHz C2D box with an nvidia card at home, and a 3.0GHz C2D with a
(lame) ATI card at work. I find that firefox (or xulrunner-stub) have memory
leaks, and after a couple of days, it eats up a significant amount (10-30%)
of memory. The work box has 3GB and the home box has 4GB. It also eats up a
significant amount of CPU.

This morning, after idling all weekend, iceweasel on my work system was
chewing up between 70 and 100% of my cpus, and scrolling pages were
hesitating for several seconds.

So what do others use?
--b


Re: Straw poll: What browser do you use?

2010-09-07 Thread B. Alexander
I tried chrome once, and really wasn't impressed with it. First of all, it
didn't play nicely with my kde4 desktop, had its own fisher-price looking
borders, etc. I also wonder how much of my browsing experience that google
is caching and phoning home. I know I use gmail, though I have been
reconsidering that as well...Since it has been almost painfully slow the
past month or so...

--b

On Tue, Sep 7, 2010 at 10:18 AM, Vince Vielhaber v...@michvhf.com wrote:

 On Tue, 7 Sep 2010, B. Alexander wrote:

  I'm just wondering, since firefox/iceweasel seems to be getting unusable.
 I
 have a 2.2GHz C2D box with an nvidia card at home, and a 3.0GHz C2D with a
 (lame) ATI card at work. I find that firefox (or xulrunner-stub) have
 memory
 leaks, and after a couple of days, it eats up a significant amount
 (10-30%)
 of memory. The work box has 3GB and the home box has 4GB. It also eats up
 a
 significant amount of CPU.

 This morning, after idling all weekend, iceweasel on my work system was
 chewing up between 70 and 100% of my cpus, and scrolling pages were
 hesitating for several seconds.

 So what do others use?


 Firefox 3.6.8 normally.  On the work machine I use Google Chrome 'cuze
 it's faster but I don't really like it much.  Chrome will start acting
 strangly if I have too many windows open that are full of tabs where
 Firefox doesn't seem to have a problem with it.  I like to take advantage
 of the space in the status bar for extra buttons/functionality.  Can't
 do that with Chrome.  Chrome makes you put all the extension buttons in
 one place.  Chrome's also not as configurable as Firefox.

 On memory leaks and stuff, they all seem to, especially if you use flash
 and it seems just about every website on the planet uses it somewhere.

 When it gets too bad I just kill it with a -9 and when I restart it will
 restore everything the way it was sans memory leaks.

 Vince.
 --
  Michigan VHF Corp.   http://www.nobucks.net/   http://www.CDupe.com/



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/pine.bsf.4.64.1009071012260.6...@paprika.michvhf.com




Re: Cannot print from Adobe Acrobat

2010-09-05 Thread B. Alexander
It has, and I have not seen any issues with pdfs. Then again, I rarely use
pdf forms, and when I do, I end up using Xournal on my N810/N900. That
allows me to overlay a scratchpad over the pdf on which I can
type/write/draw (which means I can sign them as well), then export the whole
thing to pdf.

On the desktop, I mainly read books, etc...Or more likely, convert them to
epub. :)

--b

On Sun, Sep 5, 2010 at 4:42 AM, John A. Sullivan III 
jsulli...@opensourcedevel.com wrote:

 On Sat, 2010-09-04 at 23:23 -0400, B. Alexander wrote:
  You should also probably consider an alternative to Acrobat for PDF,
  since Adobe seems to have at least one security alert per week. My
  wife's computer (running lenny) had acrobat installed and she had the
  same problem...I uninstalled acrobat and she was able to open it in
  kpdf and print just fine.
 
  --b
 
  On Sat, Sep 4, 2010 at 3:57 PM, AG computing.acco...@googlemail.com
  wrote:
  Hello list
 
  I seem to have lost the ability to print from Adobe Acrobat
  using Debian Testing.  OOo prints just fine as do other
  applications, but for some reason Adobe doesn't want to play
  nicely with CUPS.  Can anyone offer me a way of debugging this
  and resolving the situation please?
 
  The Adobe in question is 9.3.1.  Thanks for any assistance.
 
 snip
 Unless you need to access complex PDF files.  We had tried that as well
 as KPDF is much lighter and faster but, it did not open some PDF and
 lacked some features of Acrobat Reader that were important for some of
 our clients.  I suppose the only way to see if it works better for you
 is to try it.  Actually, if you are on Testing, I believe KPDF has been
 superseded by Okular (I think that's the new KDE4 PDF reader) - John





libept0 -- Needed or not?

2010-09-05 Thread B. Alexander
A few weeks ago, I posted because sid wanted to uninstall a slew of system
apps, including aptitude. I waited it out as suggested here, and sure
enough, it cleared. However, I have one last package that does not seem to
clear -- libept0. So do I allow it to be uninstalled or should I wait longer
for the update?

thanks,
--b


Re: Cannot print from Adobe Acrobat

2010-09-04 Thread B. Alexander
You should also probably consider an alternative to Acrobat for PDF, since
Adobe seems to have at least one security alert per week. My wife's computer
(running lenny) had acrobat installed and she had the same problem...I
uninstalled acrobat and she was able to open it in kpdf and print just fine.

--b

On Sat, Sep 4, 2010 at 3:57 PM, AG computing.acco...@googlemail.com wrote:

 Hello list

 I seem to have lost the ability to print from Adobe Acrobat using Debian
 Testing.  OOo prints just fine as do other applications, but for some reason
 Adobe doesn't want to play nicely with CUPS.  Can anyone offer me a way of
 debugging this and resolving the situation please?

 The Adobe in question is 9.3.1.  Thanks for any assistance.

 AG



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/4c82a49f.6020...@gmail.com




Broken deps?

2010-08-25 Thread B. Alexander
I went to upgrade a sid box today and found that libapt-pkg-libc6.0-6-4.8
appears to be broken. I got a number of messages saying:

Depends: libapt-pkg-libc6.9-6-4.8 which is a virtual package.

Which means aptitude wants to remove things like apt-file, apt-listchanges,
aptitude, etc. With things being in flux with the freeze, is this just a
temporary issue which will be fixed soon? Should I wait for a day or two
(its been a couple already) or should I start holding packages?

--b


Connecting to Sun EBS client via java web page

2010-08-18 Thread B. Alexander
I have a problem wherein I cannot connect to our Sun StorageTek Enterprise
Backup Software (version 7.6) page, so I wonder if it is a Debian thing. I'm
using Iceweasel (3.5.9 through 3.5.11), and sun-java6 6.21. Ny coworker,
running an old Fedora box (F-8 or F-9 maybe?) can connect to it.
Unfortunately, I don't know a thing about java, and there is nothing that
jumps out at me in the avalanche of errors that Java gives me.

When I go to the site on port 9000, it offers me a pop-up to download the
gconsole.jnlp file. I choose Open with... and select javaws. It opens
Java, then thinks about it and says Unable to launch the application. I
click on details, and am attaching the exception and wrapped exception. Can
anyone decipher this and tell me whats going on?

Thanks,
--b

The exception was:

com.sun.deploy.net.FailedDownloadException: Unable to load resource:
http://foo.bar.net:9000/gconsole.jnlp
at
com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1372)
at
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1525)
at
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1503)
at
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1609)
at
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1534)
at
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
at
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:201)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:468)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:247)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:198)
at com.sun.javaws.Launcher.launch(Launcher.java:115)
at com.sun.javaws.Main.launchApp(Main.java:417)
at com.sun.javaws.Main.continueInSecureThread(Main.java:249)
at com.sun.javaws.Main$1.run(Main.java:111)
at java.lang.Thread.run(Thread.java:619)

The wrapped exception was:

java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.init(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
at
com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:185)
at
com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:113)
at
com.sun.deploy.net.BasicHttpRequest.doGetRequest(BasicHttpRequest.java:78)
at
com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1182)
at
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1525)
at
com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1503)
at
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1609)
at
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1534)
at
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
at
com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:201)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:468)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:247)
at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:198)
at com.sun.javaws.Launcher.launch(Launcher.java:115)
at com.sun.javaws.Main.launchApp(Main.java:417)
at com.sun.javaws.Main.continueInSecureThread(Main.java:249)
at com.sun.javaws.Main$1.run(Main.java:111)
at java.lang.Thread.run(Thread.java:619)


Re: Connecting to Sun EBS client via java web page

2010-08-18 Thread B. Alexander
Camaleón,

It is sid (I failed to mention that, I guess). Your direction worked
perfectly. Changed that sysctl to 0, ran sysctl and it started right up.
Thank you for that! I have been fiddling with this for a couple of months
now...

--b

On Wed, Aug 18, 2010 at 10:20 AM, Camaleón noela...@gmail.com wrote:

 On Wed, 18 Aug 2010 10:06:11 -0400, B. Alexander wrote:

 (...)

  When I go to the site on port 9000, it offers me a pop-up to download
  the gconsole.jnlp file. I choose Open with... and select javaws. It
  opens Java, then thinks about it and says Unable to launch the
  application. I click on details, and am attaching the exception and
  wrapped exception. Can anyone decipher this and tell me whats going on?

 (...)

  The wrapped exception was:
 
  java.net.SocketException: Network is unreachable

 Debian testing/sid? IIRC, there is a known bug for this:

 java-common: Package updates entail Network is unreachable in Java
 programs
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560142#35

 The trick was disabling ipv6 for java.

 Greetings,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2010.08.18.14.20...@gmail.com




Re: weird kmail double-messages

2010-08-18 Thread B. Alexander
On Wed, Aug 18, 2010 at 10:53 AM, Camaleón noela...@gmail.com wrote:

 On Wed, 18 Aug 2010 07:19:54 -0400, Paul Cartwright wrote:

  this only seems to happen with a thread, when it gets a message in the
  thread. I don't get 2 of the original messages, but I get 2 replies, as
  separate messages, that are the same.

 (...)

  can it be 2 filters?

 How are you getting the e-mails? Directly form your ISP or are you using
 some sort of fetchmail program in between? And in what way are you
 filtering/classifying the messages (using KMail filters, procmail
 filters, sieve filters...)?


I am getting mine from my upstream mail server at work. All lists are local,
e.g. group aliases...Not on any other mailing lists, atm.

kmail is fetching on its own, every 5 or 10 minutes, iirc...As well as using
kmail's internal filtering.

--b


Re: how to dual boot debian with redhat?

2010-08-03 Thread B. Alexander
You can also, if you have them partitioned separately, share filesystems. I
used to do that back in the day, with Slackware 2.x and RH 3.0.3. It's just
a matter of mounting the appropriate filesystem to the mount point.

You could probably still do the same with if you are using lvm, as long as
you don't get a namespace collision, e.g. both systems don't use vg00 for
the volume group name.

That said, as an earlier poster said, if you have the resources, use a
virtual machine.

--b


On Tue, Aug 3, 2010 at 7:52 AM, hadi motamedi motamed...@gmail.com wrote:

 Dear All
 On my debian machine, I need to install redhat on one of its partitions and
 so make it dual boot . Can you please let me know how this can be
 accomplished?
 Thank you





Re: Linux filesystems was [Re: Debian cd supporting ext4.]

2010-07-27 Thread B. Alexander
We use XFS in production at work. Where I work, we are routinely dealing
with hundreds of terabytes of data (I have heard the word petabyte bandied
about in several meetings), so we are beyond or hovering on the edge of the
size limits and performance limits of the ext filesystems.

At home, I primarily do reiserfs, for the simple reason that I have had need
in the past (more than one would guess) where I have needed to shrink a
filesystem. In fact, I needed to do so on a box at work.

Right now, I am trying to get my brain around the improvements in btrfs, and
hoping that will take off as many say it will.



On Tue, Jul 27, 2010 at 1:03 PM, Aniruddha mailingdotl...@gmail.com wrote:

 On Tue, Jul 27, 2010 at 6:19 PM, Stan Hoeppner s...@hardwarefreak.comwrote:

 Volkan YAZICI put forth on 7/27/2010 8:22 AM:

  You are missing a very important point: Durability to power failures.
  (Excuse me, but a majority of GNU/Linux users are not switched to a UPS
  or something.) And that's where XFS totally fails[1][2].

  [1]
 http://linux.derkeiler.com/Mailing-Lists/Debian/2008-11/msg00097.html

 

  a fantastic piece of FOSS into which many top-of-their-game
 kernel engineers have put tens of thousands of man hours, striving to make
 it
 the best it can be--and are wildly succeeding.

 That's was very informative, thanks. You got me curious and I will test
 XFS on my home system. To be honest I am still  little wary of using XFS in
 a production environment. For years now I have heard stories of power
 failures with catastrophic results when using XFS. Anyone who using XFS in
 a mission critical production environment? Anyone has experience with that?



Re: cloning/saving system

2010-07-21 Thread B. Alexander
John,

For future reference, if you want to have a basic clone (not an exact copy)
of a machine, what I end up doing (which allows me to provision a machine in
about 15 minutes) uses the following procedure:

1. Create a package list on the old machine [1]

dpkg --get-selections | grep -v deinstall  pkglist.hostname

2. (Optional) Capture the drive layout [1]

  df  driveinfo.hostname
  df -h  driveinfo.hostname
  fdisk -l  driveinfo.hostname

3. Build the new machine with the netinst or businesscard cd. When asked
what type of system to build (package selection), uncheck all the boxes.

Reboot into your new system, copy pkglist.hostname from step 1 onto the
machine. Do the following:

  dpkg --set-selections  pkglist.hostname
  apt-get dselect-upgrade

This should give you a system with a nearly identical set of packages that
you can then tweak to your hearts content.

[1] You can actually back these files up and have a pool of different
types of machine. For instance, I have a workstation packagelist, a laptop
list, as well as lists for the various types of bastion hosts in my network,
including a wiki host (mediawiki), firewall, backup server, etc.

--b

On Mon, Jul 19, 2010 at 5:41 PM, John Lindsay jcl...@sentex.net wrote:

 John Lindsay wrote:

 I am currently using debian lenny as my primary computer. It's a Dell
 Dimension 8300, P4, 3.4G with 1G Ram. 60G HD.
 I also have a Dell Optiplex GX620 which currently has win7 on a 300G HD
 with 1.5g ram. I will be removing files from the win7 and storing them on
 DVDs and installing Debian on it. How can I clone/transfer my current
 working machine with all it's files/programs like thunderbird/iceweasel etc
 to the GX520 and still retain a working system?

 John

 PS I have file backup manager 'Pybackpack' currently running but I don't
 think that is what I want.


  Thanks for all the info on the above. SHE WHO MUST BE OBEYED has
 persuaded me NOT to do as I planned. She likes the system as is and refuses
 to let me change it. Thanks anyway as I did learn a lot by  following up the
 suggestions on clonezilla etc.


 John



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/4c44c681.5010...@sentex.net




Re: cloning/saving system

2010-07-21 Thread B. Alexander
On Wed, Jul 21, 2010 at 9:11 AM, H.S. hs.sa...@gmail.com wrote:

 On 21/07/10 08:41 AM, B. Alexander wrote:


 3. Build the new machine with the netinst or businesscard cd. When asked
 what type of system to build (package selection), uncheck all the boxes.

 Reboot into your new system, copy pkglist.hostname from step 1 onto the
 machine. Do the following:


 I think you are also supposed to change your sources.list file at this
 point (for example if your machine was using Debian Unstable but if you used
 a Stable or Testing installer).


True, I neglected to mention this. I usually copy at least
/etc/apt/apt.conf, /etc/apt/sources.list (I use a universal one, so one size
fits all), and /etc/apt/sources.list.d over.


dpkg --set-selections  pkglist.hostname
   apt-get dselect-upgrade

 This should give you a system with a nearly identical set of packages that
 you can then tweak to your hearts content.


 I am not sure what you think about /home, but usually that is the more
 important consideration for me. What I usually do is:
 1. Make note of the UIDs  GIDs of the users (or the order in which they
 were created). 'ls -nl /home' lists those.
 2. Make a backup of /var as well to restore users' mail (in /var/mail) and
 cronjobs (in /var/spool/cron/crontabs) and perhaps at jobs (in
 /var/spool/cront).


Good points. I was under the assumption that you would not be transferring
data over from the old to the new, so I didn't consider it. Of course, if
you are managing more than a few boxes, you also might want to consider a
configuration management tool like cfengine or puppet. Then you could
script all of your UIDs and GIDs as well as other configuration details.
For instance, I have a list of essential packages (essential for me) that
I install on every box. With cfengine, I can automagically install them as
well as edit/modify that list in one place.


 Finally, backing up /etc and restoring it later prevents you from having to
 do all the configurations again.


Be careful with that. Especially if you are cloning a box that has been
around for a while. Carte blanche copying of /etc can lead to problems.
There is the problem of etc drift, even with a fairly recently built box.



  [1] You can actually back these files up and have a pool of different
 types of machine. For instance, I have a workstation packagelist, a
 laptop
 list, as well as lists for the various types of bastion hosts in my
 network,
 including a wiki host (mediawiki), firewall, backup server, etc.


 All good points.

 Thanks.


--b


System can no longer boot off of crypted drive

2010-07-01 Thread B. Alexander
I have a Lenovo T400 running sid. Did routine updates (I think there were
almost 200 today), and was prompted to reboot to complete the installation.
The system has /boot which runs on a thumb drive, an encrypted swap (sda1)
and an encrypted lvm (sda2).  When I rebooted, it did the chainload to
grub2, then gave me the following straight out of grub:

Loading, please wait...
  Volume group vg00 not found
  Skipping volume group vg00
Unable to find LVM volume vg00/root
[  6.310942] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  6.312679] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  6.315685] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Gave up waiting for root device.  Common problems:
- Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT!   /dev/mapper/vg00-root does not exist.  Dropping to a shell!

at which point I get the initramfs prompt. From the looks of things, there
was a kernel update, but the new initrd image doesn't decrypt
cryptdisks-early before trying to mount vg00. The initramfs command set
doesn't seem to have provision to decrypt the hard drive. I booted on the
Lenny install CD in rescue mode, and it found the encrypted partitons and
prompted me to decrypt.

Can someone help me to get the encryption working in the initrd (or whatever
the problem may be)?

Thanks,
--b


Re: Plasma lock/logout buttons lack icons

2010-06-27 Thread B. Alexander
Anyone?

On Thu, Jun 24, 2010 at 8:11 AM, B. Alexander stor...@gmail.com wrote:

 I just built a brand new laptop, a Lenovo T400 specifically, with KDE
 4.4.4. One of the things I enabled on the panel is the lock/logout plasmoid.
 However, instead of a blue lock and red logout icon, both (all three, since
 I have lock, logout and sleep enabled) have a terminal with the KDE logo
 instead. (Please see the attached jpg. Its tiny.)

 How can I fix this problem? Did I miss a package? All of my older boxes
 running kde 4.4.4 were upgraded from earlier versions of KDE.

 Thanks,
 --b



Re: Debian Community Poll

2010-06-14 Thread B. Alexander
Done.

On Mon, Jun 14, 2010 at 5:12 PM, Nate Bargmann n...@n0nb.us wrote:

 I weighed in...

 --

 The optimist proclaims that we live in the best of all
 possible worlds.  The pessimist fears this is true.

 Ham radio, Linux, bikes, and more: http://n0nb.us/index.html


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/20100614211201.gc28...@n0nb.us




Odd occurrence with keyboard control keys

2010-05-31 Thread B. Alexander
Hey,

I'm having a wierd occurrence with my keyboard keys. First, I'm running sid
with kde 4.4.3-2 with Compiz 0.8.3. I've been running this configuration
(kde + compiz) for a couple of years.

Lately, call it the last month or so, I get strange keyboard behavior. I can
be composing an email here in firefox or editing a file in vi or whatever,
and all of a sudden, the keys will switch TO ALL CAPS. All of the keys move
to their shifted mode, including the . becoming  and so forth, which
does not ordinarily happen when the caps lock is depressed. In fact, when
this occurs, I can hit shift lock, and get my letters back to lowercase, but
this does not affect the special characters or numbers. I'm have not been
able to figure out what activity causes it to return to normal. It appears
to be some sort of timeout partially, and possibly pressing the shift key
after the time lag...

I thought this was a problem with my USB keyboard (a really crappy
Logitech), so I swapped it to a PS/2 HP keyboard that I swapped from a
couple of years ago. It still had the same problem.

I also have another problem, which may be related to use of VMware player 3.
I open the player, start a windows box (my vmware VI client) and bounce
between that an another window, and all of a sudden, I can't use alt
ctrl or shift. Which makes it a little difficult to do anything until I
log out and restart X. Even closing vmware player doesn't help.

Has anyone seen any behavior like this?

Thanks,
--b


Aargh! I hate the fglrx driver!

2010-05-17 Thread B. Alexander
I upgraded my machine at work today, and among other things that were
installed, aptitude upgraded the kernel (linux-image-2.6.32-5-amd64) as well
as the fglrx packages. I had the 9-11 held, but aptitude upgraded it anyway.
And with the combination of packages, I was no longer able to roll back to
9-11...

The reason I had it held in the first place was that any with any of the
later drivers I was not able to get compiz working again. With the newer
drivers (including 10-4), my kde panel and terminal windows are solid white,
sort of a mini-white screen of death.

I have been fiddling with it (this time) for about the last 3 hours, and
can't get it to work. I looked online, but didn't see the level of uproar
that I would have thought  if it were a common problem. Therefore, I am
thinking that it is a configuration issue on this machine.

I did an m-a a-i fglrx, and the driver built, but as I said, compiz white
screens. KDE 4.4.3's compositing seems to work fine, but it doesn't have all
the features I need. (Group and tab comes to mind).

Anyone have any idea why  compiz won't work with newer fglrx drivers?

--b


Re: How to keep debian current??

2010-05-17 Thread B. Alexander
On Sat, May 15, 2010 at 3:39 AM, Alan Ianson agian...@gmail.com wrote:


 Yep, even though it's called unstable it's like a rock.. :)


I run unstable on everything, unless there is a reason not to (e.g my
mailserver, which runs zimbra has to run stable, and my firewall alternates
between testing and stable).

In my experience, unstable is more stable than testing, because of the whole
vetting process from unstable to testing.

As for installing unstable, I find the easiest way would be to install
stable, then add a line to /etc/apt/apt.conf:

APT::Default-Release unstable;

where unstable  can be replaced with testing stable or the actual
release name. The nice part about using the release name is that when a new
version of stable is released, you stay with the release you are running,
and don't have any unintended dist-upgrades.

I also use a generic sources.list file (attached), and add any extra repos
to /etc/apt/sources.list.d.

--b


sources.list
Description: Binary data


Re: LVM spanning multiple encrypted drives

2010-05-16 Thread B. Alexander
On Sun, May 16, 2010 at 12:45 PM, thib t...@stammed.net wrote:

 ...
  but consider encrypting the logical volume instead of the physical
 volumes.  It makes much more sense to me.


It seems to me that


  Does anyone know the right way to get the drives decrypted first?


 The fun might take place in your init scripts or in your initramfs,
 depending on your configuration.  Unfortunately, things are currently moving
 in this domain, and I'm not sure about Debian's position here -- thus I
 cannot recommend you a hack over any other.  Maybe someone can.

 I (very) quickly overviewed the initscripts, it looks like the same code in
 /lib/cryptsetup/cryptdisks.functions is called twice by cryptdisks-early
 (before lvm2), and then by cryptdisks (after lvm2).  Supposedly, the -early
 script can't decrypt some devices, I just don't know why.  By the looks of
 it all, I wouldn't be surprised if there were some dependency problems for
 unusual setups;  is the problematic device a raid volume or something?


 I started looking in this direction myself last night. I am, for the life
of me, unable to figure why or how drives are designated as early versus
non-early. With the exception of adding noearly to the options in
/etc/cryptab. However, I am unable to find a single partition on a single
encrypted machine that uses this option. So theoretically, all of the drives
should be designated as early. I also haven't done this in a couple of
years, so maybe the encryption system has matured in the meantime.


 If you mount your filesystems in your initramfs (which should really be
 done only for the root fs), you might be able to put some hooks in
 /etc/initramfs-tools.  I'm not really comfortable with it, so you should
 read the initramfs-tools(8) manual page or wait for more help.


I'm really not comfortable with modifying something like that, not because I
can't, but rather because I don't want to tweak something and have it break
on the next upgrade. So I will take the latter suggestion. I want to build a
test box to see if I can further troubleshoot the problem or if it still
even exists.

Thanks for the suggestions, thib...

--b


LVM spanning multiple encrypted drives

2010-05-15 Thread B. Alexander
I use LUKS drive encryption on several machines on my network. The problem I
have is that every time I attempt to set up LVM which spans multiple drives,
it decrypts the first one, then panics because it can't see the rest of the
PVs, because they are still encrypted. For instance, the my backup machine
has a 250GB and 500GB partition. If I could combine the two drives in one
LVM, I would have nearly 700GB available for backups. Unfortunately, I have
to put the second drive on a separate volume group, which limits me to
500gb.

The fix is probably simple, but I haven't found the right combination of
secret sauce to get all drives decrypted before the system issues vgchange
-a y, which results in a panic or other Bad Things.

Does anyone know the right way to get the drives decrypted first?

--b


Re: Updrading or reinstalling?

2010-05-14 Thread B. Alexander
IMHO, Debian seems to have the best record of successful upgrades. I run Sid
on several of my boxes, which means it is in a constant state of upgrade. On
my workstation, with a very eclectic mix of software, I have only started
over from scratch twice in the last 10 years...Once in 2000 and once in
2007.

--b

On Fri, May 14, 2010 at 10:25 PM, ryanjonath...@gmail.com wrote:

 Hi there,

 Just one question,

 Is it better to upgrade debian using dist-upgrade or just download the new
 iso and reinstalling it?? I'm waiting for the squeeze final release..
 Currently still using lenny.

 Thanks
 RJB
 Sent from my BlackBerry®
 powered by Sinyal Kuat INDOSAT



Re: fglrx driver in debian squeeze in limbo - any ideas?

2010-05-03 Thread B. Alexander
On Mon, May 3, 2010 at 1:48 AM, Zachary Uram net...@gmail.com wrote:

 This sucks. Stupid closed source drivers cause such problems.


Agreed. Specifically, the fglrx driver. I don't have problems with nvidia,
but when fglrx-9-12 came out, it broke compiz, so I reinstalled 9-11, and
put it on hold. I haven't upgraded it in months.

--b


Re: [OT] Home UPS (was Filesystem recommendations)

2010-05-03 Thread B. Alexander
On Thu, Apr 29, 2010 at 1:07 PM, Kelly Clowers kelly.clow...@gmail.comwrote:


 For me, it is only partly about my hardware. It is also about my data.
 I have backups, but I didn't used to, and I would just as soon not
 have to go through a restore process. And even a simple power
 outage that wouldn't harm hardware might at least produce the
 need for a fsck (not as much of a problem with ext4, but again
 I would rather avoid the situation entirely).


I figured I would pipe up here, because I have a kind of different
perspective here. I have a 42U data center rack in my basement, and about
half a dozen really old servers. They aren't really worth much from a
financial standpoint, but at the same time, I use them as a sort of test
lab. and I have a Tripp Lite 1000VA and an APC BackUPS 1000 (just replaced
the batteries) in the rack. I also have a BackUPS 350 for my workstation.

It's not about the cost of the hardware (as I said, almost everything is 32
bit PIII/P4 class hardware that has little to no value in most business
environments (which is how I came by it, by and large), but my data? Thats a
whole nother kettle of fish. It may only be important to me, but the point
is that it *is* important to me.

--b


Re: Filesystem recommendations

2010-04-26 Thread B. Alexander
On Mon, Apr 26, 2010 at 2:22 PM, Boyd Stephen Smith Jr. 
b...@iguanasuicide.net wrote:

 I'm also a current reiser3 user.  I find the ability to shrink the
 filesystem
 to be something I am not willing to do without.


You know, I said the same thing, but then as the kernel and GRUB and the
like advanced, I noticed that my reiserfs partitions would have to replay
the journal every time I rebooted, even after a clean shutdown. I started
calculating how many times I shrunk any of my partitions in the last 8
years, and I can only recall twice. And since I have several terabytes
around the house, I figure I can migrate data and delete/recreate partitions
if I really need to reduce it.


 I have not read the rest of the thread, but my off-the-cuff recommendation
 would be to start migration to btrfs.  Now that the on-disk format has
 stabilized, I am going to start testing it for filesystems other than
 /usr/local, /var, and /home.  Assuming I can keep those running well for
 6-12
 months, I will migrate /usr/local, /var, and then /home, in that order,
 with a
 1-3 month gap in between migrations.


I might play with it for some non-critical partitions, or ones that I can
mirror on an established filesystem, even if it is only to use in an
Archive Island scenario, where I have a LV that I can mount, sync and
umount. However, btrfs is not included in the kernel, is it? As I recall,
nilfs2 has kernel support, but that was the only one of the new filesystems,
at the time when I started looking at this.


 It's an aggressive migration plan, but reiser3 is just barely

maintained in
 the kernel, and btrfs is the only filesystem I have heard of that even
 advertises all the features I need.

 I've already encountered an issue related to btrfs in my very isolated
 deployments.  The initramfs created by update-initramfs does not appear to
 mount it properly.  Instead I am given an '(initramfs)' prompt and I have
 to
 mount the filesystem manually (a simple two-argument mount command
 suffices)
 and continue the boot process.  This is fine for my laptop, but servers
 (and
 even my desktop) need to be able to boot unattended; I am still
 investigating
 the issue, which may just be due to my configuration.


That is enough to give me pause...

--b


Re: Filesystem recommendations

2010-04-26 Thread B. Alexander
On Mon, Apr 26, 2010 at 5:34 PM, Boyd Stephen Smith Jr. 
b...@iguanasuicide.net wrote:

 On Monday 26 April 2010 16:05:31 B. Alexander wrote:
  On Mon, Apr 26, 2010 at 2:22 PM, Boyd Stephen Smith Jr. 
  b...@iguanasuicide.net wrote:
   I'm also a current reiser3 user.  I find the ability to shrink the
   filesystem
   to be something I am not willing to do without.
 
  You know, I said the same thing, but then as the kernel and GRUB and the
  like advanced, I noticed that my reiserfs partitions would have to replay
  the journal every time I rebooted, even after a clean shutdown. I started
  calculating how many times I shrunk any of my partitions in the last 8
  years, and I can only recall twice. And since I have several terabytes
  around the house, I figure I can migrate data and delete/recreate
   partitions if I really need to reduce it.

 That doesn't seem right.  I have been using reiser3 since 2005, and my
 system
 does not require a journal replay if I do a clean shutdown/reboot.  A
 forced
 reboot through Alt+SysRq+B does trigger a journal replay (as it should).


No, this is a result of sync;sync;shutdown -r now.


 I also have 4+ tebibytes but most of them are allocated to filesystems.
  I've
 had to shrink filesystems dozens of times since 2005, during or after a
 data
 move.


I've had to extend on the fly many more times than I have had to reduce.


 I don't use partitions (much), having been using LVM happily for everything
 except /boot.


As am I. In fact, I even recreated a several of the reiser partitions on my
workstation to see if it was something legacy that may have crept into the
works. The next step is to rebuild, but there are a number of dependencies
before I do that (I want to build 64-bit now that it seems ready for prime
time, but I want to get a higher-end multicore chip, etc etc.)


  I'm hoping to be able to move that onto LVM once I move to
 GRUB2 and GPT.


You know, /boot on bare drive has never bothered me, especially since I use
encrypted filesystems on everything but VMs. On laptops, I had it set up so
/boot lived on a thumb drive...So I'm cool with it.


I have not read the rest of the thread, but my off-the-cuff
   recommendation would be to start migration to btrfs.  Now that the
   on-disk format has stabilized, I am going to start testing it for
   filesystems other than /usr/local, /var, and /home.  Assuming I can
 keep
   those running well for 6-12
   months, I will migrate /usr/local, /var, and then /home, in that order,
   with a
   1-3 month gap in between migrations.
 
  I might play with it for some non-critical partitions, or ones that I can
  mirror on an established filesystem, even if it is only to use in an
  Archive Island scenario, where I have a LV that I can mount, sync and
  umount. However, btrfs is not included in the kernel, is it? As I recall,
  nilfs2 has kernel support, but that was the only one of the new
   filesystems, at the time when I started looking at this.

 btrfs is included in 2.6.31.12-0.2-default in openSUSE 11.2.  It is also
 included in linux-image-2.6-686 and linux-image-2.6-amd64 for
 lenny-backports,
 testing, and sid.  I don't normally deal with other
 architectures/distributions, so it might also be available there.



It's not going to live anywhere that I am going to be experimenting on it
other than 686 or amd64 (e.g. my firewall (SPARC), my N810 (ARM) or my WAP
(MIPS)).


   I've already encountered an issue related to btrfs in my very isolated
   deployments.  The initramfs created by update-initramfs does not appear
   to mount it properly.  Instead I am given an '(initramfs)' prompt and I
   have to
   mount the filesystem manually (a simple two-argument mount command
   suffices)
   and continue the boot process.  This is fine for my laptop, but servers
   (and
   even my desktop) need to be able to boot unattended; I am still
   investigating
   the issue, which may just be due to my configuration.
 
  That is enough to give me pause...

 It doesn't appear to be a file system issue, but rather a problem with the
 initramfs scripts.  It could also be rooted in my configuration.  I know
 that
 my root= kernel parameter has to differ from the device name in my
 /etc/fstab in order to get the initramfs to correctly initialize LVM.

 I don't mind being a first adopter for this in particular; I hope to be
 able
 to report good things about btrfs by this time next year.
 --
 Boyd Stephen Smith Jr.   ,= ,-_-. =.
 b...@iguanasuicide.net   ((_/)o o(\_))
 ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
 http://iguanasuicide.net/\_/



Filesystem recommendations

2010-04-24 Thread B. Alexander
Hi,

I have a question on filesystems. Back in the day, I started using reiser3.
It was faster than ext3, and it could be extended without umounting the
filesystem (which has since been fixed in ext3), plus, unlike any filesystem
I have encountered, it could be reduced in size.

Well, now reiser3 is very long in the tooth, reiser4 will probably never go
anywhere, so I'm wondering what filesystems are recommended. Last I heard,
ext4 is stablizing, but it had problems with filesystem corruption, though
that was mid-fall last year, IIRC.

So now, I would like to slowly start replacing my reiser3 partitions
with...something else. There are two options, the old standards, e.g.
ext3/4, xfs, etc, and then there are a slew of new filesystems, such as
nilfs2, btrfs and exofs.

I'm talking about a range of machines, from workstations to servers to NFS
and storage servers with multi-terabyte disks, and a backup server with
several hundred gigs of backups.

Does anyone have suggestions and practical experience with the pros and cons
of the various filesystems?

Thanks,
--b


Re: VM software for personal use?

2010-04-24 Thread B. Alexander
Amen to that! IMHO, vmware merely pays lip service to Linux. 12 years ago,
when we were using Linux on the job, we (and many, many others) were asking
for a Linux client. We are now at VSphere 4, and still only windows clients.

VMware server is even worse. It runs on Linux, and it worked okay, but you
are frozen in time -- no updates -- lest you break your install. I did that
on my vmware server installation, and then I upgraded. I could not get the
vmware modules to compile on a reasonably modern kernel. So I went back to
an earlier kernel (2.6.30, iirc), and once I got the modules compiled, the
web interface only worked about one time in 3. So I am pretty much done with
vmware.

Now, since I only have 32 bit machines, I guess I'll be doing Xen, since as
good as it is, VBox is good for desktop-type virtualization, rather than
machine consolidation. Even with it's vboxheadless functionality, its still
a bit too dodgy for a group of machines that need to stay up.

--b

On Sat, Apr 24, 2010 at 3:20 PM, Hugo Vanwoerkom hvw59...@care2.com wrote:

 Mark Allums wrote:

 On 4/23/2010 11:31 AM, Richard Lawrence wrote:

 Hi all,


  P.S.  Apologies if this question seems too far off-topic for
 debian-user.  If there's a better place to ask this question, I'd like
 to know that, too.


 Virtualbox meets more of your individual criteria than anything else I can
 think of, but the open source edition lacks USB.  I would consider the
 non-OSE version for now, but only if I were prepared to migrate to something
 else, later, depending on what Oracle may choose to to with it, now that
 they own Sun.

 Some version of QEMU with KVM will always work, but you definitely need
 the KVM bits, because by itself QEMU is not a speed demon.

 I enjoy Xen-like hypervisors from an aesthetics point-of-view, but the
 best ones are not free in any sense.  Microsoft's Hyper-V flat-out costs
 money, and VMware's ESXi comes with too much baggage.  Xen itself is still
 in a state of flux, and though the 2.6.32 kernel version is much more stable
 than previous versions, I wouldn't call it ready for prime time.


 And I am getting tired of always having to look around for fixes to
 VMware's server whenever you upgrade your kernel, it appears their Linux
 attention leaves something to be desired.

 Hugo



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/hqvg97$bk...@dough.gmane.org




Re: Filesystem recommendations

2010-04-24 Thread B. Alexander
On Sat, Apr 24, 2010 at 3:11 PM, Ron Johnson ron.l.john...@cox.net wrote:

 On 04/24/2010 12:53 PM, B. Alexander wrote:

 Hi,

 I have a question on filesystems. Back in the day, I started using
 reiser3. It was faster than ext3, and it could be extended without
 umounting the filesystem (which has since been fixed in ext3), plus,
 unlike any filesystem I have encountered, it could be reduced in size.

 Well, now reiser3 is very long in the tooth, reiser4 will probably never
 go anywhere, so I'm wondering what filesystems are recommended. Last I
 heard, ext4 is stablizing, but it had problems with filesystem
 corruption, though that was mid-fall last year, IIRC.

 So now, I would like to slowly start replacing my reiser3 partitions
 with...something else. There are two options, the old standards, e.g.
 ext3/4, xfs, etc, and then there are a slew of new filesystems, such as
 nilfs2, btrfs and exofs.

 I'm talking about a range of machines, from workstations to servers to
 NFS and storage servers with multi-terabyte disks, and a backup server
 with several hundred gigs of backups.

 Does anyone have suggestions and practical experience with the pros and
 cons of the various filesystems?


 XFS is the canonical fs for when you have lots of Big Files.  I've also
 seen simple benchmarks on this list showing that it's faster than ext3/ext4.


Thats cool. What about Lots of Little Files? That was another of the draws
of reiser3. I have a space I mount on /media/archive, which has everything
from mp3/oggs and movies, to books to a bunch of tiny files. This will
probably be the first victim for the xfs test partition.

nilfs2, btrfs and exofs are *definitely* still beta or even alpha.

 xfs and ext[34] can all be extended.  For production servers with a working
 UPS, I'd go with ext3 for /  /boot and xfs (since it hates sudden power
 outages) for the /data directories.  For production workstations, I'd
 stick with the standby ext3 for /  /boot and ext3 or xfs for /home and
 /data (depending on the workload).


Define hates sudden power outages...Is it recoverable?

Thanks for the info, Ron,
--b


Re: Increasing number of conflicts

2010-04-21 Thread B. Alexander
On Tue, Apr 20, 2010 at 8:07 PM, John Hasler jhas...@debian.org wrote:

 B. Alexander wrote:
  I've got an issue with a sid box that I have been maintaining for a
  while. This is my workstation, and I have noticed a growing number of
  broken packages, unmet dependencies and conflicts. I have been using
  safe-upgrade for months now, hoping that it would work itself out over
  time. However, this hasn't happened.

 No, of course not.  Sid is constantly undergoing the sort of changes
 that take place when you upgrade from one release to the next and which
 full-upgrade is designed to handle (and which safe-upgrade blocks):
 transitions, removal of obsolete packages, major version changes that
 require new library versions that may be incompatible with other
 packages, etc.  Sid is often also in an inconsistent state when, for
 example, a package is uploaded in advance of its dependencies.  By
 repeatedly running safe-upgrade you have forced these things to pile
 up.

  So what can I do to fix the problems without losing functionality?

 aptitude full-upgrade and then patiently sort through the resulting
 mess.  It might be simplest to write down all the proposed removals, let
 it do its thing, and then install the removed packages.


Yes. I need to block out some time and do just this.


   No problem. Most of my Debian installs at home run sid, with the rest
  running testing...Except my firewall, which runs stable for the first
  6 months or so (until critical packages start getting long in the
  tooth), then I upgrade it to testing and run until the next stable
  release.

 I'm having trouble imagining what packages appropriate to a firewall
 could get long in the tooth.


ssh, ssl, iptables, snort, etc. I don't have an extensively large package
list on my firewall, especially compared to a workstation, but since it is
on the sharp end of my network, I try to keep it as up to date as is
feasable.

--b


Re: backup apt tree?

2010-04-21 Thread B. Alexander
On Tue, Apr 20, 2010 at 6:52 PM, Ron Johnson


 Honestly, though, how often does that happen?


It happened to me once, and that was enough to take appropriate measures.


 Maybe it's because I just run a workstation, or maybe because disks are
 so huge nowadays, or I'm just a fool, but I leave var/ under / so anything
 catastrophic as to trash var/ will best be solved by a complete reinstall.


I leave /var in a separate partition, only because I cut my teeth on
Unix/Linux back in the days when filling / or /var would cause a system
crash.


Re: [SOLVED] Debian-multimedia breaks mplayer .mov playback on Lenny?

2010-04-20 Thread B. Alexander
On Mon, Apr 19, 2010 at 5:19 PM, Clive McBarton clivemcbar...@web.dewrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Liam O'Toole wrote:
  Adding debian-multimedia.org breaks a couple of things. Including vlc.
 I
  don't know why they don't fix their repository.
 
  I'm curious if many people use debian-multimedia. Is it trustworthy?
 
 
 
  I have been using debian-multimedia with Debian stable for years without
  any problems. It is a vauluable and reliable service,

 Valuable yes, since it provides useful video processing apps. I'm using
 it also since recently. It probably is reliable, although for me it did
  break vlc the moment I started using it.

  and is provided by a well-known Debian developer.

 Good to know.

 How come there is no link anywhere on debian.org pointing to
 debian-multimedia.org? Anything to establish a chain of trust. As it is,
 I looked and looked but didn't find. Even when searching for
 multimedia on debian.org, it does not mention debian-multimedia.org at
 all. Not even when searching for debian-multimedia. Every new debian
 user trying to verify the credibilitiy of debian-multimedia.org would
 have given up at this point for sure.


I believe that the reason is, or was at the time, that some of the software
was considered dodgy, in a gray area of legality in some jurisdictions.
Something like VLC or mplayer that had DVDCSS, at the time when d-m was
born, could have suffered the crushing weight of the legal arms of the RIAA
and MPAA, or whoever, and honestly, Debian couldn't or wouldn't risk having
that in the distro proper, so Christian built d-m. At least thats how I
understood the story at the time...


 With the information that Marillat is a Debian developer (and the
 precise spelling of his name) I was actually able to go to the
 developer's page on debian org, find him, and see a link to d-m. So in a
 very roundabout way, d-m is actually endorsed by debian.org. But how
 would anybody find out about this in a reasonable amount of time?
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkvMyOsACgkQ+VSRxYk4409xCwCgiXo8AS/wA8db8M2SP4Kv3c2l
 knAAnA2Xq8lPi6RtGd06yiMcbrMe45Ih
 =Kc7/
 -END PGP SIGNATURE-


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/4bccc8eb.8000...@web.de




Re: Increasing number of conflicts

2010-04-20 Thread B. Alexander
On Tue, Apr 20, 2010 at 2:48 AM, Jimmy Johnson field.engin...@gmail.comwrote:

 B. Alexander wrote:

 I've got an issue with a sid box that I have been maintaining for a while.
 This is my workstation, and I have noticed a growing number of broken
 packages, unmet dependencies and conflicts. I have been using safe-upgrade
 for months now, hoping that it would work itself out over time. However,
 this hasn't happened. So what can I do to fix the problems without losing
 functionality? Below is the result of aptitude full-upgrade (forgive the
 cut-and-paste):
 SNIP Thanks,



 I'm using KDE and it's fully up-to-date with no broken packages, your
 problem seems to be that you are holding obsolete/orphan packages, you may
 want to use Synaptic to look at your system and do some investigating as to
 why dependence are not being met.


This was sage advice, Jimmy. I had never used Synaptic much before, but the
local or obsleted tab in conjunction with searching dpkg -l is a boon.

In my case, it appears the root of the problems are caused by bitrot. I
probably need to come up with some method of rebuilding my sid boxes every
so often. Prior to this, my rebuilds were done in 2000 and 2007...Maybe if I
am going to run sid, I need to plan for an annual rebuild of the system...At
least the workstations...

--b


Re: Increasing number of conflicts

2010-04-20 Thread B. Alexander
On Tue, Apr 20, 2010 at 10:57 AM, Monique Y. Mudama
s...@bounceswoosh.orgwrote:

 On Tue, Apr 20 at  7:31, B. Alexander penned:
 
 In my case, it appears the root of the problems are caused by
 bitrot. I probably need to come up with some method of rebuilding
 my sid boxes every so often. Prior to this, my rebuilds were done
 in 2000 and 2007...Maybe if I am going to run sid, I need to plan
 for an annual rebuild of the system...At least the
 workstations...

 I've been running sid on a headless box since 2002 or thereabouts,
 with config files copied from an even older RedHat box.  No wipes /
 rebuilds / etc.  There may have been a few panicked moments along the
 way, but I think almost all of them were hardware related.  I may be
 extraordinarily lucky, and I do think that the GUI packages add a lot
 more complexity, or maybe simply a lot more packages and thus
 opportunities for dependency problems.


Agreed. I have several servers that are running sid, and they don't have
this type of problem. Most likely, because they are more static than a
workstation. In addition, my servers don't have a GUI.


 If by bitrot you mean that files are corrupted, I'd take a look at
 my storage devices and filesystem settings.


No, no corruption.


 If by bitrot you mean that config files and such are becoming
 increasingly dated ... I do fight that all the time, or rather I keep
 telling aptitude to keep my modified files, promise myself that I'll
 eventually take a look at the differences, and almost never do.


It's more of a packaging issue. For instance, there have been several ABI
changes, the most recent of which was the transition from kde3 to kde4.
Packages getting left along the way.

Another thing is packages whcih seem to have gotten confused by versions:

luatex: Conflicts: texlive-base-bin ( 2008) but 2007.dfsg.2-8 is installed.
python-kde4: Depends: python-sip4 (= none) but 4.10.2-1 is to be
installed.


 I don't know if it matters that I almost always use the curses
 interface to aptitude; I usually get the updates, then let them sit
 for a few days to give the bug reports a chance to roll in.  Anything
 that shows up in apt-listbugs gets put on hold, or when time allows,
 investigated and permitted.  Anything that seems like an unnecessary
 removal or generally smells wrong gets put on hold as well.
 Periodically I check out what's on hold to see if the dependencies
 are fixed yet.


Generally, I use the command line version. I admit, I do upgrade
immediately, but at the same time, I try to choose non-critical boxes to
upgrade first.

--b


Re: backup apt tree?

2010-04-20 Thread B. Alexander
If you are asking what I think you are asking, as in which files would you
need to restore your system in the event that you lose your apt and dpkg
databases, then I do the following:

/var/backups
/var/cache/apt (less /var/cache/apt/archives)
/var/lib/apt
/var/lib/dpkg

This will give you enough that apt-get update, etc works. Now the rules have
probably changed if you use aptitude as I believe it creates/uses a
different database.

On Tue, Apr 20, 2010 at 2:49 PM, Liviu Andronic landronim...@gmail.comwrote:

 Dear all
 What files contain the information on the current (now) apt tree? I
 would like to perform backups of these files so that I could restore
 the tree if some package upgrade messed up my Debian testing.

 Thank you
 Liviu



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mailhttp://garbl.home.comcast.net/%7Egarbl/stylemanual/e.htm#e-mail


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




Re: backup apt tree?

2010-04-20 Thread B. Alexander
No worries. As I said, this will work for apt, but I'm not sure where
aptitude keeps its files. A quick consult of the man page and a look at the
filesystem shows /var/lib/aptitude, however, I think it also uses Xapian.

I use BackupPC, since it does multiple machines.

--b

On Tue, Apr 20, 2010 at 4:41 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Tue, Apr 20, 2010 at 9:27 PM, B. Alexander stor...@gmail.com wrote:
  If you are asking what I think you are asking, as in which files would
 you
  need to restore your system in the event that you lose your apt and dpkg
  databases, then I do the following:
 
  /var/backups
  /var/cache/apt (less /var/cache/apt/archives)
  /var/lib/apt
  /var/lib/dpkg
 
  This will give you enough that apt-get update, etc works.
 
 Nice, thanks! I've just configured a weekly backup schedule in BackInTime.


  Now the rules have
  probably changed if you use aptitude as I believe it creates/uses a
  different database.
 
 Could anyone advise on what additional files should be backed up to
 suit aptitude? Thank you
 Liviu



Increasing number of conflicts

2010-04-19 Thread B. Alexander
I've got an issue with a sid box that I have been maintaining for a while.
This is my workstation, and I have noticed a growing number of broken
packages, unmet dependencies and conflicts. I have been using safe-upgrade
for months now, hoping that it would work itself out over time. However,
this hasn't happened. So what can I do to fix the problems without losing
functionality? Below is the result of aptitude full-upgrade (forgive the
cut-and-paste):

The following packages have unmet dependencies:
  xulrunner-1.9.1: Conflicts: xulrunner-1.9.1-gnome-support but 1.9.1.6-1 is
in.
  texlive-base: Conflicts: dvipdfmx but 1:20090708-1+b1 is installed.
Conflicts: texlive-base-bin ( 2008) but 2007.dfsg.2-8 is
insta.
  python-zope.interface: Conflicts: python-zopeinterface but 3.4.0-1 is
install.
  g++-4.1: Depends: gcc-4.1-base (= 4.1.2-27) but 4.1.2-29 is to be
installed.
   Depends: gcc-4.1 (= 4.1.2-27) but 4.1.2-29 is to be installed.
  texlive-common: Conflicts: texlive-base-bin ( 2008) but 2007.dfsg.2-8 is
ins.
  libcdt4: Conflicts: libgraphviz4 but 2.20.2-8+b1 is installed.
  luatex: Conflicts: texlive-base-bin ( 2008) but 2007.dfsg.2-8 is
installed.
  libcgraph5: Conflicts: libgraphviz4 but 2.20.2-8+b1 is installed.
  libstdc++6-4.1-dev: Depends: gcc-4.1-base (= 4.1.2-27) but 4.1.2-29 is to
be .
  ruby1.8: Conflicts: irb1.8 but 1.8.7.249-2 is installed.
  mysql-server-core-5.1: Conflicts: mysql-server-5.0 ( 5.1.45-2) but
5.0.84-1 .
  gcj-jre-headless: Conflicts: java-gcj-compat-headless ( 1.0.80-6) but
1.0.80.
  libsensors4-dev: Conflicts: libsensors-dev but 1:2.10.8-2 is installed.
  odbcinst1debian2: Conflicts: odbcinst1debian1 but 2.2.11-21 is installed.
  libxml-libxml-perl: Conflicts: libxml-libxml-common-perl but 0.13-6+b1 is
ins.
  texlive-binaries: Conflicts: texlive-base-bin but 2007.dfsg.2-8 is
installed.
  python-twisted-conch: Depends: python-twisted-core (= 10.0.0-3) but
10.0.0-2.
  josm-plugins: Conflicts: josm (= 0.0.svn2256) but 0.0.svn3094-1 is to be
ins.
  libgvc5: Conflicts: libgraphviz4 but 2.20.2-8+b1 is installed.
  libmudflap0-dev: Depends: gcc-4.1-base (= 4.1.2-27) but 4.1.2-29 is to be
ins.
  libxdot4: Conflicts: libgraphviz4 but 2.20.2-8+b1 is installed.
  libgvpr1: Conflicts: libgraphviz4 but 2.20.2-8+b1 is installed.
  kmymoney-common: Conflicts: kmymoney2-common ( 3.96.0-1) but
3.95.0+svn10693.
  libgraph4: Conflicts: libgraphviz4 but 2.20.2-8+b1 is installed.
  libruby1.8: Conflicts: libreadline-ruby1.8 but 1.8.7.249-2 is installed.
  kivio: Depends: koffice-libs ( 1:1.6.4) but 1:2.1.1-1 is to be installed.
  libpathplan4: Conflicts: libgraphviz4 but 2.20.2-8+b1 is installed.
  kmymoney: Conflicts: kmymoney2-plugin-aqbanking (= 1.0-1) but 1.0-1 is
insta.
  python-kde4: Depends: python-qt4 ( 4.7-2+~) but 4.7.3-1 is to be
installed.
   Depends: python-sip4 (= none) but 4.10.2-1 is to be
installed.
open: 916; closed: 1439; defer: 0; conflict:
77:

  Remove the following packages:
1)  ardour
2)  dvipdfmx
3)  g++-4.1
4)  graphviz
5)  iceweasel-gnome-support
6)  irb1.8
7)  java-gcj-compat
8)  java-gcj-compat-headless
9)  josm-plugins
10) kivio
11) kmymoney2
12) kmymoney2-plugin-aqbanking
13) libmudflap0-dev
14) libreadline-ruby1.8
15) libsnmp-dev
16) libstdc++6-4.1-dev
17) libxml-libxml-common-perl
18) mysql-server-5.0
19) odbcinst1debian1
20) plasma-scriptengine-python
21) plasma-scriptengines
22) python-axiom
23) python-coherence
24) python-kde4
25) python-twisted
26) python-twisted-conch
27) python-zopeinterface
28) system-config-printer-kde
29) texlive-base-bin
30) totem-coherence
31) xulrunner-1.9.1-gnome-support

  Keep the following packages at their current version:
32) kmymoney [Not Installed]
33) kmymoney-common [Not Installed]
34) libcdt4 [Not Installed]
35) libcgraph5 [Not Installed]
36) libgraph4 [Not Installed]
37) libgvc5 [Not Installed]
38) libgvpr1 [Not Installed]
39) libpathplan4 [Not Installed]
40) libsensors4-dev [Not Installed]
41) libxdot4 [Not Installed]

  Leave the following dependencies unresolved:
42) josm recommends josm-plugins
43) kdeadmin recommends system-config-printer-kde (= 4:4.3.4-1)
44) kdebase-workspace-bin recommends plasma-scriptengines
45) kcachegrind recommends graphviz
46) lokalize recommends python-kde4
47) kmymoney2-common recommends kmymoney2
48) totem-plugins recommends totem-coherence
  Tier: Safe actions, Remove packages (1)

Thanks,
--b


Re: Increasing number of conflicts

2010-04-19 Thread B. Alexander
On Mon, Apr 19, 2010 at 9:28 AM, Wolodja Wentland 
wentl...@cl.uni-heidelberg.de wrote:

 On Mon, Apr 19, 2010 at 09:16 -0400, B. Alexander wrote:
  I've got an issue with a sid box that I have been maintaining for a
 while. This
  is my workstation, and I have noticed a growing number of broken
 packages,
  unmet dependencies and conflicts. I have been using safe-upgrade for
 months
  now, hoping that it would work itself out over time. However, this hasn't
  happened. So what can I do to fix the problems without losing
 functionality?
  Below is the result of aptitude full-upgrade (forgive the cut-and-paste):

 As a sid user you are certainly aware of the differences between
 'safe-upgrade' and 'full-upgrade' and I would be interested in the
 actions proposed by aptitude if you run a full-update.


If you mean full-upgrade (there is no full-update that I know of), the lines
I pasted are the result. Unfortunately, I don't want to remove some of the
packages (such as ardour) that the system says will be removed. Other
dependencies, such as libgraphvis4 vs libxdot and libvpr1, I'm not sure
which is more current and which could break other packages I have installed.


 I assume that this will allow aptitude to take actions which are more to
 your liking as you obviously don't like the ones proposed by aptitude
 when you run safe-upgrade.


safe-upgrade just does the upgrades that don't cause a ruckus. dist-upgrade
is the one that displays the conflicts and wants to remove packages.

Thanks for testing a development branch of Debian :)


No problem. Most of my Debian installs at home run sid, with the rest
running testing...Except my firewall, which runs stable for the first 6
months or so (until critical packages start getting long in the tooth), then
I upgrade it to testing and run until the next stable release.

--b