Re: How much RAM can debian support?

2009-10-09 Thread Oliver Schneider
Hi, > I'm moving to a Macbook soon(staying with debian tho:p) and apple keep > advertising that snow leopard can support 16 exobytes of RAM. Im just > wondering how much can 64-bit debian support? the theoretical maximum for Linux is currently 128 TiB. However, this discussion is moot because AFA

Restoring file permissions from package database?

2009-02-17 Thread Oliver Schneider
Hi, is there any way in Debian (4.0 or 5.0) to restore the file permissions - mainly of files inside /etc/ - from the cached packages or the package database or so? The only other chance I see - without reinstalling - would be to install all those packages into a dummy installation (e.g. in a

Re: Restoring file permissions from package database?

2009-02-18 Thread Oliver Schneider
Douglas, thanks! > Some packages come with /etc files in the deb, others create the > /etc files in their install script. To use the packages, you'd have to > look in the deb for the files or in their scripts. > > To look into debs, I use midnight commander. Okay, but in any case there is nothin

Xen on lenny fails after upgrade from etch?

2009-02-18 Thread Oliver Schneider
Hi, when I upgraded a test system (from etch) to lenny, one of the upgrade steps related to Xen fails. Any ideas? I tried reinstalling the packages, but get the same error all the time: -- Starting XEN control daemon: xendTraceback (most recent call last): File "/us

Re: Xen on lenny fails after upgrade from etch?

2009-02-18 Thread Oliver Schneider
I'm sorry, I should have added. Linux test 2.6.18-6-xen-amd64 #1 SMP Fri Dec 12 07:02:03 UTC 2008 x86_64 GNU/Linux (Note: I *had* to boot into this kernel, because the new kernel would not boot.) Also, removing python2.4 and python2.4-minimal and then reinstalling the packages in question do n

Re: Xen on lenny fails after upgrade from etch?

2009-02-18 Thread Oliver Schneider
Thanks. > I had the same problem. Looking in /usr/bin/xm I saw a reference to > /usr/bin/python2.4 and unfortunately lenny stable comes with > python2.5. The only workaround to solve this was compile xen with > python2.5. One more question then. Did you compile from the source package Debian prov

Re: Xen on lenny fails after upgrade from etch?

2009-02-18 Thread Oliver Schneider
Hi again, > hope that helps before I did that, I noticed there were numerous xen 3.2 packages available. Removing the xen 3.0 stuff was easy (and would have to be done anyway), but then came the issues. Now, almost everything is fine as long as you remove xen 3.0, because the kernel that comes

Re: Xen on lenny fails after upgrade from etch?

2009-02-18 Thread Oliver Schneider
> No, vif interfaces are created automagically on demand. Please, show > us the output of "dpkg -l | grep iproute" and ifconfig (just which > interfaces do you have, addresses are not necessary to view). Verify > that vif-route belongs to the package recently installed too. Here the output you ask

Re: Xen on lenny fails after upgrade from etch?

2009-02-18 Thread Oliver Schneider
Additional note: I checked the files in /etc/xen/scripts and they are identical to the one inside the .deb file mentioned in my previous mail. The only file that was different at all was /etc/default/xendomains 56c56 < XENDOMAINS_SAVE=/var/lib/xen/save --- > XENDOMAINS_SAVE=/vm/save My /etc/xen

Re: which machine will be affected if virus attacks?

2009-02-23 Thread Oliver Schneider
> I have no firewall, no antivirus, nothing on system#1.. system#2 has > updated antiviruses.. *are my virtual machines vulnerable?*.. Virtual machines are potentially vulnerable to attacks from the host. > *if i'm not using internet directly from both the windows systems (the > virtual machines r

Re: Why did you chose Debian over CentOS?

2009-03-04 Thread Oliver Schneider
> I need your help to prove and defend Debian to the CIO and a dozen of > developers. >   > Why did you chose Debian over CentOS to host dozens of websites? >   > Both technical and logical inputs or explanation is greatly appreciated. - The superior package management system and its numerous fron

Boot CD and terms of use

2009-03-15 Thread Oliver Schneider
Hi, what is the best method to create a boot CD (i386) using Debian? Is it advisable to use the generic kernel from the network installation CD or would you recommend to compile a custom kernel? Or is it perhaps better to base it on something like Knoppix (which in turn is based on Debian). In

Re: Boot CD and terms of use

2009-03-15 Thread Oliver Schneider
> If I were you I'd take a existing live CD you think is closest to what > you need and modify that, learning the tools they use to build it also > the way. Okay, sounds sensible. > This list is not a legal professional. Your company needs to be asking > these questions to a lawyer. Of course not

Cross-compiler tool chain

2009-05-28 Thread Oliver Schneider
Hi, Debian is available for a whole lot of different architectures. Is there a cross compiler tool chain which is used to do the builds and if so, is it available to the Debian users? Thanks, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsu

Re: Cross-compiler tool chain

2009-05-29 Thread Oliver Schneider
Hi, > What are you planning to do? The plan is to have one host machine that has a unified (all the same versions) set of GCC and a libc (not necessarily glibc) that can be used to build our product for different platforms. Potentially distcc would be used to speed up the builds. > You may fin

Forcing mount to use a particular file system type

2009-05-29 Thread Oliver Schneider
Hi, I'm trying to mount a volume that is supposed to be FAT32, all sources I could find agree on that and so does sfdisk (reporting it as FAT32). However, the FS ID in the partition table is different, because it is a so-called "backup capsule" from Paragon Drive Backup. Now I'd really like to

Re: Forcing mount to use a particular file system type

2009-05-30 Thread Oliver Schneider
> Did you install the package dosfstools from apt? Yes, it's the newest version. > I don't think it is installed in a default debian install and that has all > the extras needed to mount fat32. Mount combines FAT12, FAT16 and FAT32 under the type "vfat". > I don't think mount cares too much about

Re: wget or curl?

2009-06-10 Thread Oliver Schneider
I tend to prepare my scripts for either of these, by saying: wget || curl -L -O curl supports of course more protocols, but then if you only need FTPS I haven't seen that explicitly mentioned by wget docs either. But I might err ... // Oliver PS: Had accidentally replied to the sender only.

Re: etckeeper - keeping /etc under version control

2009-06-14 Thread Oliver Schneider
> I wrote an article about etckeeper... that nifty thing that allows to > keep /etc under version control and thus "rollback" in case something > bad happens during an upgrade or so. > > http://sunoano.name/ws/public_xhtml/scm.html#etckeeper Thanks a lot. This is great. I had been looking for som

Re: etckeeper - keeping /etc under version control

2009-06-17 Thread Oliver Schneider
> > I do not see how this solves the metadata issue if you use a version > > control system directly without the smartness etckeeper brings to the > > table e.g. by using its .gitignore settings. > > > > svk is an attempt to inject the notion of being a decentralized scm into > > a centralized one

Re: Goodbye debian

2009-06-24 Thread Oliver Schneider
> As I have decalared, I will build my own OS and applications by a > "Only One Programming Lanuguage" way. However, I hope the one language isn't assembler. I really can't imagine shell scripting that way - well, if you take "Only One Programming Lanuguage" serious that is ... ;) > Good bye! :)

