Re: MIT discovered issue with gcc
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 debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5290ca48.4050...@gmxpro.net
GDB and ld.so?
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 in advance, // Oliver -- 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/20101112183543.13...@gmx.net
Tell Ubuntu and Debian apart in a shell script ...
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 -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- 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/20100825234727.45...@gmx.net
Re: Tell Ubuntu and Debian apart in a shell script ...
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 something with: (which lsb_release /dev/null `which lsb_release` --id)|awk '{print $3}' ... does not work on older systems which don't have lsb_release, though. Still looking, // Oliver -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- 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/20100826000355.45...@gmx.net
Re: Tell Ubuntu and Debian apart in a shell script ...
Maybe use lsb_release, and grep /etc/apt/sources.list as a fallback method? Yep, sounds like a plan. Thanks, // Oliver -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- 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/20100826012730.45...@gmx.net
Re: Fascinating problem with bash
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 is because the while command is on the right-hand side of the pipe meaning it runs in a subshell. At the end of the while loop, the subshell exits and any vars it sets will go away with it. Okay, that is surprising indeed, as SHLVL is not being adjusted to reflect that fact, according to my findings. But thanks a bunch for pointing that out. It's surely more elegant to use this method than to write to a temporary file. Also thanks to Bob for providing the links. Very useful, noted them down. Thanks a lot, // Oliver -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- 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/20100824110939.69...@gmx.net
Fascinating problem with bash
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 startup. I have the following three files for a minimal working example of the problem (I trimmed a lot of error/prerequisite handling): * test.sh (requires chmod a+x test.sh) * common-bash-routines.sh (in the same folder) * etc/defaults test.sh uses common-bash-routines.sh as a library and common-bash-routines.sh is supposed to inspect the variable SCRIPTCONF to find out whether it is set. If it is set there are two choices (inner while loop): 1.) it's a file, it means it will get sourced 2.) it's a directory Both cases can occur in several places (outer while loop). Since the paths can contain blanks, I resorted to a while read loop because for simply would tokenize the file names more than desirable. Now since I would like to know whether I have successfully sourced *something* I was going to set a variable (SOURCED in my case). However, this variable does not get set in the outer or the inner loop. Also, using export instead of the normal variable assignment makes no difference whatsoever. How can I carry the information as to whether I have sourced *something* outside of the loops? Thanks for any helpful pointers or hints, // Oliver PS: Code contents follow: --- ### ## test.sh (uses the library) ### #!/usr/bin/env bash SCRIPTCONF=$PWD/etc for i in . ${PATH//:/ }; do [[ -e $i/common-bash-routines.sh ]] \ source $i/common-bash-routines.sh break; done echo Here is $BASH_SOURCE:$LINENO ### ## common-bash-routines.sh (this file is being sourced ### function errorexit() { [ -n $1 ] echo -e \ \033[0;31mFATAL ERROR: $1 Can't continue!\033[0m\n local ERRCODE=254 [ -n $2 ] ERRCODE=$2 exit $ERRCODE } SOURCED='' if [[ -n $SCRIPTCONF ]]; then # if set echo -e $SCRIPTCONF\n/etc/$SCRIPTCONF|while read fname; do [[ -n $fname ]] || continue if [[ -f $fname ]]; then source $fname || errorexit Could not source ($fname) SOURCED=$SOURCED:$srcname elif [[ -d $fname ]]; then find $fname/ -type f|while read srcname; do source $srcname || errorexit Could not source ($srcname) SOURCED=$SOURCED:$srcname done fi done echo $SOURCED [[ -n $SOURCED ]] || errorexit Could not *find* ($SCRIPTCONF).; fi ### ## etc/defaults ### # etc/defaults echo Here is $BASH_SOURCE --- (end of source snippets) -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- 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/20100823211611.69...@gmx.net
Re: Fascinating problem with bash
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 want to do to work. It also seems that for loops don't have the same variable capture that while loops do, so if you could somehow convert them you might now have to use a temporary file. Okay, thanks. I was surprised by the behavior, since SHLVL didn't show any differences between outside, inside the outer and inside the inner loop. In fact I don't need the names (originally I used a counter instead, using arithmetic expressions, but the problem was the same) - it's only important to know *that* something got successfully sourced. ps. Whatever you used to format your code before sending really messed it up :) Sorry for that. Sent it via the web mailer while at the office. That must have caused the mess-up. I wasn't sure whether attachments are allowed. // Oliver -- 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/4c730117.8020...@gmxpro.net
Re: rkhunter mails to root: should I worry?
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 security updates mechanism) lately. Otherwise try to see from the system log. Also, the .deb files likely contain some hashes that you can look up on a known clean system, because obviously if a real rootkit is involved you shouldn't trust information found in the system log. I'm running debain 5.0 on a amd64 system. The last three warnings I get regularly. Debian is a bit slower to update to the latest versions, but on the other hand some security-relevant patches get backported so I wouldn't be too worried about those (including exim). // Oliver -- 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/20100323234713.283...@gmx.net
Looking for a tool to simulate unreliable network connections
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. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100221035254.83...@gmx.net
Warning when installing postgresql-common (94lenny)
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. Trouble? Contact listmas...@lists.debian.org
Re: How much RAM can debian support?
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 AFAIK none of the current chipsets (nor the CPUs themselves) support this maximum theoretical amount of RAM - including the Intel processors in Macbooks. And quite frankly I think you will at the very least change your Macbook several times before you are even offered that amount of RAM in any real life shop ;) // Oliver PS: Also see http://en.wikipedia.org/wiki/X64#Linux -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Goodbye debian
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! :) Bye, and good luck. I admire people who have the endurance to follow through with a project of that magnitude (after all you compared your endeavor to Debian). // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: etckeeper - keeping /etc under version control
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 (which svn happens to be) ... that has nothing to do with putting /etc under version control metadata = data stored in .svn/ ? Yes. In this case all the metadata stored by SVN. Certainly there is more metadata which is nowadays simply ignored by many VCS, partially due to the discrepancies between different platforms and there implementation of, say, file permissions, partially out of negligence or lack of a *proper* solution. Also, as far as I understand SVK it's using only one Subversion library, not the whole thing. It's not just a distributed SVN in that sense ... also see: http://svk.bestpractical.com/view/SVKAntiFUD // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: etckeeper - keeping /etc under version control
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 some tool like that for a while and had some failed attempts with SVN (failed with respect to the metadata). Thanks for the helpful article and thanks for the pointer to the tool. // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: wget or curl?
I tend to prepare my scripts for either of these, by saying: wget URL || curl -L -O URL 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. Original-Nachricht Datum: Wed, 10 Jun 2009 07:58:13 -0500 Von: Mark Allums m...@allums.com An: debian-user debian-user@lists.debian.org Betreff: Re: wget or curl? Mag Gam wrote: I would like to automatically get files from a FTPs using TLS. Is it better to use wget or curl? or is there another alternative? TIA If you have the resources (i.e., disk space, etc.) install both. No need to decide unless you must. Some applications (scripts) expect wget, others like curl. I would say curl is more of a requirement, wget is more optional. But that is in my experience, others might have other experiences. (This point of view is from a non-technical standpoint. Looking forward to reading what others have to say.) Mark Allums -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Forcing mount to use a particular file system type
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 the partition type in fdisk if you specifically pass it the filesystem type using the -t option. Hmm, did that with mount -t vfat /dev/sda3 /mnt/test ... What is the partition type showing up as in fdisk? sfdisk -l gives as the type: W95 FAT32 (LBA) Thanks, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Cross-compiler tool chain
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 find Emdebian useful: http://www.emdebian.org/ Thanks, I'll look into that. I should also note that I found crosstool-ng, which goes into the right direction. However, in my case the target architectures *and* platforms differ, so we aren't just talking of builds for Linux. Official Debian packages are built natively on the target architecture. Alright, I didn't know. I would imagine that is pretty slow for some architectures, given the amount of code to be translated. Thanks, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Forcing mount to use a particular file system type
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 mount that thing under Linux, without changing the FS ID. Does anyone have any ideas or maybe the exact way? Maybe it's similar to mounting a QCOW image where one has to give a special offset?! BTW: I tried to mount it as vfat and ntfs, neither one worked. Thanks, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Cross-compiler tool chain
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 unsubscribe. Trouble? Contact listmas...@lists.debian.org
Boot CD and terms of use
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 addition I'd like to know how the following works. I am asking this because our company would like to offer a wizard that allows the end-user to create a bootable CD. Now, what are the implications from the GPL? The program that is supposed to be included is proprietary. This is similar to the (Linux-based) rescue CDs included in products such as TrueImage, Paragon Drive Backup ... I've never seen those companies offering the source code or scripts used to build it. But that's not the point because we would be happy to offer those. However, is it really necessary to provide the source form of all packages used, or is it enough to provide the tools to do it via a Debian system? Thanks for any comments, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Boot CD and terms of use
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 and I am aware of the fact that any advice given here wouldn't be binding anyway. IANAL and TINLA, but you will probably only need to provide source for software that appears on the image that was licensed to your company under the LGPL or GPL. Those licenses give a number of options for how you can satisfy the requirement to provide source. Well, as far as I know a pointer (e.g. hyper link) to the source is sufficient unless it's a modified version of the GPL'd product. Also, we could for example offer a download of all source DEBs from our customer zone as well. This is kind of pointless though, because it would make more sense to offer the tools (scripts) to create the image and have those tools use an existing installation of Etch or Lenny, for example. The image itself is generally not considered a derivative work of the tools used to build it, so you aren't constrained by their license. The image is generally considered a mere aggregation of the software it contains so it as a whole is not covered by their licenses or vice-versa. Oh, that's interesting. Guess I'll ask my boss to get a lawyer into this :) Thanks for your comments, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Why did you chose Debian over CentOS?
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 frontends - Painless upgrades to the next major release - No crippled (+ slow) Perl :) - The community, or rather the communities // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: which machine will be affected if virus attacks?
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 running on it are using net), is there any chance to get affetcted? Of course there is, but it is very minimal and depends on how careful you exchange the data (including application installers) with them. // Oliver -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Restoring file permissions from package database?
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 nothing like dpkg-reconfigure to restore permissions, I take it?! You could alwasy ask someone to give you an ls -alR /etc. The ls -alR /etc is what I had in mind with a VM that would have all the packages. // Oliver -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Xen on lenny fails after upgrade from etch?
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 /usr/lib/xen-3.0.3-1/bin/xend, line 40, in module from xen.xend.server import SrvDaemon File /usr/lib/xen-3.0.3-1/lib/python/xen/xend/server/SrvDaemon.py, line 17, in module import xen.lowlevel.xc ImportError: /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/lowlevel/xc.so: undefined symbol: Py_InitModule4 Traceback (most recent call last): File /usr/lib/xen-3.0.3-1/bin/xend, line 40, in module from xen.xend.server import SrvDaemon File /usr/lib/xen-3.0.3-1/lib/python/xen/xend/server/SrvDaemon.py, line 17, in module import xen.lowlevel.xc ImportError: /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/lowlevel/xc.so: undefined symbol: Py_InitModule4 -- Thanks, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Xen on lenny fails after upgrade from etch?
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 not change anything. // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Xen on lenny fails after upgrade from etch?
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 provides or did you opt for the one from XenSource directly? // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Xen on lenny fails after upgrade from etch?
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 with Debian seems to work with xen 3.2. At least suddenly I could even boot the new kernel (after installing the xen 3.2 stuff and getting rid of the old). However, some changes were needed after booting into the new kernel: 1.) The Xen config needed the interface name explicitly. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477525#13 2.) I had to adjust the kernel and ramdisk parameters in the domU .cfg files (for obvious reasons ;)) After doing those steps, I got Error: Device 0 (vif) could not be connected. /etc/xen/scripts/vif-route failed; error detected. when attempting to create the domU, using xm create domu.cfg. That's where I am stuck now. Any ideas? ifconfig does not yet show the vif interfaces, but that was normal as far as I recall (i.e. those are created in the process). Or am I mistaking and they have to be created manually? Thanks, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Xen on lenny fails after upgrade from etch?
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 asked for: $ dpkg -l | grep iproute ii iproute 20080725-2 ... $ ifconfig|grep 'Link encap:' eth0 Link encap:Ethernet HWaddr [...] loLink encap:Local Loopback $ apt-file find vif-route autopkgtest-xenlvm: /etc/xen/scripts/vif-route-adt xen-utils-common: /etc/xen/scripts/vif-route $ dpkg -l|grep 'xen-utils-common' ii xen-utils-common3.2.0-2 ... Thanks for your help so far. // Oliver PS: I stripped the descriptions from the dpkg -l output. -- --- DDKWizard and DDKBUILD: http://ddkwizard.assarbad.net Trunk (potentially unstable) version: http://ddkwizard.assarbad.net/trunk/ddkbuild.cmd -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Xen on lenny fails after upgrade from etch?
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/xend-config.spx looks like this: (xend-address localhost) (network-script 'network-route netdev=eth0') (vif-script vif-route) (dom0-min-mem 96) (dom0-cpus 0) // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Restoring file permissions from package database?
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 VM) and use that as a template for the existing installation. Is there a better method? Thanks in advance for your help, // Oliver -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org