Re: Why still heartbleed on Wheezy
On Sun, Apr 20, 2014 at 5:39 AM, Steve Litt sl...@troubleshooters.com wrote: Hi all, I installed Wheezy on my backup server, then did this: apt-get update apt-get upgrade root@bupserv:/backupserver/stevebup# openssl version OpenSSL 1.0.1e 11 Feb 2013 root@bupserv:/backupserver/stevebup# Wheezy is the current stable so they aren't going to update an important library to a new upstream version. Instead they backport security patches to the current version. Check your package version. dpkg -l openssl According to the changelog [1], wheezy openssl got the heartbleed patch on 1.0.1e-2+deb7u5 on April 7. The latest version as of this email is 1.0.1e-2+deb7u7. [1] http://metadata.ftp-master.debian.org/changelogs//main/o/openssl/openssl_1.0.1e-2+deb7u7_changelog Cheers, Jimmy -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/can0j2y6pwuu4nrgcvu6be7p+1xmuqmhs+jdcamwwkjhb+px...@mail.gmail.com
Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file
On Fri, 29 Jul 2011, 00:59-0600, Bob Proulx b...@proulx.com wrote: Jimmy Wu wrote: So... I am curious. I often read that people are wanting to configure their runlevels. You are not the only one. Other people talk about it too. But I never know why. And I never quite know exactly what someone means when they want to configure runlevels. The only two runlevels I ever use are multiuser (Debian uses runlevel 2, the default for multiuser) and single user (run level 1). In the old days when networking was new and exciting there was runlevel 3 for enabling networking, NFS, and YP. If you didn't want networking then you booted to runlevel 2. If you did then you used runlevel 3. Then graphical logins came into being and it was just natural to turn on graphical logins in runlevel 4. If you didn't want a graphical login then you booted to runlevel 3 (or 2) instead. But here it is all of these years later and now I just really don't usually want to boot into a system without networking enabled. And if I do want networking disabled then I can easily bring the networking offline without needing to change runlevels. So having networking enabled in runlevel 2 multiuser mode is perfectly fine for me. And if I don't want to log into a graphical display manager (gdm, kdm, xdm) then I switch to console with Control-Alt-F1 and log in on the text console. So no need to avoid what was previously runlevel 4 for a graphical display manager. (Of course in Debian all runlevels are the same by default.) And so I am left wondering what people are trying to accomplish when they configure runlevels. Is there really a need to avoid the graphical display manager by changing runlevels? Is there really a need to boot without networking enabled? Probably not. So I assume there must be some other behavior that people are wanting and it is completely a mystery to me. Well in my case if I couldn't be happier if I never had to touch the runlevels at all. But unfortunately I've encrypted my swap file and now the system no longer brings it up at boot, so I just assumed it was a init script order misconfiguration issue b/c running e.g. /etc/init.d/cryptdisks start after boot does bring it up. Actually now that I think about it, messing with runlevels probably wasn't the right approach anyways - I've been and still am booting to runlevel 2 by default all the time, so forcing cryptdisks to start in 3-5 would likely not do anything useful. oops. My problem is probably boot order dependency which would be the same in any runlevel. Jimmy -- 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/20110729081426.gb17...@yertle.dyndns.org
mostly Solved: [Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file]
On Wed, 27 Jul 2011, 10:18-0400, Jean-Marc Ranger jmran...@hotmail.com wrote: [...] Not sure how versed you are in script programming, but my take at debugging this would be to add more traces in cryptdisks.functions file, especially in the handle_crypttab_line_start funtion, that is called for each line in crypttab during startup. I'd be adding lines to check - whether /var is mounted - whether /dev/urandom can be accesses - function error codes I threw some debugging code into /lib/cryptsetup/cryptdisks.functions as suggested and found out that none of my lvm volumes were mounted except for root. On Wed, 27 Jul 2011, 14:09-0600, Bob Proulx b...@proulx.com wrote: [...] I don't know anything about setting up encrypted swap files. But I will suggest that if you want to change the boot order that you edit the /etc/init.d/cryptdisks script and perhaps add $all or some other dependency to the Required-Start: line and then run insserv to update the symlinks. Adding $all is a quick hack to push the start to the end of the boot process. I would think adding swap could happen at any time and be okay to happen very late. You can look at the ordering of the boot scripts in /etc/rc2.d/ and observe the changes. If that works then you know you have a boot time initialization ordering problem. You can then work from there to refine the solution. Jimmy Wu wrote: So then I went to take a look at the boot order dependencies. After reading a bit of insserv(8), looking at the LSB headers and /etc/init.d/.depend.boot info for mountall.sh, cryptdisks, etc., I came up with the following dependency chain ('a - b' := a depends on b, so b starts before a and a stops before b): mountall.sh - checkfs.sh - cryptdisks - lvm2 - cryptdisks-early Since /var is a LVM2 logical volume, it won't get mounted until after mountall.sh (I assume). Since cryptdisks comes before mountall.sh in the dependency chain I (also assume that I) can't move it after mountall.sh without creating some circular mess. I also checked for when swap is enabled (grep -Ri swapon /etc/init.d) and the latest place where swapon gets run is in mountall.sh, so even if I were able to move cryptdisks after mountall.sh somehow, the swap would have to be enabled manually after the /dev/mapper file is set up. My current kludge is to add the following line to /etc/rc.local: services cryptdisks start swapon -a. It makes my shutdown process (even more) unclean - I see some message about being unable to stop the (sole) lvm volume group due to some logical volumes still being in use but since the machine is shutting down anyways, that is comparatively minor. I considered using cryptmount to do the swap encryption but couldn't find any good documentation on how to get it to use the same aes-cbc-essiv cipher that crypttab/cryptsetup uses. Thanks to Jean-Marc and Bob for pointing me in the right directions. Cheers, Jimmy -- 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/20110729162137.gi3...@yertle.dyndns.org
Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file
On Wed, 27 Jul 2011, 14:09-0600, Bob Proulx b...@proulx.com wrote: Jimmy Wu wrote: I even put aside my reservations about messing with the links in rc.d, Squeeze is running a dependency based boot scheme controlled by insserv. You may be fighting it and not knowing it. Normally you would have LSB dependency headers in the /etc/init.d/ scripts and insserv will assign a boot number based upon topologically sorting the dependencies. (tried starting cryptdisks in runlevels 2-5 and other things as well) but since it didn't work so I restored everything back to the default before I broke anything, and came here to ask for help/advice instead. Good plan! :-) In Debian the default run level is 2. In Debian by default all runlevels 2-5 are identical. You as the local admin can change either of those things and those changes will be respected by the system tools. But that is the default. No reason to do anything else. My system is Squeeze 2.6.32-5-amd64 Running invoke-rc.d cryptdisks start swapon -a after boot works. You may have heard people talk about invoke-rc.d but that is designed as a tool for packages to use in the package 'postinst' script. It respects the setting of the policy-rc.d script such as not starting daemons inside of chroot environments. It isn't intended as a command the user would call from the command line. You can, but that isn't the purpose, and in Squeeze you should be using 'service'. In Squeeze Debian added the 'service' command the same as previously seen on other distros. The 'service' command is intended to be used from the command line. # service cryptdisks start See the man page for details but service cleans the environment and calls the /etc/init.d/ script. It is a little bit cleaner than calling /etc/init.d/script directly. During the boot process I can see messages on the console that show Starting early crypto disks succeeds, but Starting remaining crypto disks failed. I'd appreciate any pointers as to what I am doing wrong or how I can better troubleshoot the problem. I don't know anything about setting up encrypted swap files. But I will suggest that if you want to change the boot order that you edit the /etc/init.d/cryptdisks script and perhaps add $all or some other dependency to the Required-Start: line and then run insserv to update the symlinks. Adding $all is a quick hack to push the start to the end of the boot process. I would think adding swap could happen at any time and be okay to happen very late. You can look at the ordering of the boot scripts in /etc/rc2.d/ and observe the changes. If that works then you know you have a boot time initialization ordering problem. You can then work from there to refine the solution. Hi Bob, Thanks for the detailed email and the advice about service vs invoke-rc.d - I should probably spend more time figuring out what the proper tools for configuring runlevels are. When I was messing with them manually, I also tried using sysv-rc-conf, update-rc.d, and insserv, so you can probably tell I really had no idea what I was doing ;). I'll look more into this over the weekend and hopefully post back with a success story. Jimmy -- 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/20110729033959.ga7...@yertle.dyndns.org
Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file
On Wed, 27 Jul 2011, 10:18-0400, Jean-Marc Ranger jmran...@hotmail.com wrote: Since no-one replied yet... I don't have an answer, only ideas. IIRC, scripts in only one of the rc?.d are executed on startup. Which one depend on the requested runlevel, default value being specified in /etc/inittab. Looking at my cryptdisks and cryptdisks-early scripts, they appear to be almost identical, both using code in /lib/cryptsetup/cryptdisks.functions I haven't found a way to specify whether a disk is an early one or not. The only difference seems to be that when in early mode, failures aren't reported. Not sure how versed you are in script programming, but my take at debugging this would be to add more traces in cryptdisks.functions file, especially in the handle_crypttab_line_start funtion, that is called for each line in crypttab during startup. I'd be adding lines to check - whether /var is mounted - whether /dev/urandom can be accesses - function error codes Good luck. I'm looking forward reading your explanation on what the issue was. Thanks for the reply. Looks like this will be my weekend project as I won't have time for much debugging until then. Cheers, Jimmy -- 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/20110727143844.ga2...@yertle.dyndns.org
Re: Change Iceweasel identification
On Tue, 26 Jul 2011, 09:38-0400, mark m...@neidorff.com wrote: HI, I'm running Lenny with Iceweasel 3.0.6. I understand that I can't upgrade the browser without upgrading to sid, which I'm not willing to do at this time. Problem that I am having is that when I access yahoo mail, it tells me that in order to use the new version of yahoo mail, I have to use firefox (there are some other choices, but I don't want to install another browser). How can I have sites identify iceweasel 3.0.6 as firefox so that I can access the features of sites that are blocked from me? Install an addon like User Agent Switcher or something like that so you can change your user agent string to say firefox. Or go to mozilla.debian.net for more updated iceweasel packages. You could also run the FF binary from Mozilla right out of your home directory without affecting your system install. Lenny is old stable so you'll stop getting security updates in less than a year. You may want to plan an upgrade to squeeze in the near future. -- 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/20110726135144.ge4...@yertle.dyndns.org
cryptdisks runlevel configuration for lvm2 + encrypted swap file
Dear List, I have an encrypted swap file located inside /var, which is on a separate LVM2 logical volume from /, but it does not get mounted on boot. Everything I've been able to find either implies my setup should work or is geared toward swap partitions, not swap files. I even put aside my reservations about messing with the links in rc.d, (tried starting cryptdisks in runlevels 2-5 and other things as well) but since it didn't work so I restored everything back to the default before I broke anything, and came here to ask for help/advice instead. I've copied the following relevant info below: /etc/crypttab contents relevant /etc/fstab entries relevant rc?.d symlinks My system is Squeeze 2.6.32-5-amd64 Running invoke-rc.d cryptdisks start swapon -a after boot works. During the boot process I can see messages on the console that show Starting early crypto disks succeeds, but Starting remaining crypto disks failed. I'd appreciate any pointers as to what I am doing wrong or how I can better troubleshoot the problem. Thanks, Jimmy /etc/crypttab: | # target name source device key file options | cryptswap1 /var/swap/swap-01 /dev/urandom swap,cipher=aes-cbc-essiv:sha256 /etc/fstab: | /dev/mapper/vg0--squeeze-lv0--root / ext4 relatime,user_xattr,errors=remount-ro 0 1 | /dev/mapper/vg0--squeeze-lv1--var /varext4relatime,user_xattr 0 2 | /dev/mapper/cryptswap1 none swap sw 0 0 ls /etc/rc?.d/*cryptdisks | /etc/rc0.d/K10cryptdisks | /etc/rc6.d/K10cryptdisks | /etc/rcS.d/S10cryptdisks ls /etc/rc?.d/*cryptdisks-early | /etc/rc0.d/K12cryptdisks-early | /etc/rc6.d/K12cryptdisks-early | /etc/rcS.d/S08cryptdisks-early ls /etc/rc?.d/lvm* | /etc/rc0.d/K11lvm2 | /etc/rc6.d/K11lvm2 | /etc/rcS.d/S09lvm2 -- 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/20110727024555.ga3...@yertle.dyndns.org
Re: Whitespace problem with bash script for Icedove
On Tue, Jul 26, 2011 at 02:40, Mark Neyhart mark_neyh...@legis.state.ak.us wrote: Bill M wrote: FILES=/home/bill/.icedove/qjimvr85.default/Mail/Local\ Folders/2-Personal.sbd/* # or /home/bill/.icedove/qjimvr85.default/Mail/Local Folders/2-Personal.sbd/* for i in $FILES [...] This appears to be related to the default value of the BASH internal variable $IFS (internal field separator). It defaults to whitespace, which includes the space character. The for loop interprets the space inside $FILES as a field separator. Try setting $IFS to ONLY new line above the for loop. IFS=$'\n' for i in $FILES The problem as Mark has correctly pointed out is this line. Since $FILES is not quoted, bash will expand it and then split on IFS. If you are on an ext? file system the only safe separator for filenames is the null byte '\0', unless you can guarantee somehow that your script will never see a file with a newline in the name. Thus, I'd recommend not using IFS for this purpose. Two possible more robust solutions exist: 1. Just use the shell's globbing - it was meant for this purpose - instead of assigning a glob to a variable. Glob expansions can be iterated over in loops correctly and safely. Expanded strings are much more tricky to get right (if it is even possible) and less safe when you don't. FILES=/home/bill/.../Local Folders/2-Personal.sbd for i in $FILES/* note the glob is outside the quotes 2. Use find with it's own exec options or xargs. I suggested this second b/c it is more complicated, depends on an external command, and the first does what you need, so why bother with this one? :-) 3. Ok I lied, there's a third: you could use BASH(-only) arrays, but since you are working with files anyways it basically comes down to doing #1 less portably and with more syntax. do mv $i $i.saved formail -D 65536 .msgid.cache -s $i.saved $i what's with the double double quotes ? typo? -- 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/can0j2y6opzabavrnvryy6zaqljii7s9_4xys-qaxpzb8gsa...@mail.gmail.com
Re: How do I check the package I just installed
On Fri, 15 Jul 2011, 15:22+0200, lee l...@yun.yagibdah.de wrote: lina lina.lastn...@gmail.com writes: After purge, reboot it came back to before. Perhaps it's better to use aptitude for installing and removing packages. The big advantage is that aptitude knows a difference between automatically installed packages and packages the user requested to install. Thus when you install a package XXX that depends on other packages, all needed packages will be installed. When you later remove the package XXX, all the other packages XXX depends on that were installed automatically will also be removed. Aptitude was recommended over apt-get for this reason back in Lenny, but as of 6.0 Squeeze, apt-get can also tracks automatically installed packages. I couldn't find any conclusive snippets to quote from official documentation, but I think aptitude is now only recommended for interactive usage, while APT is preferred for scripts and command-line usage. Cheers, Jimmy -- 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/20110716135939.gd13...@yertle.dyndns.org
Re: How can I install mozilla firefox opn Debian6 Squeeze
On Tue, Jun 14, 2011 at 21:54, Md. Rafiqur Rahman rafiqu...@gmail.com wrote: Dear all, I'm very much new on Linux specially on Debian Linux. I know that icewaesel build upon firefox but i don't like it to use. I want to use mozilla firefox on debian6 Squeeze. Do you know how to install it. I've allready download mozilla firefox and untar it. there is a script firefox on the directory. By double clicking firefox run from my home directory. But not installed. can you help me, please? Have you tried the pre-compiled packages from http://mozilla.debian.net/ If you really need the latest upstream look around inside your tarball for a README or INSTALL file for instructions. -- 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/banlktikkekx6dw64u6zszgjw-a2pnex...@mail.gmail.com
Re: How can I install mozilla firefox opn Debian6 Squeeze
On Tue, Jun 14, 2011 at 23:07, Lisi lisi.re...@gmail.com wrote: On Tuesday 14 June 2011 14:54:39 Md. Rafiqur Rahman wrote: Dear all, I'm very much new on Linux specially on Debian Linux. I know that icewaesel build upon firefox but i don't like it to use. I want to use mozilla firefox on debian6 Squeeze. Do you know how to install it. I've allready download mozilla firefox and untar it. there is a script firefox on the directory. By double clicking firefox run from my home directory. But not installed. can you help me, please? It runs, but it is not installed?? Could you explain what you mean by this. What does it not do that you would wish it to do? I would have thought that if it runs, you have what you wanted?? If it's a binary tarball, which it sounds like it is, then the process of untarring it is enough to install it to the home directory. For installing system-wide I'd probably prefer a package, e.g. from mozilla.debian.net. -- 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/BANLkTi=_rynlg19lmzkxhn_pe2hrajz...@mail.gmail.com
Re: Is there any valid reason to add an idiotic script to /etc/init.d by an default Debian install that only cause a PITA?
Sorry, re-sending to list - gmail doesn't reply-to on debian-user properly. On Wed, Jun 15, 2011 at 00:33, Jimmy Wu jimmywu...@gmail.com wrote: On Wed, Jun 15, 2011 at 00:29, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Tue, 2011-06-14 at 16:15 +, Camaleón wrote: On Tue, 14 Jun 2011 18:02:40 +0200, Ralf Mardorf wrote: Why not using ondemand set by the kernel's default governor? Because then you will force users to recompile the kernel Why recompiling the kernel? Why not setting the default governor to ondemand. I bet it's already set to ondemand. [snip] I bet for you it is already set to ondemand. If so, why adding the script? I assume that is so people who want something else will be able to change it without needing to recompile the kernel. -- 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/banlktikpbtyzaf+uh7m8y+wogug7ze2...@mail.gmail.com
Re: add to group
On Wed, Jun 15, 2011 at 00:31, shawn wilson ag4ve...@gmail.com wrote: i'm feeling a bit stupid here, but: swilson@swilson-mbp-vdebian:/home$ sudo kill -HUP 1 swilson@swilson-mbp-vdebian:/home$ whoami; cat /etc/group | grep staff; ls -ld /home/test; echo /home/test/blah swilson staff:x:50:swilson drwxrwxr-x 2 root staff 4096 Jun 14 12:02 /home/test bash: /home/test/blah: Permission denied try the output of the 'groups' command -- 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/BANLkTimZ7Bc=b1tsgp+rgyvxj22utcq...@mail.gmail.com
Re: Updating Packages in Debian Squeeze from Backports/Testing
On Wed, Jun 15, 2011 at 00:35, Camaleón noela...@gmail.com wrote: On Tue, 14 Jun 2011 10:37:28 -0500, Noah Duffy wrote: (...) Is it recommended to install packages from testing? I know this often also updates dependencies that other software may use causing the system to potentially not be as secure or stable. I'd say that would depend on the package you want to upgrade. Look, Banshee for squeeze depends on libc6 = 2.7 but in wheezy needs = 2.13. Will you update your libc6? I, for sure, wouldn't :-) An alternative is to add a deb-src line for wheezy or sid, whichever you want, to sources.list and attempt a simple sid backport with apt-get source -b. This will download the updated source and compile it on your system, using the libc6 you currently have unless it build-depends on a new libc6. Of course make sure you have build-essentials and the like installed. There's also a simple backporting tutorial on the debian user forums here: http://forums.debian.net/viewtopic.php?f=16t=38976 -- 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/BANLkTimuZwG+YaE8L�vkytv+hb59g...@mail.gmail.com
Re: add to group
reposting to list, sent to user by accident On Wed, Jun 15, 2011 at 00:54, Jimmy Wu jimmywu...@gmail.com wrote: On Wed, Jun 15, 2011 at 00:51, shawn wilson ag4ve...@gmail.com wrote: yep, that might be an issue: swilson dialout cdrom floppy audio video plugdev i thought reloading init reread the group file? What do you mean by reloading init? In any case logging out and back in should work. Or if you don't want to do that a newgrp staff will log you into the group (in a new shell). -- 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/banlktik94jyrckipc+wy5xubpo3tqoz...@mail.gmail.com
Re: How can I install mozilla firefox opn Debian6 Squeeze
On Wed, Jun 15, 2011 at 06:40, Robert Holtzman hol...@cox.net wrote: On Tue, Jun 14, 2011 at 10:02:02PM +0800, Jimmy Wu wrote: [snip] Have you tried the pre-compiled packages from http://mozilla.debian.net/ If you really need the latest upstream look around inside your tarball for a README or INSTALL file for instructions. The only thing I found on that site was instructions to update *iceweasel* from a backports repo. Nothing about FF. For the record, I went ahead and upgraded but it didn't solve the big time problem I have with iceweasel. You are right - silly me. How about this instead. http://forums.debian.net/viewtopic.php?f=16t=62113 -- 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/banlktimwmgozqrd54a3nctca9tsx22l...@mail.gmail.com
Re: debian-user-digest
On Wed, Jun 15, 2011 at 01:48, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: If I wish to get a reader's digest for a while and not tons of emails, then I need to unsubscribe? Are all threads included to a reader's digest? There seems to be a debian-user-digest that you can subscribe to here: http://www.debian.org/MailingLists/subscribe If you don't want another subscription maybe you could try one of the RSS feeds from gmane: http://dir.gmane.org/gmane.linux.debian.user Another possibility is to get digests from Google groups if you use that service. -- 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/BANLkTimAnbH1yw-QeLv=ulj40v_85rj...@mail.gmail.com
Re: No Display Manager + shutdown/reboot
On Tue, Jun 7, 2011 at 13:46, Perry Thompson ryperven...@yahoo.fr wrote: Hi all. I am using Debian Wheezy with Xfce4. After some testing with different DMs, I decided to start X from a tty using startx. I was told in the Debian IRC channel that it works fine by just removing all DMs. I enjoy using my computer this way, however I am unable to... 1) shutdown my computer by pressing the power button, and 2) choose Shut Down or Restart after pressing ctrl+alt+del (I made a custom keyboard shortcut to call xfce4-session-logout). Both Shut Down and Restart are grayed out, but Log Out works fine. Don't know about xfce, but as an alternative, if you have consolekit installed, then the following commands can be used to shutdown and reboot without needing root privileges. I forget where I got them from, but they work for me (I startx with openbox and no DM). dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit \ /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.action where action is either Stop for shutdown or Restart for a reboot. I put them in a script and call them from the openbox menu HTH -- 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/BANLkTi=mY+0EfjJOQCNp6aLxWfQZ=+4...@mail.gmail.com
Re: su without a password (not root)
How about using sudo + sudoers instead? 2011/5/26 Stanisław Findeisen s...@eisenbits.com: pam_wheel lets you su to root without typing a password if you are a member of a specific group. I need a PAM module with more flexible applicant user / target user pairs management. For instance I'd like to be able to su with no password from user A to users B and C, but not to root. What is the way to do it? Thanks! -- Eisenbits - proven software solutions: http://www.eisenbits.com/ OpenPGP: E3D9 C030 88F5 D254 434C 6683 17DD 22A0 8A3B 5CC0 -- 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/4dde8e85.3040...@eisenbits.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/banlktimcob2m9jdr4xps-7rbrephzto...@mail.gmail.com
bash prompt \W (working dir) garbled
I'm getting weird behavior with my bash prompt. Here's some of the things I see on my system. $ bash # start a new shell $ PS1='\W ' ~ cd /home hmee cd /media meiia cd /boot bott cd /lib32 li332 cd /selinux selinux cd /proc pocc cd ~ mkdir home cd home home cd .. rmdir home ~ mkdir media cd media media cd .. rmdir media As you can see \W gets garbled in sub-directories of /. The three letter directories are fine as is /selinux, but the 4 and 5 letter ones are messed up. PS1='\w ' works fine. It does not seem to be related to the terminal emulator - I've seen the same behavior in urxvt and a gnome-terminal over ssh. I have no idea where to begin to diagnose this. Running Debian AMD64 Squeeze on a Thinkpad T61 echo $BASH_VERSINFO 4 echo $BASH_VERSION 4.1.5(1)-release bash --version GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) ... Any suggestions pointing me in the right direction would be greatly appreciated. Thanks in advance. Jimmy -- 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/banlktikycerqjbx5is3f1mu8g0xpvof...@mail.gmail.com
Re: bash prompt \W (working dir) garbled
Thank you very much for that. Now I know what is going on -- the search terms I was using before were not turning up anything useful. On Thu, Apr 28, 2011 at 13:02, Jochen Schulz m...@well-adjusted.de wrote: Jimmy Wu: $ PS1='\W ' ~ cd /home hmee cd /media meiia cd /boot Same here, on squeeze and sid (both amd64, just as yours). It's already reported as #589084. A link to a patch is included, in case you want to rebuild bash yourself. J. -- 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/BANLkTinEpPq+R_2E3XR5UnXrw=0revp...@mail.gmail.com
Re: networking
On Fri, Jan 14, 2011 at 16:31, Bob Proulx b...@proulx.com wrote: Paul Cartwright wrote: I think you did put that in there. It has that look. As to whether it /should/ be there... well *I* wouldn't put it there. :-) I think that type of reloading belongs elsewhere such as in an if-up.d/* script. But I don't know about your firewall setup. I could guess something like this in /etc/network/if-up.d/local-firewall using your current config as a template. #!/bin/sh case $IFACE in eth*) iptables-restore /etc/firewall-rules ;; esac exit 0 That will run your command whenever any eth* device is brought up. Personally I like the shorewall package quite a bit for setting up firewalls. I use ferm - it has a nice config file syntax that closely mirrors iptables command syntax, and it's been a set and forget thing since it starts during boot as an rc script in /etc/init.d/ by loading the firewall rules and you can use the stop start restart commands to enable/disable the firewall. -- 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/aanlktimjz0kwzlrc-a4aca_ektisj3y3j_+ndsqnm...@mail.gmail.com
Re: OT: Sort Of Re: USB stick Security
https://www.ironkey.com/ They claim it works on linux as well. Cheers, JW On Thu, Jan 13, 2011 at 09:11, John W Foster jfoster81...@verizon.net wrote: I recently lost a USB stick. It didn't have any thing of a security concern on it but got me to thinking. Does anyone know of an application that will; encrypt the drive completely; start at boot time; ask for a secure log in if after say 2 or 3 tries; with appropriate warnings of impending doom; will not only lock the person out but completely destroy the drive, so it can never be recovered. Oh and of course works on any OS? Yes I know its a lot but just wondering?? 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/1294927864.6319.9.ca...@beast.home -- 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/AANLkTikVxSBop3bOdDaGUfJOF-sQb=aDcen0e==_q...@mail.gmail.com
Re: problems with tar for backup (maximum tar file size?)
On Tue, Aug 26, 2008 at 12:20, Mike McCarty [EMAIL PROTECTED] wrote: Jimmy Wu wrote: [...] So I was wondering: (1) Is it true that tar files can't be bigger than 8GB, and (2) If so, what should I use to backup directories bigger than 8GB? I wanted to stick with tar because I can open those on other platforms. If directory size isn't the problem, then what could be going on? I use tar to do backups, and have generated tarballs which span 26 DVDs (roughly 118 Gig). The problem is likely not tar, but the file system. Tar does not have a central directory, it has a distributed directory. Each file in the archive has a little header which describes it. Another thing to watch for, if you are putting files onto DVDs, as opposed to writing them raw, is that the largest single file which the ISO file system (not UDF) for DVDs can support is just under 2 Gig. So you can't write a single huge 4.x Gig file to a DVD using that file system. Here's a little piece of the script I use for creating chunks which fit, four to a DVD. Thanks for that - I've been using rsync and an external HD to do incremental backups, but I'll save your message for future reference. Jimmy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [Solved] Re: how to close port 113 ident xinetd
On Sun, Aug 3, 2008 at 12:04 PM, Gregory Seidman [EMAIL PROTECTED] wrote: [...] xinetd uses separate configuration files for each of the services it provides (assuming your /etc/xinetd.conf has the line includedir /etc/xinetd.d per the Debian default). Part of the pidentd package is an xinetd config file that is placed in the /etc/xinetd.d directory. When you uninstalled pidentd that file was removed, but you still had to restart xinetd for it to reread its config (which no longer included the ident service). OK - that makes sense now. Thanks! -- Jimmy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
how to close port 113 ident xinetd
Hi, I tried doing an nmap scan on myself the other day and found that tcp port 113 was open. Nmap listed the service as ident. I am trying to remove this service since I don't think I need it, but I can't figure out how. I removed the package pidentd, after which nmap reported the port was still open, but changed its service description to auth?. I have no other identd related packages installed on my system. I used netstat to find the process listening on port 113 and it seems to be xinetd. The exact listing of the process in `ps` is root 6766 1 0 17:45 ?00:00:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6 I've pasted my /etc/xinetd.conf file at the end - it is really short and doesn't contain anything relating to ident. An ls on /etc/xinetd.d shows these files: chargen daytime discard echo time I should also mention that xinet seems only to be listening on the default ipv6 address ::, and not on any ipv4 addresses. I don't think removing xinetd is the right way to go, but I haven't been able to find any answers on google. And I don't want to go about blocking ports on my firewall as that doesn't seem to me like a real solution - I just want to stop/remove the process that is listening on this port. Thanks in advance for your help! -- Jimmy Wu Registered Linux User #454138 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments $cat xinetd.conf # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { # Please note that you need a log_type line to be able to use log_on_success # and log_on_failure. The default is the following : # log_type = SYSLOG daemon info } includedir /etc/xinetd.d -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[Solved] Re: how to close port 113 ident xinetd
On Sat, Aug 2, 2008 at 6:43 PM, Ansgar Burchardt [EMAIL PROTECTED] wrote: Hi, Jimmy Wu [EMAIL PROTECTED] writes: I tried doing an nmap scan on myself the other day and found that tcp port 113 was open. Nmap listed the service as ident. I am trying to remove this service since I don't think I need it, but I can't figure out how. I removed the package pidentd, after which nmap reported the port was still open, but changed its service description to auth?. Did you restart xinetd after removing pidentd? Regards, Ansgar Thank you - I restarted xinetd and the port seems to be closed now (at least according nmap and netstat). I guess since ident wasn't mentioned in xinetd.conf, I didn't think to restart it. Thanks again to everyone who replied, -- Jimmy Wu Registered Linux User #454138 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
problems with tar for backup (maximum tar file size?)
I haven't been backing up any of my stuff, and yesterday I decided to start doing that I want to use tar with bz2, and I wrote this little script to hopefully automate this process (attached) The script works, but tar doesn't. The logs show no errors until somewhere near the end, when it says tar: Error exit delayed from previous errors but no other errors. I've been searching online, and the only thing I can think of that's wrong is the directory is too big. From what I read, the way tar works, the tar archive can't be bigger than 8GB. My home directory is about that much, maybe a little more. The largest file I have is a 2+ GB dvd iso. So I was wondering: (1) Is it true that tar files can't be bigger than 8GB, and (2) If so, what should I use to backup directories bigger than 8GB? I wanted to stick with tar because I can open those on other platforms. If directory size isn't the problem, then what could be going on? Thanks! -- Jimmy Wu Registered Linux User #454138 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments backup.sh Description: Bourne shell script
Re: mac grapher for linux
On Wed, May 14, 2008 at 5:23 PM, Kevin B. McCarty [EMAIL PROTECTED] wrote: Hi lists, Jordi Gutiérrez Hermoso wrote: I'm forwarding this to the d-science list, where this stuff is often discussed. On 13/05/2008, Jimmy Wu [EMAIL PROTECTED] wrote: Has anyone here ever used the Grapher application that all Macs come with? It is a very nice piece of software with support for 3D and many types of equations, and it's very useful for math/science purposes. Is there something comparable for Debian or Linux in general? I was looking on Google but couldn't find any convincing replacements. Most of the stuff I see is very rudimentary 2D graphers that only allow a very limited amount (like 3) equations. I saw labplot, but I didn't try that because I don't want all the KDE dependencies (which, as an xfce user, means a lot of extra packages). I also gnuplot, which seems to be decent except it doesn't have the nice friendly GUI of mac's grapher. Neither of these are great as substitutes, but I haven't found anything better. So basically, I was wondering if anyone had any ideas before I go invest the time into learning how to use gnuplot? Let me put in a plug for ROOT. It's a (huge) piece of software used mostly by the HEP community, but no reason that others shouldn't be able to use it. There are not yet official Debian packages (except in experimental), but unofficial ones can be obtained from http://mirror.phy.bnl.gov/debian-root/ . The plan is to upload official packages of ROOT version 5.18 in time for them to end up in Lenny. It might not be exactly what you are looking for in terms of user-friendliness, but if you are somewhat familiar with C++ or Python (it has bindings for both) it can be learned pretty quickly and is very powerful. See for instance this page: http://root.cern.ch/root/soeren/ or the big tutorial at http://root.cern.ch/root/Tutorials.html . Just to give you an idea of what can be done, one can type root on the command-line and then run the following code within ROOT's C++ interpreter to get a nice 3D plot of the function f(x,y) = sin x sin y in the range x in (-10, 10), y in (-10, 10). TF2 func(func, sin(x)*sin(y), -10, 10, -10, 10); func.Draw(surf4); There are many, many options for controlling the appearance of the resulting plot. Or if you prefer Python over C++, you can instead (after installing the libroot-python-dev package) start up the Python interpreter and type into it: import ROOT func = ROOT.TF2(func, sin(x)*sin(y), -10, 10, -10, 10) func.Draw(surf4) I think the existing unofficial packages were built against python 2.4, so you'd have to install and run that version of Python explicitly, but the forthcoming official ones will use python 2.5. ROOT also has Ruby bindings but I'm not familiar with that language. If Christian Holm (the package maintainer) is around on this mailing list, he might have more to say about ROOT. best regards, -- Kevin B. McCarty [EMAIL PROTECTED] WWW: http://www.starplot.org/ WWW: http://people.debian.org/~kmccarty/ GPG: public key ID 4F83C751 Thank you to everyone for your responses So just a quick summary: I think I will go and learn how to use gnuplot (just to get familiar with at least the basics). I'll also go take a look at VTK and R and see how I like those. SAGE and ROOT definitely sound interesting. I've registered for an online Sage account, but I'd prefer to wait for an official Debian package to make it into unstable before actually installing. Thanks again for the help! -- Jimmy Wu Registered Linux User #454138 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
mac grapher for linux
Has anyone here ever used the Grapher application that all Macs come with? It is a very nice piece of software with support for 3D and many types of equations, and it's very useful for math/science purposes. Is there something comparable for Debian or Linux in general? I was looking on Google but couldn't find any convincing replacements. Most of the stuff I see is very rudimentary 2D graphers that only allow a very limited amount (like 3) equations. I saw labplot, but I didn't try that because I don't want all the KDE dependencies (which, as an xfce user, means a lot of extra packages). I also gnuplot, which seems to be decent except it doesn't have the nice friendly GUI of mac's grapher. Neither of these are great as substitutes, but I haven't found anything better. So basically, I was wondering if anyone had any ideas before I go invest the time into learning how to use gnuplot? Thanks in advance, -- Jimmy Wu Registered Linux User #454138 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: X server restarts unexpectedly
On Sun, Apr 13, 2008 at 11:31 PM, Kent West [EMAIL PROTECTED] wrote: Jimmy Wu wrote: Hello, I am running Debian Sid on a Thinkpad T61, and everything seems to work fine except for more and more strange things that cause my X server to restart. I've mostly ignored them up until now, but I'm starting to get annoyed. Sorry for the really long no-response period - I've been busy, and since this issue isn't really mission critical, I've been living with it or working around it for quite a while. Disk space is definitely not the problem - I have plenty of room on all partitions. I tried creating a new user (with adduser), but the new user has the same problem. I don't really want to install another desktop environment or wm, but the problem happened whether I was using xfwm or compiz. That's all I have time for right now - thanks for the help. In that case, I'd rum memtest86. I installed and ran memtest86+, and it reported no errors. As a update - x restarting on openoffice.org must have been a bug an the oo.o side, because it's fixed now. However, logging out of XFCE4 still causes X to restart (by which I mean the nvidia splash screen pops up, so gdm must have restarted) -- Jimmy Wu Registered Linux User #454138 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
X server restarts unexpectedly
Hello, I am running Debian Sid on a Thinkpad T61, and everything seems to work fine except for more and more strange things that cause my X server to restart. I've mostly ignored them up until now, but I'm starting to get annoyed. So, with that said, here are a list of things that have the same effect as a Ctrl+Alt+Backspace on my system Log out (using xfce-session-logout) doesn't just log out - it kills gdm and causes it to restart. setxkbmap: I was trying to switch keyboard layouts and X went poof Openoffice.org 2.4 - As soon as I try to access a menu whether with the mouse or with Alt, X crashes and I have to log back in, losing all my work. At first, I thought it was just OO.o 2.4 beta's being buggy, but now that they've released it and it still happens, I suspect something else is going on. Any ideas / suggestions on how to debug these situations? Would appreciate any help - thanks! -- Jimmy Wu Registered Linux User #454138 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Hmmm. A question. Was [Re: Debian is losing its users]
On Mon, Mar 31, 2008 at 7:17 PM, Andrew Sackville-West [EMAIL PROTECTED] wrote: On Mon, Mar 31, 2008 at 06:06:03PM -0500, Ron Johnson wrote: On 03/31/08 17:42, Douglas A. Tutty wrote: On Mon, Mar 31, 2008 at 01:54:44PM -0500, Vikki Roemer wrote: [...] I guess Jumpin Jackass wouldn't be a selling feature. Other than Jackel, what other animals start with the letter 'J'? Jaguar Jay Jayhawk Jellyfish Juggling Jellyfish jackrabbits and jack russel terriers -- Jimmy Wu Registered Linux User #454138 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
finding network printers
Excuse me for the noobishness of the question, but I have been googling around and haven't had any luck. It seems all the howtos and guides out there about adding network printers assume prior knowledge of all the information and IP of the printer one would like to add. I was wondering if there was a tool to scan the network for all available shared printers on the network. The situation is, sometimes I connect my laptop to a rather large network at school or some other place, and I would like to be able to print but I don't know the network location / address of the printer. The network contains both Mac and Windows computers (but no Linux boxes, AFAIK). However, I believe that doesn't matter because the network printers all have their own IP and are not connected to any specific computer. BTW, I am running Debian Sid + Xfce4 on a Thinkpad T61. Thanks in advance! -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hibernate and swap partition size (newbie question)
On Fri, Feb 22, 2008 at 12:15 PM, Jimmy Wu [EMAIL PROTECTED] wrote: Just as an experiment, I did a sudo hibernate -v3 hibernate.out, and it says that it was unable to unload nvidia and aborts hibernation (see attached file). So I guess pm-hibernate kind of went ahead and shut down without properly taking care of nvidia, so that is why I had an unresponsive X server on resume, right? If that's what's happening, is there any way to get nvidia properly unloaded? I am running a stock kernel, and have nvidia installed from the Debian repositories. Also, there's a script in this article I found: http://www.linux.com/feature/114220. I never like running scripts that I don't understand, and I was wondering if whatever it's doing with the video card solve my problem? An update: tried the script, and no it did not solve suspend to disk issues. After a bit of searching on Google, I am pretty much sure that it is the nvidia driver that is causing problems (and not insufficient swap). None of the workarounds Google turned up seem to work for me, though. Anyways, I've subscribed to the linux-thinkpad mailing list and posted my questions there. Thanks for the responses, -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hibernate and swap partition size (newbie question)
On Fri, Feb 22, 2008 at 1:07 AM, Chris Riley [EMAIL PROTECTED] wrote: Is High memory support turned on in the kernel? This could explain why hibernation is working whilst you have 2gig's in the system. Processor type and features - High Memory Support I remember seeing such a menu from compiling a kernel once, but I don't remember how I got to it. Instead I did this: [EMAIL PROTECTED]:/boot$ grep HIGH config-2.6.24-1-686 CONFIG_HIGH_RES_TIMERS=y # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_HIGHMEM=y # CONFIG_HIGHPTE is not set # CONFIG_DEBUG_HIGHMEM is not set -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hibernate and swap partition size (newbie question)
On Fri, Feb 22, 2008 at 7:52 AM, Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote: Jimmy Wu wrote: From what I've read online, I get the general idea that in order to be able to hibernate/suspend to disk properly, the swap partition has to be big enough to hold all of the RAM inside it, right? Is it possible to hibernate if my swap partition is smaller than my RAM? I have 2 GB of RAM, and when I installed Debian, I figured I would hardly ever need that much, so I made swap 1.4 GB. Are you aware that you can resize your partitions non destructively using something like qtparted? First backup all your data before you do anything like this. This is what I did when I found out that my RAM size is larger than my swap partition. I always thought resizing or doing any partition editing carried some risk of losing data (ie no guarantees), but perhaps ext3 is different. Anyways, I think I have ruled out the low swap explanation: On Fri, Feb 22, 2008 at 2:19 AM, Selim T. Erdogan [EMAIL PROTECTED] wrote: On Fri, Feb 22, 2008 at 12:11:54AM -0500, Jimmy Wu wrote: Not really what you were saying, but I suppose it might work. But first I have to figure out if it really is inadequate swap that's giving me grief. I would assume that upon doing a fresh boot-up you would be using much less memory than your available swap partition. (You can check and confirm using, say, top.) Then if you try suspending and still have the same problems when resuming, I think it would be a good indicator that your problems lie elsewhere. Right after boot, I logged in to tty1 and did a sudo pm-hibernate While staring at the screen for messages, I noticed that the snapshot image was less than 400 MB, and it correctly determined free swap as just short of 1.4 GB - so swap is more than enough. On resume, I got a lot of beeps, but after waiting for like 2-3 minutes or so, I was back at my console prompt. However, when I tried to switch over to gdm on tty7, the screen is black, system goes unresponsive, and I can't get back to my tty1 anymore. Just as an experiment, I did a sudo hibernate -v3 hibernate.out, and it says that it was unable to unload nvidia and aborts hibernation (see attached file). So I guess pm-hibernate kind of went ahead and shut down without properly taking care of nvidia, so that is why I had an unresponsive X server on resume, right? If that's what's happening, is there any way to get nvidia properly unloaded? I am running a stock kernel, and have nvidia installed from the Debian repositories. Also, there's a script in this article I found: http://www.linux.com/feature/114220. I never like running scripts that I don't understand, and I was wondering if whatever it's doing with the video card solve my problem? Thanks again for everyone's help and responses -- Jimmy Wu Registered Linux User #454138 hibernate.out Description: Binary data
hibernate and swap partition size (newbie question)
From what I've read online, I get the general idea that in order to be able to hibernate/suspend to disk properly, the swap partition has to be big enough to hold all of the RAM inside it, right? Is it possible to hibernate if my swap partition is smaller than my RAM? I have 2 GB of RAM, and when I installed Debian, I figured I would hardly ever need that much, so I made swap 1.4 GB. Just a bit of extra information: I tried a sudo pm-hibernate today, and it ran fine. I saw s2disk running, and then the computer powered off without any errors. I pressed the power button to turn it back on, and the computer got past grub, saw the saved file, and began resuming from it. After that though, all I got was a black screen and a bunch of beeps. I ended up having to force a reboot with Alt+SysRq. I am trying to figure out if my swap partition size has anything to do with it. I tend to think no, because if it was too small, it shouldn't have been able to hibernate. And the more stuff I read online about swsusp, uswsusp, suspend 2 etc, the more confused I get I am running Debian Sid on a Thinkpad T61, in case that matters. Also, I am running Xfce4 so i do not have the gnome-power-manager. Thanks in advance! Jimmy -- Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hibernate and swap partition size (newbie question)
On Thu, Feb 21, 2008 at 11:47 PM, Rich Healey [EMAIL PROTECTED] wrote: [...] Jimmy Wu wrote: From what I've read online, I get the general idea that in order to be able to hibernate/suspend to disk properly, the swap partition has to be big enough to hold all of the RAM inside it, right? [...] Yes, you'll need to have the same sized swap as RAM, although from memory there is a way to force it to do it with less... All right, I'll look into that. What I can't figure out is why the actual hibernate part (setting restore point) seems to have worked. Actually this is a useless post, sorry well, I wouldn't say that. All responses are appreciated. Thanks again, -- Jimmy Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hibernate and swap partition size (newbie question)
On Fri, Feb 22, 2008 at 12:07 AM, Jimmy Wu [EMAIL PROTECTED] wrote: On Thu, Feb 21, 2008 at 11:47 PM, Rich Healey [EMAIL PROTECTED] wrote: [...] Jimmy Wu wrote: From what I've read online, I get the general idea that in order to be able to hibernate/suspend to disk properly, the swap partition has to be big enough to hold all of the RAM inside it, right? [...] Yes, you'll need to have the same sized swap as RAM, although from memory there is a way to force it to do it with less... All right, I'll look into that. What I can't figure out is why the actual hibernate part (setting restore point) seems to have worked. Just found this article about using swap files instead of swap partitions http://www.debian-administration.org/articles/550 Not really what you were saying, but I suppose it might work. But first I have to figure out if it really is inadequate swap that's giving me grief. -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Thinkpad t61p
On Feb 6, 2008 9:48 PM, Baz [EMAIL PROTECTED] wrote: Anyone have Debian (Etch, Lenny, Sid) running on this relatively new Thinkpad? Sebastian I have a very young installation of sid running on a T61 (not a T61p, but pretty close) Everything works fine, but I haven't messed with wifi or sound yet. From what I hear, the madwifi driver works fine for wireless, and sound should work out of the box in kernel 2.6.23. The strange thing is I haven't gotten any sound out of mine yet, but then again, I haven't found any sound files to play. Nvidia-glx driver from the debian repos works fine, but the T61 has a different card from the T61p, so that probably doesn't help. cpu frequency scaling seems to be built in, and acpi / most of the Fn key combinations seem to work (haven't tested all the keys or any sort of suspend/hibernate, mainly because I haven't figured out how to get that option in xfce) Anyways, that's all I have for now -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: nvidia driver problem [Was: new user question: debian on a Thinkpad T61]
On Jan 28, 2008 5:05 PM, Geosand [EMAIL PROTECTED] wrote: Jimmy Wu wrote: Well, an update: I just ran the nvidia script today (169.09) and it worked. I told it to not look for a precompiled interface on nvidia.com, so it did some compiling on its own, I think, but anyways, after I updated xorg.conf and restarted X, I saw the great big nVidia splash screen. Thanks again to every who replied for your help. Good to know, Jimmy. Thanks. 'When I get the time', I'll follow suit. Regards, David Palmer. Another update: the nvidia installer works fine after it runs, but my X breaks on the next reboot, and consequently I have to rerun the installer on every reboot - a royal PITA. At first, I thought it may have been due to conflicts with the installed/half-installed nvidia-glx packages when I tried to use the debian method earlier, so I removed all of those packages I could think of, but that didn't fix the problem. Eventually, I got so fed up I reinstalled the system, upgraded to unstable, and used the debian nvidia-glx packages, which installed beautifully without a hitch (cursing nvidia and closed-source drivers all the while). I am now running compiz happily on my sid system, and all is well once again :-) Best, -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: compiz + xfce4 on stable (etch) [Was: new user question: debian on a Thinkpad T61]
On Jan 30, 2008 5:07 PM, Jimmy Wu [EMAIL PROTECTED] wrote: Secondly, is there some sort of compiz settings gui in debian etch? I couldn't find one, and the only thing I have available is gconf-editor, which is usable but difficult. For example, I wanted to turn off the wobbly plugin but I have yet to find the gconf entry that will let me do that. Would it be worth it to set up a mixed stable/testing system to use the testing version of compizconfig-settings-manager? I am thinking of either doing that or sticking with gconf. -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: compiz + xfce4 on stable (etch) [Was: new user question: debian on a Thinkpad T61]
On Jan 30, 2008 5:07 PM, Jimmy Wu [EMAIL PROTECTED] wrote: I sort of have this working, there's a few more things I have to take care of. First, how do I add an entry in gdm to run compiz instead of xfwm4? I tried to use the method of putting a .desktop file in /usr/share/xsessions, pointing to a script in which I run nvidia-settings -l compiz --replace gtk-window-decorator --replace This doesn't work however. I've attached my .xsession-errors file. Secondly, is there some sort of compiz settings gui in debian etch? I couldn't find one, and the only thing I have available is gconf-editor, which is usable but difficult. For example, I wanted to turn off the wobbly plugin but I have yet to find the gconf entry that will let me do that. I haven't gotten that many responses, but here's what I plan to do barring future suggestions. (1) About configuring compiz - I'll stick with gconf. It's not the easiest to use, but certainly easier than dealing with mixed systems. (BTW, I did find the gconf key that controls which plugins are loaded, eventually :-) ) (2) About having a gdm entry to start a compiz + xfce4 session on login. I haven't figured out how to do this yet (I think I will have to do more reading / looking around in my x startup scripts). In the meantime, I cheated and am getting about the same functionality with the xfce4-session manager. (3) A third thing I've noticed is a problem with autohidden panels. I have two - one on the left and one on the bottom. The bottom one works fine, but whenever I have compiz running, the one on the left ignores the mouse pointer and absolutely refuses to come out of hiding. -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
compiz + xfce4 on stable (etch) [Was: new user question: debian on a Thinkpad T61]
I sort of have this working, there's a few more things I have to take care of. First, how do I add an entry in gdm to run compiz instead of xfwm4? I tried to use the method of putting a .desktop file in /usr/share/xsessions, pointing to a script in which I run nvidia-settings -l compiz --replace gtk-window-decorator --replace This doesn't work however. I've attached my .xsession-errors file. Secondly, is there some sort of compiz settings gui in debian etch? I couldn't find one, and the only thing I have available is gconf-editor, which is usable but difficult. For example, I wanted to turn off the wobbly plugin but I have yet to find the gconf entry that will let me do that. Thanks for your help! -- Jimmy Wu Registered Linux User #454138 .xsession-errors Description: Binary data
Re: nvidia driver problem [Was: new user question: debian on a Thinkpad T61]
On Jan 25, 2008 9:26 PM, Jimmy Wu [EMAIL PROTECTED] wrote: I think I will go with the nvidia installer. I'll post back with results of how that goes. Well, an update: I just ran the nvidia script today (169.09) and it worked. I told it to not look for a precompiled interface on nvidia.com, so it did some compiling on its own, I think, but anyways, after I updated xorg.conf and restarted X, I saw the great big nVidia splash screen. Thanks again to every who replied for your help. -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: nvidia driver problem [Was: new user question: debian on a Thinkpad T61]
On Jan 24, 2008 8:54 PM, Ron Johnson [EMAIL PROTECTED] wrote: [...] You could get the unstable nvidia-glx source package and build it using Stable tools. Might not work, though, because the latest nvidia drivers are built with modern tool versions. I'd suggest moving up to Lenny/testing. I'd rather stick with stable. I went and looked at the howtos for a mixed system, and it didn't seem too difficult. Unfortunately, the unstable nvidia-glx depends on unstable versions of a lot of important packages, like libx11, libc6, xserver-xorg-core, (and the unstable kernel version too? it could have been something else), so I decided I didn't want to upgrade that much. I think I will go with the nvidia installer. I'll post back with results of how that goes. Thanks -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
nvidia driver problem [Was: new user question: debian on a Thinkpad T61]
I followed the instructions to install the nvidia drivers the Debian way from this site: http://wiki.debian.org/NvidiaGraphicsDrivers Every command worked fine, with no error messages. However, when it came time to reboot, I get a black screen shortly after the message that says gdm is starting. After that, the system stops responding to any form of input (no tty's either) and the only way I can do anything is to force shutdown by holding down the powerbutton. From my xorg log, it seems like everything is working normally, or at least I can't make anything out of it. I've attached both the log and xorg.conf. Some possibly relevant system information: This is a very fresh install of Debian etch 4.0 r2 (stable). The only things that have been added since the system was installed are xfce4 along with a bunch of plugins, vim-full, and bash-doc. Graphics card is Nvidia Quadro NVS 140M, which is listed on the official Nvidia site as supported. Any help would be greatly appreciated Thanks! -- Jimmy Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: nvidia driver problem [Was: new user question: debian on a Thinkpad T61]
On Jan 24, 2008 4:46 PM, Damon L. Chesser [EMAIL PROTECTED] wrote: Jimmy, I have not yet looked over your files, but try to boot into single user mode (grub screen, normaly the 2nd line) and as root, type startx and see if it starts. This will rule in or out gdm. I tried that, and got the black unresponsive screen again. I guess that rules out gdm? Thanks, -- Jimmy Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
getting gnome out of xfce4 in debian
I like xfce4 because it is lighter than GNOME and yet has almost as many features. I used the netinstall CD to install a Debian desktop, and it gave me GNOME. No problem, I installed the xfce4 meta-package. What is strange is how much of GNOME is still present in Xfce4. For example, the launcher to start a graphical terminal emulator starts gnome-terminal. Even the command xfterm4 starts gnome-terminal for some reason I cannot fathom. What I want to hopefully do is remove as much of GNOME as possible, and have an independent xfce4 desktop instead of this bizarre amalgam. However, I would like to keep the convenient system configuration tools (like power management, etc) that GNOME offers but Xfce4 lacks. Is there any simple, _clean_ way to do this? The cleanest way I can think of is to reinstall using the Debian xfce4 iso and add the gnome utilities one by one, but that would be a real hassle, involving downloading and burning an iso and going through the whole install process all over. Thanks in advance for your help! -- Jimmy Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: nvidia driver problem [Was: new user question: debian on a Thinkpad T61]
On Jan 24, 2008 5:06 PM, Damon L. Chesser [EMAIL PROTECTED] wrote: I tried that, and got the black unresponsive screen again. I guess that rules out gdm? Thanks, Yes it does. Now in single user mode run dpkg-reconfigure xserver-xorg (or xfree-x86?? I use unstable and I don't know what stable uses, but I think it is xorg). Instead of driver nvidia, choose nv. If this does not re-write your config file, then manually edit /etc/X11/xorg.conf and look for nvidia and replace it with nv. Test. This will tell us if you have an issue with nvidia or not. Etch uses xorg. Actually, nv was what the installer picked by default and that didn't work for me (I was surprised by that, but maybe stable uses an older version of nv or something). Anyways, vesa worked, and it still does now, so that's what I'm using. It's nvidia that doesn't work. -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: getting gnome out of xfce4 in debian
oops - sorry Celejar - my reply-to went to your email and not to the list. I'm reposting my message to the list (below) On Jan 24, 2008 8:07 PM, Jimmy Wu [EMAIL PROTECTED] wrote: On Jan 24, 2008 6:07 PM, Micha [EMAIL PROTECTED] wrote: under xfce-setting-show manager choose preferred applications and there you can change the choice of browser, email program and terminal. The command in the panel launcher is some sort of cryptic 'exo-open --WebBrowser' or 'exo-open --TerminalEmulator' or something like that'. Apparently that points to the GNOME apps, since I haven't changed the Preferred Apps settings. However, I don't think that should make the command 'xfterm4' open gnome-terminal (?!). Thanks for the suggestion though. On Jan 24, 2008 6:26 PM, Celejar [EMAIL PROTECTED] wrote: On Thu, 24 Jan 2008 16:51:11 -0500 Jimmy Wu [EMAIL PROTECTED] wrote: Is there any simple, _clean_ way to do this? The cleanest way I can think of is to reinstall using the Debian xfce4 iso and add the gnome utilities one by one, but that would be a real hassle, involving downloading and burning an iso and going through the whole install process all over. You certainly don't need to do that. As Doug would say, start Aptitude in interactive mode, open Installed Packages / Gnome / [Main] and go through the list one by one, marking everything that you don't think you need as automatically installed (with key 'M'). Then just upgrade, and Aptitude will remove everything that you've marked, except for dependencies of things you still want. That sounds like the closest to what I want - I'll try that first. Thank you to everyone who responded for your help! -- Jimmy Registered Linux User #454138 -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: nvidia driver problem [Was: new user question: debian on a Thinkpad T61]
On Jan 24, 2008 5:36 PM, Ron Johnson [EMAIL PROTECTED] wrote: What does /usr/lib/xorg/modules/extensions/libglx.so look like? I haven't had a chance to check that yet (I put my laptop away and it's charging now). However I think I've figured out the problem (see below...) On Jan 24, 2008 6:23 PM, Paul Cartwright [EMAIL PROTECTED] wrote: try downloading the latest nvidia driver from nvidia.com and running the NVIDIA*.run file.. a new one just came out recently.. Thanks for that lead. On Thinkwiki.org (http://www.thinkwiki.org/wiki/NVidia_Quadro_NVS_140m), I found that support for my chip began with the Nvidia 100.14.09 driver version (June 2007), while the etch stable package nvidia-glx uses the 1.0-8776 version (Oct 2006). Just to make sure, I looked at the README and sure enough, my graphics card isn't in there. This probably explains why it isn't working. On Jan 24, 2008 4:32 PM, Jimmy Wu [EMAIL PROTECTED] wrote: Graphics card is Nvidia Quadro NVS 140M, which is listed on the official Nvidia site as supported. Apparently I was looking at the list for the latest (and wrong) driver version (http://www.nvidia.com/object/IO_18897.html). Now, on to a solution. The unstable nvidia-glx does support my card, but I want to run the stable distribution. I know there are ways to configure apt/aptitude/sources.lst to have a mixed system, but is going through that worth it for just one package from the unstable distribution? (I'm avoiding the Nvidia installation script because I want to do this the debian way - it seems cleaner and has the added advantage of being integrated into the package management system.) Thanks again, -- Jimmy Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
broken Xorg [Was: new user question: debian on a Thinkpad T61]
Updates on the situation I've shrunk Vista and left it as the first partition on the HD. After looking around, I think that my laptop does not have a recovery partition, which is rather strange. There is no Rescue and Recovery ThinkVantage tool, or anything that says create recovery media at all. I went ahead and installed Debian anyway, using the netinstall CD, and the install process went fine (no error messages that I could see). However, xorg fails to start upon reboot. The xorg.conf is currently using the nv driver. In the end of log are the following lines: (EE) No Devices detected. Fatal server error: no screens found My graphics card is an nVidia Quadro NVS 140M, but lspci shows it as: 01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0429 Any ideas on how to fix this? Thanks in advance, Jimmy -- Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: broken Xorg [Was: new user question: debian on a Thinkpad T61]
On Jan 22, 2008 12:02 PM, Jimmy Wu [EMAIL PROTECTED] wrote: Updates on the situation I've shrunk Vista and left it as the first partition on the HD. After looking around, I think that my laptop does not have a recovery partition, which is rather strange. There is no Rescue and Recovery ThinkVantage tool, or anything that says create recovery media at all. I went ahead and installed Debian anyway, using the netinstall CD, and the install process went fine (no error messages that I could see). However, xorg fails to start upon reboot. The xorg.conf is currently using the nv driver. In the end of log are the following lines: (EE) No Devices detected. Fatal server error: no screens found My graphics card is an nVidia Quadro NVS 140M, but lspci shows it as: 01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0429 Sorry, found the answer shortly after posting the question. The nv driver doesn't support the nVidia Quadro NVS 140M video card I had. Switching to vesa solved the problem. Jimmy -- Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: which to use: ext3, JFS, XFS, ReiserFS? [Was: new user question: debian on a Thinkpad T61]
Wow, thanks for the many quick responses. I'm doing a group reply to the list by quoting everyone in one message. Not sure if this is top-posting, bottom-posting, or conversational-posting, but if this goes against mailing list etiquette, please tell me/flame me gently, and I won't do it again. On Jan 18, 2008 4:27 PM, Damon L. Chesser [EMAIL PROTECTED] wrote: This question is very close to what is the best religion for me? Haha, I like that :-) [...] Use ext3 and be done with it. Tried, true good rescue tools if you need them (I never have). IF you need the other fs, you would know it. Your killer app would tell you to use fs $X. For a home user, ext3 just works. Given this and the general gist of the other responses, I am thinking I will just go with ext3 for everything. On Jan 18, 2008 4:31 PM, Brian McKee [EMAIL PROTECTED] wrote: Let me throw out a few more unsubstantiated statements. This is my opinion 'cause you asked for it I appreciate the input. Unless you have a real need for something special, just use ext3. It is the most widely used and supported, and has a good track record. None of the other file systems offer enough of an advantage for your kind of application to make them worth wandering off the main trail so to speak. As stated above, I guess I will stick with ext3. xfs sure does copy and delete really large files faster - I do use it for video at home. How big do files have to be before one starts to notice the advantages of XFS? I don't think, in the course of normal usage, that I will have any really huge files aside from a few isos, with the largest possible size being a 4GB DVD iso. Then again, isos are usually meant to be downloaded and burned, and possibly deleted later, not to be copied/shuffled around on an HD, so it probably won't be worth making an xfs partition for the isos, right? On Jan 18, 2008 6:10 PM, Александър Л. Димитров [EMAIL PROTECTED] wrote: What would you need FS-performance for? You're not going to host a data base, are you? If it's a personal laptop then performance differences between modern file systems won't be noticable at all. Don't mind those benchmarks, that's all hogwash. Yeah Reiser performs well in some benchmarks, but I've never noticed _any_ difference, instead that takes an awful amount of time to mount it after an unclean unmount. Well, if fs performance isn't noticeable, then I'll drop that as a criterion for choosing fs and go with ext3, which seems to be the most reliable. Why would you want to modify your laptop's partition table? Your better off not to misuse and abuse that small disk anyways, they tend to have rather short life spans. If I want to reinstall stuff, I may want to resize partitions. I didn't mention before that I have Windows Vista sitting in a 30 GB partition at the beginning of the drive. It came with the laptop, and I shrank it down using the built-in partition editor to the smallest size it would let me, and I don't plan on touching it unless there is some hardware issue or I run across Windows only software at school/work. For such a relatively high-end laptop, Vista runs sluggishly at best. There is no instant, responsive feel, as opening anything involves a slight delay. The first time Vista starts to give me problems, I'm going to wipe it and either shrink its partition and replace it with XP or possibly give all the space to Debian, repartitioning/reinstalling as necessary. I hope my HD won't complain about that. Sure. But who the hell uses JFS on a laptop? :-) Some of the forums google turned up had people who did, and who claimed it worked well (5) ReiserFS is the best choice for /var. Arguably, yes. My /var is still Reiser, too. So would you advise that I do the same? As previously stated, I am leaning towards keeping things simple and making everything, including /var ext3 to be consistent. (7) Mixing too many file systems in one system will degrade performance Yes. And there's no need mixing fs' on a laptop, either. See comment above on /var. Thanks again to everyone who responded! -- Jimmy Registered Linux User #454138
which to use: ext3, JFS, XFS, ReiserFS? [Was: new user question: debian on a Thinkpad T61]
Hello, I am trying to decide on which file systems to use for a Debian install on a personal laptop. It's a Thinkpad T61 with one 160 GB HD. I've looked around on Google, and come up with a lot of frustratingly conflicting advice. For example, an article from debian-administration touts XFS as the best in performance. But other sites mention that XFS may be more vulnerable to corruption on a crash/power outage than the other file systems. Then, people disagree on the performance of ext3 vs ReiserFS. In an attempt to get some definitive answers, I threw together some of the statements I've seen, and all I am asking for is verification (a simple true/false is enough for most of them). So, here goes: (1) ext3 mounts and unmounts slowly, resulting in increased boot times. (2) Neither JFS nor XFS can be made smaller, although they can be extended if needed. (3) JFS performance degrades on larger filesystems, but is least CPU intensive for smaller file systems. (4) ReiserFS can be flaky on a system crash. (5) ReiserFS is the best choice for /var. (6) On a continuum, XFS offers the best performance, ext3 offers the most data integrity / chances of recovering from a crash, and JFS is in the middle. (7) Mixing too many file systems in one system will degrade performance (8) Is there any advantage to using ext2 for /boot rather than ext3? That's all I have for now. Thanks in advance for your help Jimmy -- Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: new user question: debian on a Thinkpad T61
On Jan 14, 2008 2:26 PM, Mike Bird [EMAIL PROTECTED] wrote: On Mon January 14 2008 03:47:32 Chris Bannister wrote: On Wed, Jan 09, 2008 at 04:51:21PM -0500, Jimmy Wu wrote: am not a big gamer. The only reason I would have Windows is because there might be unforeseeable circumstances when I may run into Windows only software. I am sure if I needed to, I could always shrink by Debian partition later and install XP, right? As far as I know, M$ doesn't play friendly with other OS's. XP will want all the HD. You are best to install XP, then Debian. There may be ways around it but I'm guessing they would be very unpleasant. Lenny installer had no problem shrinking the Vista partition and setting up grub dual boot - actually triple boot on the T61 if you keep the diag partition (recommended). Thanks again for all the input. Given the large amount of HD space I have, I think I will go with keeping Vista and dual booting, although I have a bit of work to do before I can even get into installation: The computer was a gift, and has been preloaded with a bunch of stuff by the person who gave it to me. Included in this bunch of stuff are, among other things, 20 GB of uncompressed audio and lots of software, including Office 2007, Nero 7 Ultra (or something like that, I have never used nero and don't know what it's supposed to be called), and an install of Tomb Raider. Obviously, it would be rather sad to irrevocably wipe all of this away, so I am trying to back up and salvage as much of it as possible. The isos will be relatively easy to back up (I'll just burn them), but I'll have to go in and find the registration / product keys that were used somehow. What makes my job harder is the weird partition scheme, which makes it so I can't just resize a partition or two and move everything that needs to be backed up to some excess space out of the way. I don't really trust what Windows' disk utility tells me, as IIRC it hides the Rescue Recovery partition, but what it does tell me is as follows: Disk 0 (149 GB): Partition 1: 39 GB (Windows Vista install) Partition 2: 55 GB (all the music, misc .iso's for Vista, Office 2007 and other software installation executables) Partition 3: 55 GB (Tomb Raider-Legend files) Disk 1 (513 MB): Partition 1: 511 MB (I guess this is the recovery partition, but am not sure; it contains one file: ReadyBoost.sfcache (409 MB) ) All partitions are NTFS The Windows Device Manager lists two hard drives: Fujitsu MHW2160BH PL IMD-0 I tried to boot from my Ubuntu 7.04 liveCD to use gParted to get another look at the partition, but the CD wouldn't boot. So I tried a really old (several years old) Knoppix CD I had (Knoppix 4.0), and that booted, but I couldn't figure out how to get Qtparted to show me the partitions (it showed one disk: UNIONFS/dev/hda or something like that, but no partitions) Now that I've given all the background info, I have two main things I'm trying to do: (1) I'm trying to decide if Tomb Raider is worth keeping, especially because I've never played it before and probably won't, and I don't know where the installation .exe is, nor do I have a CD. All that's there is a bunch of cryptic bigfiles (all over 100 MB in size), more cryptic files, two exe's to run the game, an uninstall exe, readme's, and I am guessing hidden in there somewhere save data. I do not know if this mess is salvageable, ie if it will work by just copying everything to another Windows Vista computer. Any ideas/suggestions/opinions on what to do with this? (2) I definitely want to save the music. For the most part, they're split up by CD, with the whole CD audio saved as one file in APE format with a CUE file to go along. There are also a few wav and flac files. But 20 GB is a lot to move, and since it's on the second partition, I'm not quite sure what I'm going to do with it yet. Again, suggestions would be appreciated. What I want to do, eventually, is to split up the CD audio into individual tracks, and convert everything to FLAC (going with the open source format). If there any good Linux audio converters that would accomplish that, then I might move everything somewhere else temporarily and sort through it later, after I get Debian installed. If not, I might be stuck with converting all these files on Windows before I can even get started installing Debian. Wow that was a long post. Sorry. Thanks again for your help, Jimmy -- Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Trusted computing [WAS new user question: debian on a Thinkpad T61]
On Jan 10, 2008 12:31 PM, David Brodbeck [EMAIL PROTECTED] wrote: On Jan 9, 2008, at 5:27 PM, Mike Bird wrote: You might want to make the recovery CDs and save the recovery partition. In this sad world, being able to restore/reinstall Vista will dramatically improve resale value when you replace the laptop in a few years. Although maybe not as much as if it had XP. ;) I just got the ThinkPad T61 laptop today. I went in to system properties to take a look at the hardware device manager and I noticed it included Trusted Platform Module 1.2. Now, this raised a red flag for me, as my first impressions of trusted computing were framed by this article: http://badvista.fsf.org/what-s-wrong-with-microsoft-windows-vista So, I have two questions: (1) Is this really as scary as the article makes it out to be? (in other words, should I be worried that this is on my computer?) (2) Does Debian support TPM chips? What is the community's take on the issue? My take is that TPM does have some security merits, but it also has a lot of potential for abuse. Google turned up these results of the beginnings of TPM support in Linux: http://www.linuxelectrons.com/news/linux/15574/ibm-brings-trusted-computing-linux http://lwn.net/Articles/144681/ Thanks, -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: new user question: debian on a Thinkpad T61
Thanks to Chris and Mike for your responses - I appreciate your input and time On Jan 9, 2008 6:14 AM, Chris Lale [EMAIL PROTECTED] wrote: [snip] Perhaps it would be best to install with dual booting by shrinking your Windoze partition - have a look at the Debian NewbieDOC wiki [1]. and On Jan 8, 2008 11:08 PM, Mike Bird [EMAIL PROTECTED] wrote: [snip] I kept the recovery partition, shrank the Vista partition (needed for a game) and assigned most of the space to a mostly Lenny install with Sid xserver for nvidia. The reasons I don't want Vista are as follows: (1) Microsoft claims even the Home Basic needs 20 GB hard drive with at least 15 GB of available space (see http://www.microsoft.com/windows/products/windowsvista/editions/systemrequirements.mspx) I suppose I could dual boot with less than that, but I still don't want to be wasting 10+ GB of space on something I would almost never use. (2) If I were to dual boot, I would rather do it with XP, since it has worked relatively well for me, and not Vista. I might do this as an afterthought, but I really want to see how far I can go without M$. I am not a big gamer. The only reason I would have Windows is because there might be unforeseeable circumstances when I may run into Windows only software. I am sure if I needed to, I could always shrink by Debian partition later and install XP, right? Once I actually get the laptop and run into hardware issues, you'll probably see me back here with more questions. Also, do any of you use the fingerprint reader? That is one thing I am interested in / curious about. Thanks again, -- Jimmy Wu Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
new user question: debian on a Thinkpad T61
Hello to the Debian community, A question for Thinkpad Debian users: I will be getting a Lenovo Thinkpad T61 in a few days, which will become my primary computer for school/home etc. I want to run Debian etch on it, but am relatively new to Debian and Linux (I started with Ubuntu about 7 months ago). I have a few questions before I wipe Vista off the laptop, specifically about the Thinkpad software that comes preloaded. Does Debian provide similar support for stuff like the Client Security that manages the fingerprint reader, and other stuff the volume buttons, the Fn keys, the blue ThinkVantage button? Also are there any glaring hardware issues I should be aware of? Thanks in advance for your help, Jimmy -- Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: FasterFox considered harmful
On Dec 29, 2007 5:03 PM, Paul Johnson [EMAIL PROTECTED] wrote: FasterFox is considered harmful. It breaks spec and connects to web servers more than two concurrent times, and prefetches a tad too aggressively for many webservers to keep up properly. Really? What about the 'courteous' or 'optimized' presets? And even if those settings are too aggressive, the extension still allows custom tweaking of settings to decrease web server load. The reason I ask is because I have it installed (on 'optimized'), but I would gladly remove it if it is really harmful. Thanks, Jimmy -- Registered Linux User #454138 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]