Warning when installing postgresql-common (94lenny)

2010-02-05 Thread Oliver Schneider
Hi, I got the following warning line when installing PGSQL just a few minutes ago. The line reads: supported_versions: WARNING: Unknown Debian release: 5.0.4 Should I worry? Thanks, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe"

Looking for a tool to simulate unreliable network connections

2010-02-20 Thread Oliver Schneider
Hi there, does anyone here know a tool/package that I can use on a Debian system that acts as a router in order to simulate lossy or very slow network connections? Thanks in advance, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe".

Re: rkhunter mails to root: should I worry?

2010-03-23 Thread Oliver Schneider
> Should I worry? What are these messages I'm seeing? Especially the ones > that are reporting that the utilities sudo, dpkg-query and dpkg have > changed. How do I know these are legitimate? You should know whether the respective packages owning those files were updated by you (our the unattended

Re: MIT discovered issue with gcc

2013-11-23 Thread Oliver Schneider
On 2013-11-23 15:18, Robert Baron wrote: > Second question: > > Doesn't memcpy allow for overlapping memory, but strcpy does not? Isn't > this why memcpy is preferred over strcpy? IIRC memcpy does not, but memmove does. See: http://linux.die.net/man/3/memcpy -- To UNSUBSCRIBE, email to debia

Fascinating problem with bash

2010-08-23 Thread Oliver Schneider
Hi folks, on my Debian box I'm running GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu). Now, today I ran across a slight problem that I fail to understand. I have one script that acts as a library of a kind. I.e. it is being sourced by other scripts and performs some actions upon start

Re: Fascinating problem with bash

2010-08-23 Thread Oliver Schneider
Hi again. On 23.08.2010 21:45, Burton Samograd wrote: > You might have to >> the source file name to a temporary file from > the sourced scripts and then read that after the loop is done. Since > while seems to capture variable setting in its own scope it might be > the only way for what you wa

Re: Fascinating problem with bash

2010-08-24 Thread Oliver Schneider
Hello Cameron, Bob, > As soon as I read this paragraph I saw the problem. I confirmed it > looking at the code. It's a common problem. > > This construct: > > some_cmd | while read var ; do > OTHER_VAR=... > done > > will result in OTHER_VAR being unset at the completion of the loop. That >

Tell Ubuntu and Debian apart in a shell script ...

2010-08-25 Thread Oliver Schneider
Is something on the lines of: cat /etc/apt/sources.list|grep '^deb '|grep 'http://security\.'|head -n 1|grep -o 'debian|ubuntu' a safe idea or does it already make too many assumptions? Otherwise, what methods do you use to tell them apart from the shell? Thanks, // Oliver --

Re: Tell Ubuntu and Debian apart in a shell script ...

2010-08-25 Thread Oliver Schneider
Hi again, > Can you look in /etc/issue (or maybe /etc/debian_version)? As a matter of fact that was my first naive method. It does work for Debian (unless changed by someone), but on Ubuntu this always contains the same string as far as I saw "squeeze/sid". However, it could be that I'm on to s

Re: Tell Ubuntu and Debian apart in a shell script ...

2010-08-25 Thread Oliver Schneider
> Maybe use lsb_release, and grep /etc/apt/sources.list as a fallback > method? Yep, sounds like a plan. Thanks, // Oliver -- --- DDKWizard and DDKBUILD: Trunk (potentially unstable) version:

GDB and ld.so?

2010-11-12 Thread Oliver Schneider
Hi folks, does anyone here know the magic incantation required to get GDB to accept a breakpoint within the loader (ld.so), in particular on dl_main(), on a x86_64 system? (gdb) set environment LD_PRELOAD /path/to/debug/ld.so (gdb) b dl_main (gdb) run ... does not seem to do the job. Thanks