Re: How to get ssh to run in daemon script
On 28/11/16 12:30, Richard Hector wrote: ... nas doesn't recognise login as authorised user Turns out this was the issue - problem solved.For some reason the interactive successful use of ssh must have used my non-root users key even when run by (su) root in a graphical terminal. I needed to send a root public key to the NAS to get it to accept the connection when run from the daemon. /root/.ssh/authorized_keys in the NAS (running some version of Linux) only had the normal user public key. Thanks to all for the replies.
Re: How to get ssh to run in daemon script
On 27/11/16 13:00, Nemeth Gyorgy wrote: ... What user runs the daemon? If it is a separate user then run the ssh with that user interactively. If the user does not have the ~/.ssh/known_hosts file or the destination host is not in it, then you will have problems. I've now discovered that the daemon is run by root. As I said in my post the ssh command does run successfully when run interactively "but if I run the ssh command interactively from the usual graphical terminal (as root) it shuts down the NAS". /root/.ssh/known_hosts does exist. As it does work interactively, presumably root must have the correct entries in the known_hosts file. One problem is that when the daemon runs the script the ssh command fails and I don't know if there was any error message, and if so where to find any error messages after I reboot.
How to get ssh to run in daemon script
I am trying to add a command into a script to shut down my NAS when the UPS detects a power loss. There is a daemon apcupsd which gets a signal from the UPS and runs various scripts which can be modified by the user. I have a script doshutdown as follows #!/bin/sh ... various messages and sleep delays /usr/bin/ssh root@nasbox poweroff ... more messages and sleep delays The ssh command in my script does not run in a power off test (everything else in the script works i.e. the messages and delays), but if I run the ssh command interactively from the usual graphical terminal (as root) it shuts down the NAS, so the NAS isn't stopping it working assuming its getting the appropriate handshaking from ssh. My knowledge of how to get daemon scripts working and how to use ssh is almost nil. Also I can't find a way to get any error output which the ssh command might be issuing. I've tried enclosing the body of the script in brackets to redirect output to files: { } > /data/temp/shutdown-out.txt 2> /data/temp/shutdown-err.txt I've looked in syslog, kern.log and auth.log without finding anything. So I'm scrambling around in the dark. Currently my vague ideas as to what might be wrong are: script doesn't know what nasbox is (it is defined in /etc/hosts) ssh is being run without being associated as root ssh cannot find root's keys nas doesn't recognise login as authorised user I'm also starting to think I am stressing the UPS too much by running too many power off tests, so I'd like to resolve this without too much more experimentation. Grateful for any suggestions. I'm running Linux Mint 17.3 (based on Ubuntu 14.04, based on Jessie). Uses openssh (1:6.6p1-2ubuntu2.8)
Re: User's bin path not recognised in login script
On 24/03/16 00:30, David Wright wrote: ... I don't know what you mean by "login" script because you haven't yet told us (I believe) what your machine is configured to do when you boot it up. If you've installed some sort of Desktop Environment, then the DE has the responsibility of selecting the shell that runs your "login" script and, indeed, what the filename of that script is. You're right - I didn't explicitly tell you that my desktop environment is Mate which I chose when I installed Debian recently. There's a "Control Centre" which has a GUI application "Startup Applications" which is pre-populated by items such as "GPG Password Agent", "Mate Settings Daemon", "Pulse Audio", etc. You can add your own item by specifying name and command. This is where I added a bash script I wrote which I called "Login" which is located in ~/bin. All my other scripts in there are run in a Mate terminal or via a launcher icon on the desktop, and in both cases they use the path set up in ~/.bashrc. Anyway, thanks for the information (including the existence of dash). Unfortunately I don't have time to delve deeper into this now as I have another project that has reared its head, so I'd ask you not to spend any more of your time responding, as I will not revisit this thread. And thanks to all other responders for their efforts.
Re: User's bin path not recognised in login script
On 22/03/16 20:20, Seeker wrote: ... Create '~/.xprofile' and put your export commands and extra non-desktop specific stuff you always want to run there. https://wiki.archlinux.org/index.php/xprofile Later, Seeker Thanks. I might try this later.
Re: User's bin path not recognised in login script
On 22/03/16 19:00, The Wanderer wrote: ... How did you test? By launching a new terminal (with bash set as your default shell), by running the command 'bash' in an existing terminal, by logging all of the way out (to the main login prompt, if not to a full reboot) and then logging back in, or by running the command 'bash --login' in an existing terminal? In my testing just now, only the latter two of these four will pick up the new ~/.profile file; the other two seem to run the commands which were present in the file which their parent bash session used. (Strictly speaking I didn't test the full logout or reboot, but I fully expect that that would pick up the changes.) Also, at least on my system, ~/.bashrc is invoked only by being sourced from ~/.profile or ~/.bash_profile. Unless your system is configured fairly differently, if ~/.bashrc is getting run, that means that - per bash(1) - one of ~/.bash_profile, ~/.bash_login, or ~/.profile must be invoking it. I tested by rebooting each time. My ~/.bashrc is sourced from ~/.profile which itself is sourced from .bash_profile, but neither of them run the echo command I've added so I would assume the ~/.bashrc which runs when I open a Mate terminal is started some other way. bash --login does invoke ~./bash_profile and hence ~./profile as the echos are seen in the output file (in the expected order), but I must admit the nature of login shells / non-login / interactive shells, etc is a bit beyond my experience. I've never tried bash --login before as I haven't previously come across it. Maybe what this is telling me is that I should run another script from my "login" script by 'bash --login real_login_scriptfile' in order to get these profiles to run first?
Re: User's bin path not recognised in login script
On 22/03/16 02:40, David Christensen wrote: ... Did you remember the 'export' in .profile? export PATH=$PATH:$HOME/bin It might help to add echo's in the various scripts to check the order in which they run -- e.g. verify that .bash_profile runs before your bash login script, so that PATH includes $HOME/bin. Thanks for the export point which I have now used. However it doesn't solve the problem. I experimented by adding the following line into ~/.bash_profile, ~/.profile and ~/.bashrc: echo "This is " &>>/tmp/out.txt Neither of the profile files triggered the output, nor did .bashrc until I manually opened a Mate terminal from the desktop. So it appears that the profile files do not get invoked at any time. I've even tried changing the PATH which is set at the top of /etc/profile, but this doesn't work either, so it looks like profile files are ignored altogether.
User's bin path not recognised in login script
The bash login script I have added in to my startup programs does not recognise /home/user/bin as part of the path, whereas it used to when I was running Linux Mint (I'm a recent refugee). I've got PATH="$HOME/bin:$PATH" in ~/.bashrc and also in ~/.profile, together with a ~/.bash_profile which sources ~/.profile. I've no idea whether all these are necessary - they do work to search my bin in a script run in the Mate terminal but not in the login script. It's not a big deal as I can prepend the absolute path in the login script, although I assume this means also doing it in sourced scripts within the login script, so I'd like to know if there's a clean way to set this up.
Re: Thin Mate window edges
On 03/03/16 22:30, Siard wrote: ... After restarting Mate, you will see that windows have wider borders, so that's an improvement at least. But they can be made even wider if desired. As root, edit usr/share/themes/Spidey/metacity-1/metacity-theme-1.xml. You will see these lines near the beginning: Changing '3' to a higher number, most important for right_width and bottom_height, will widen those borders. Thanks - works ok. The actual edge of the frame doesn't change but the bit immediately inside increases and the mouse pointer is sensitive to this part, so the end result is a larger target for grabbing.
Thin Mate window edges
I have just installed Jessie with the Mate desktop. My screen is 1920 x 1080. I find grabbing the edges or corner of a window with the mouse pointer in order to extend it is very fiddly. Is this due to the border being very thin? Are there any options to make this easier, such as choosing a window style with thicker borders?
NAS no longer mounting at boot
I have this in /etc/fstab //nasbox/dataNAS /mnt/dataNAS cifs rw,user,exec,iocharset=utf8,user=xyz,password=xxx,uid=1000,gid=1000 Up to recently it used to mount at boot time but doesn't any more. I assume some update changed things. Unfortunately I only use this system once or twice a week and I noticed it a week or so ago, so I can't tell you exactly when this behaviour started. Can't see anything obvious in dmesg (but then I'm not particularly clued up on Debian). If I use mount -a at a root terminal the NAS mounts ok, so it's not a show-stopper but is a bit annoying to do this manually at each boot. Any clues would be appreciated. -- 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/CAMEWLMhu=f3-r72csvhyvk5hiym-5o_upvtw0xyvxih+swx...@mail.gmail.com
Fwd: How to refresh Nautilus file view.
How is the mount point set? Dynamically or statically? Sorry not sure what you mean by Dynamically or statically?. I have a line in fstab as follows: //nasbox/dataNAS /mnt/nas cifs rw,user,exec,iocharset=utf8,user=xxx,password=xxx,uid=1000,gid=1000 (not sure if all these options are strictly needed or correct but the mount is ok) Does Ctrl+R (reload) do the trick? If not, how about closing/opening Nautilus? Or just by relogin? Greetings, -- Camaleón No none of this works. It's not just Nautilus because the ls command in the Gnome terminal also fails to see the nas. Russell -- 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/CAMEWLMgKsJibaG27jvuujV4_Ctmqa5RmkcnLqsVssB93t=i...@mail.gmail.com
How to refresh Nautilus file view.
I have just set up a NAS box and sometimes it comes up from sleep too late for Nautilus to see it so when I look for it in Nautilus the mounted drive isn't there, I just see the folder where it should be mounted. I'm sure it is mounted since I can check this with the mount command, although if using the Gnome terminal I still can't see it with a ls command. I can reboot and it will be ok. I wondered if there's a quicker way to get Nautilus/Gnome to refresh its view of this. -- 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/camewlmjxcvm92gk9-hnpmueosc4_u7p0ewzedvs605-phni...@mail.gmail.com
USB stick no longer automounting at boot
I have today set up a new installation of Linux Mint and it is exhibiting the same symptoms as my installation of Squeeze as follows - I have a USB stick permanently plugged in (for backup purposes) and when the system boots the stick is not mounted. When I first installed it mounted ok and I could see it on the desktop, but now I have to physically unplug and replug the stick to get the system to mount it. I think this behaviour may have occurred after I installed a trial version of NOD32 antivirus for Linux (on both systems), but I'm not certain. I stopped NOD32 from starting at boot but this doesn't make any difference, so I don't know if that is the cause or maybe some other software update. Any ideas would be welcome. My knowledge is pretty elementary at this level but I have run the following 2 commands to check that the device is recognised: fdisk -l reveals: Disk /dev/sdb: 4076 MB, 4076863488 bytes 166 heads, 54 sectors/track, 888 cylinders Units = cylinders of 8964 * 512 = 4589568 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc3072e18 Device Boot Start End Blocks Id System /dev/sdb1 1 889 3981288c W95 FAT32 (LBA) Partition 1 has different physical/logical endings: phys=(495, 165, 54) logical=(888, 47, 54) also blkid gives: /dev/sdb1: LABEL=ISISBACK UUID=D743-AC68 TYPE=vfat -- 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/banlktinbd7sxjxpromydkeaupdfzvnh...@mail.gmail.com
Re: GRUB GRUB black screen
On 14 May 2011 21:48, tv.deb...@googlemail.com tv.deb...@googlemail.com wrote: snip - see above posts Maybe LILO's simpler design can be a good choice in many situations, where grub fanciness (and complexity) isn't needed. Glad you solved it somehow in the end. Thanks for your interesting discussion. I appreciate that grub2 would do a lot for some people and I hope it matures into something which is more easily usable in my simpler situation. Meanwhile I'll have a look at LILO - I have already asked about it in another post. -- 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/BANLkTin1=-0shsz+yqoyxcfgqdjfany...@mail.gmail.com
Re: Switch to LILO from Grub2 ?
On 14 May 2011 21:59, Sven Joachim svenj...@gmx.de wrote: snip - see previous post for more This will definitely not work. LILO stores the location of kernels (their sectors on the disk) in a map file, and if you move those around it won't be able to find them anymore. Also I'd like to avoid using UUIDs - I think this will be necessary if I am to achieve 2 above. You could also use labels, but device names can obviously not be used in that situation. Beware that both with UUIDs and labels your old partition is likely to be used unless you delete or reformat it. Sven Thanks Sven, most useful. I had a look at the website I mentioned which gives a LILO guide and if I decide to delve more into one of the boot loaders it looks like LILO will probably be more manageable for me. However at present I'll spend my time on other tasks and take the easy way out and reinstall the system where necessary. -- 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/banlktimoopdrgja4d0re85jh7qoeszq...@mail.gmail.com
GRUB GRUB black screen
One of my operating systems (a version of Debian Squeeze) is now refusing to boot. It just shows a black screen with the 2 words GRUB GRUB in the top left hand corner. I wonder if anyone has seen this sort of behaviour before? More background: I have multiple operating systems on my PC which can be selected by means of a boot manager (BootitNG), including 3 versions of Debian Squeeze, Linux Mint and Windows 7. The boot manager resides in the master boot record and when I select an OS to run it sets up the master boot record for the selected OS, then passes control to Grub located in the root partition. This has been working without problem for some months (years in the case of Debian Lenny, with the original Grub). At first I suspected a hardware fault, but the other Debian works ok. In fact all the other OS's do, with one exception - Kubuntu. In fact I had just installed Kubuntu 64 bit so I suspect its possible this had something to do with the problem. Kubuntu ran ok on its first bootup but now on trying to boot into it for a second time it boots but doesn't complete booting. (I only installed it out of curiosity and I have now deleted it from the system) However the problem is strange. My boot manager is also able to take an image of a partition and I restored the image of the failed Debian Squeeze system from a known good copy, but to no avail. I use a common swap partition for all my Linuxes, and I have 3 other partitions (2 drives) for data which all OS's have access to. Each Linux has its own additional tmp partition. I wondered about some issue with the common swap partition but my other 3 Linuxes (two Debian one Mint) are using it with no problem. I wondered whether Kubuntu has somehow altered some BIOS setting but I can't see any changes - also the other Debian isn't affected. Or maybe it has subtly changed something which GRUB uses to identify the UUIDs. Any ideas would be very welcome. -- 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=x9dcwxpquw4jky-nbu66aw-g...@mail.gmail.com
Switch to LILO from Grub2 ?
I have had a number of problems with using grub2 (running Debian Squeeze) and am thinking of switching to LILO. I'd like to achieve these objectives: 1. use a boot manager (BootitNG) in the MBR which will set up the required partition table and pass control to LILO located in the root partition of the OS to be run. 2. image the root partition to a file, then restore the image to a different location on the hard drive in order to clone the system. When I used grub-legacy to do this I didn't have to change anything for it to boot ok but grub2 won't do this (hence my reason for trying LILO). Also I'd like to avoid using UUIDs - I think this will be necessary if I am to achieve 2 above. Any comments on the feasibility of the above, or other issues would be most welcome. I have found a guide here, which I intend to use, but I thought I'd ask the above general questions first: http://users.wowway.com/~zlinuxman/lilo.htm -- 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=sfs3hoeovatkbiznoq4tc297...@mail.gmail.com
Re: Cannot set preferred application
On 20/02/11 17:40, Russell Gadd wrote: snip I've filed a bug report now -- 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/ijtea9$m5u$1...@news.eternal-september.org
Re: To gmail or not to gmail (was Re: Fwd: selecting old machines for firewall/router use)
There is effectively a list reply feature in gmail. Hit Reply to all and debian-user@lists.debian.org appears in the cc field. For this reply I have removed the To address and just kept the cc address. However I use Icedove for newsgroups and also a gmail account where I automatically archive the debian user posts. This allows me to use the gmail search feature if I want to look for something. If I find it with gmail I can reply there or jump into Icedove to find the thread. I find Icedove's search is poor, and if you find a post to view it opens in a new window rather than finding it in the main window where the thread could be seen. Russell On 21 February 2011 06:57, Ron Johnson ron.l.john...@cox.net wrote: On 02/21/2011 12:17 AM, Peter Tynan wrote: On Sun, 20 Feb 2011, Ron Johnson wrote: Date: Sun, 20 Feb 2011 23:54:27 -0600 From: Ron Johnson ron.l.john...@cox.net To: debian-user@lists.debian.org Subject: Re: To gmail or not to gmail (was Re: Fwd: selecting old machines for firewall/router use) Resent-Date: Mon, 21 Feb 2011 05:54:49 + (UTC) Resent-From: debian-user@lists.debian.org I keep my current D-User folder (relatively) small by having maildrop filter emails into quarterly folders. Does that not make searching a pain in the posterior? A bit. (It just occurred to me that such filtering isn't useful with gmail... ) -- The normal condition of mankind is tyranny and misery. Milton Friedman -- 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/4d620ce2.5010...@cox.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/aanlktimblqwyyl8p0z6f3hrqvbobk_5d2mdkxlu0q...@mail.gmail.com
Re: Cannot set preferred application
On 21/02/11 15:00, Camaleón wrote: On Sun, 20 Feb 2011 21:56:21 +, Russell Gadd wrote: On 20/02/11 19:30, Camaleón wrote: On Sun, 20 Feb 2011 17:16:12 +, Russell Gadd wrote: (...) So I now try right clicking on the file and choose Open with Other Application, choose audacious and tick the box which says Remember this appliction for MP3 audio files. Ok so it opens this time. I close audacious and then click on another MP3 file and it opens (briefly) with Movie Player. Is there a setting somewhere I can tweak or is this a bug to report? Hum... have you tried by right-clicking over the mp3 file, select properties, go to Open with tab and pick from there the app? Many ways to do the same thing :-) ?? This is precisely what my paragraph meant. It doesn't persist. Nope, both steps are different and lead to different options. Hint: did you select properties when you right-clicked over the icon? Greetings, Oh boy that is very subtle. Ok thanks this solved my problem, although the other way, using Open With directly, said that the selection would persist so this is surely a fault. Also the preference can't be set in the System Preferences. I found a bug report which said much the same thing for a different type of file so I added my 2 pennorth to this bug report re MP3 files. I will revisit that bug report to add this workaround. In any event, thanks again. Russell -- 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/ijur7h$h3o$1...@news.eternal-september.org
Cannot set preferred application
I'm trying to change the default application which is used to play MP3 files in Gnome. Currently the default application for multimedia player is Totem Movie Player. I know its not a movie but when I click on an MP3 file in Nautilus it tries for a split second to use Movie Player then quits. If I change this to Rhythmbox in System Preferences Preferred applications it ignores the setting. If I try to use a custom setting (I tried /usr/bin/audacious %s) this is also ignored. So I now try right clicking on the file and choose Open with Other Application, choose audacious and tick the box which says Remember this appliction for MP3 audio files. Ok so it opens this time. I close audacious and then click on another MP3 file and it opens (briefly) with Movie Player. Is there a setting somewhere I can tweak or is this a bug to report? -- 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/ijri95$jtq$1...@news.eternal-september.org
Re: Cannot set preferred application
On 20/02/11 19:30, Camaleón wrote: On Sun, 20 Feb 2011 17:16:12 +, Russell Gadd wrote: (...) So I now try right clicking on the file and choose Open with Other Application, choose audacious and tick the box which says Remember this appliction for MP3 audio files. Ok so it opens this time. I close audacious and then click on another MP3 file and it opens (briefly) with Movie Player. Is there a setting somewhere I can tweak or is this a bug to report? Hum... have you tried by right-clicking over the mp3 file, select properties, go to Open with tab and pick from there the app? Many ways to do the same thing :-) Greetings, ?? This is precisely what my paragraph meant. It doesn't persist. -- 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/ijs2md$ohq$1...@news.eternal-september.org
Re: Moderation robot problem - can't post from Thunderbird
On 15/02/11 17:00, Eduardo M KALINOWSKI wrote: On Ter, 15 Fev 2011, Russell Gadd wrote: I'm having a problem with the moderation robot. I am a member of this list - joined via googlemail. However I use Thunderbird to view the newsgroup but when I try to use it to reply to a post the robot throws it out as follows: -- linux.debian.user is a moderated newsgroup in gateway with a mailing list. Your article has been examined by the automatic moderation program and has been refused because: this hierarchy accepts posts only from registered users. You can register for posting by subscribing to the linux-g...@lists.bofh.it mailing list. You can do so by sending a message with subscribe in the body at the linux-gate-requ...@lists.bofh.it address or by visiting http://lists.bofh.it/listinfo/linux-gate . For more information about the linux.* hierarchy please read the FAQ at http://www.linux.it/~md/linux-faq Virtually your, The Moderation Robot. --- Follows the first few lines of your article ...etc -- It's inconvenient since I have to go back to the webmail service, find the post and reply there. Not a big deal but annoying. What could I do to get by the robot? That message is not from the debian list itself, but from the gateway service you are using. You can post directly to debian-user@lists.debian.org, which has no moderation and requires no subscription for posting. If you want to use this gateway, have you tried the instructions in the message? Thanks for the response. I didn't know I was using a gateway. All I know is that I signed up to Usenet-News.net to be able to access newsgroups and I can download these without problem in Icedove. I signed up via my gmail email service. If I post by sending an email using the web interface of gmail to debian-user@lists.debian.org (such as this message I am now writing) it gets into the newsgroup. If I use the Icedove interface I get this response from a moderation robot. I have no idea who http://lists.bofh.it/listinfo/linux-gate; is and how I get routed through them. Icedove sends messages out via my ISP's SMTP server - maybe it's they who are routing it through this gateway. I'll try changing the outgoing server to google's SMTP if I can, before I post this and see if that works. If it does I'll post again. -- 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/4d5bfc8a$0$17941$a8266...@postbox2.readnews.com
Re: Moderation robot problem - can't post from Thunderbird
On 16/02/11 17:10, Eduardo M KALINOWSKI wrote: On Qua, 16 Fev 2011, Russell Gadd wrote: Thanks for the response. I didn't know I was using a gateway. All I know is that I signed up to Usenet-News.net to be able to access newsgroups and I can download these without problem in Icedove. I signed up via my gmail email service. If I post by sending an email using the web interface of gmail to debian-user@lists.debian.org (such as this message I am now writing) it gets into the newsgroup. If I use the Icedove interface I get this response from a moderation robot. I have no idea who http://lists.bofh.it/listinfo/linux-gate; is and how I get routed through them. debian-user is a mailing list, not a usenet newsgroup. One sends messages o the list's email address, and everybody that is subscribed receives the messages in their email addresses. To where do you send emails that return? There are some gateway services that allows reading via nntp (that is, as if it were a newsgroup). They generally need some special steps for posting, however. Going to the page http://lists.bofh.it/listinfo/linux-gate, it states that After subscribing to this mailing list you will be able to post articles to the linux.* hierarchy moderated newsgroups. So it seems if you subscribe to that list you'll be able to post to debian-user. Icedove sends messages out via my ISP's SMTP server - maybe it's they who are routing it through this gateway. I'll try changing the outgoing server to google's SMTP if I can, before I post this and see if that works. If it does I'll post again. I don't think that will help. But posting directly to debian-user, or subscribing to that list probably will. Altering the outgoing SMTP worked, as you can see since you replied to the message I sent via Icedove. I didn't want to use the linux-gate route as it seemed that this way I would have to sign up for multiple accounts for different groups. And in any case I didn't know anything about them which makes me a little uneasy. The difference between a mailing list and a usenet newsgroup seems to be irrelevant in this context since both types are available from the Usenet-News.net service and I can now reply to messages in either. It seems there aren't any special steps to posting if I use the googlemail SMTP. Thanks for your efforts, your responses have helped me to understand more about this. -- 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/ijh102$ogc$1...@news.eternal-september.org
Moderation robot problem - can't post from Thunderbird
I'm having a problem with the moderation robot. I am a member of this list - joined via googlemail. However I use Thunderbird to view the newsgroup but when I try to use it to reply to a post the robot throws it out as follows: -- linux.debian.user is a moderated newsgroup in gateway with a mailing list. Your article has been examined by the automatic moderation program and has been refused because: this hierarchy accepts posts only from registered users. You can register for posting by subscribing to the linux-g...@lists.bofh.it mailing list. You can do so by sending a message with subscribe in the body at the linux-gate-requ...@lists.bofh.it address or by visiting http://lists.bofh.it/listinfo/linux-gate . For more information about the linux.* hierarchy please read the FAQ at http://www.linux.it/~md/linux-faq Virtually your, The Moderation Robot. --- Follows the first few lines of your article ...etc -- It's inconvenient since I have to go back to the webmail service, find the post and reply there. Not a big deal but annoying. What could I do to get by the robot? -- 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/AANLkTi=mruf7xu25phqwnh6vcrdvnskmo_mzf6c4t...@mail.gmail.com
Relocating Squeeze partition
With Lenny I am able to take an image of a partition with an external imaging tool and rewrite it to a different location on the (first) hard drive. In this configuration I have a proprietary bootloader (BootitNG) in the MBR with Grub in the Lenny partition. My main objective is to clone a new install to run each for distinct purposes which I want to keep entirely separate. After installing Squeeze this does not work. On trying to boot in the new location I just get a black screen with the word GRUB in the top corner. I think the main differences with Lenny are that I have Grub2 instead of Grub, ext4 instead of ext3 and UUIDs instead of /dev/sdxn in fstab. Both systems are AMD64. I don't know where the problem(s) lie. Is it reasonably possible to adjust settings somewhere to accomplish this relocation? If it's not reasonably straightforward I guess I'll just have to reinstall and retweak in the new location. (After relocating I could boot into the original Squeeze system and then mount the new Squeeze root partition in order to make changes.) -- 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/aanlktikwwzuzuxsdd5msmhbtn04qfgg0griaywdfo...@mail.gmail.com
Re: Relocating Squeeze partition
I noticed this in /etc/default/grub: # Uncomment if you don't want GRUB to pass root=UUID=xxx parameter to Linux #GRUB_DISABLE_LINUX_UUID=true Perhaps uncommenting this as well as not using UUIDs in fstab might do it? -- 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/aanlktiki-jz5pm2rbfjbvsschgdsyroms4eug-6bk...@mail.gmail.com
Fwd: Relocating Squeeze partition
On 13 February 2011 10:54, Klistvud quotati...@aliceadsl.fr wrote: With Lenny I am able to take an image of a partition with an external imaging tool and rewrite it to a different location on the (first) hard drive. In this configuration I have a proprietary bootloader (BootitNG) in the MBR with Grub in the Lenny partition. Let me get this straight. You installed Squeeze and then cloned it to another partition? Where does the Lenny partition come in? Sorry, I now see I haven't explained it properly. BootitNG inserts itself in the boot sequence and from its own separate data stored in a small 8MB area of the drive loads the partition table with up to 4 primary partitions of your choice from up to 255 which you can create on the hard drive, and then passes control to the OS (i.e. Grub) in one of the 4 partitions. From that point, the other partitions not in the partition table are treated as just unallocated space which you just have to be careful to avoid trying to use. So my Lenny partition is invisible to the Squeeze system and can be treated as non-existent. So when I boot mySqueeze system I have a partition table with only one entry for that drive (in practice there's another partition containing data which I use for all the systems). Cloning a partition will give you two partitions with identical UUIDs. This will confuse Grub2 to no end. It will also confuse your fstab.Use tune2fs and blkid to set that right. So there aren't 2 identical partitions. However prompted by your suggestion I've done more Google digging and have concluded that the UUID is constructed by an algorithm which uses the position of the partition in the disk (which I haven't actually seen stated anywhere, maybe it's too obvious?). So this would mean that cloning a partition would effectively change the UUID. It looks like this might be my problem as the bit for bit contents of the partition cloned are identical, i.e. the fstab entries would be pointing to an area of the disc which is no longer a partition as defined by the changed partition table. I tried replacing the UUIDs in fstab with /dev/sda1 type entries which got me further: grub2 booted, but then somewhere in its initialisation the OS complained about errors in the filesystems, and threw me out to a command prompt. It seems that Squeeze stores the entries in the partition table somewhere and doesn't expect them to change after a reboot. Or maybe it's using the old UUIDs somewhere else other than fstab. It wasn't a problem with the Lenny system. -- 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/aanlktinounypw2yrfwzqkc1dh0tfqkacpp2ze9687...@mail.gmail.com
Squeeze Beta 2 upgrade
Hopefully a simple question to answer. I installed Squeeze beta 2 AMD64 a few weeks ago and have accepted all updates. If I continue to take the updates will it morph into the release version when that is released or is it advisable to reinstall the final release? -- 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/AANLkTikUFpBz8uuqQEGpma=rddcdgfvp3ye42pkic...@mail.gmail.com
Kernel bug in Squeeze
I have had 2 freezes recently with a kernel bug reported on the screen. One was at the end of shutdown (on a reboot) and the other just now on bootup (not the same reboot). I had a look in syslog for some info but I suspect that the output wasn't able to be added due to the system halting. I don't know if there's any other place the output could have been saved. Also how/where could I report this bug? -- 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/AANLkTi=Tz1groX1=x-rx=qw85qytymnqwz_akjrqk...@mail.gmail.com
Reportbug failure
I'm trying to report a bug in gedit and ran reportbug, opting for the gtk interface. I looked at existing bug reports and none seemed relevant so I proceeded to create one. After inputting the bug title and selecting the severity rating (normal) the application quits. When I look for the report it doesn't exist, so I presume it didn't file a report. In any case I'd have expected a few more questions would have been necessary. I saw this message in Dmesg: reportbug[11151] trap divide error ip:7f8355eedcf0 sp:7f834e960f60 error:0 in libgtk-x11-2.0.so.0.2000.1[7f8355dc1000+415000] Also when first installing and setting up, after its first use, invoked from the command line, after it quit the following was reported on the command line: Default preferences file written. To reconfigure, re-run reportbug with the -- configure option. ** Gdk:ERROR:/scratch/build-area/gtk+2.0-2.20.1/gdk/gdkregion-generic.c:1108:miUnionNonO: assertion failed: (y1 y2) ** Gdk:ERROR:/scratch/build-area/gtk+2.0-2.20.1/gdk/gdkregion-generic.c:1108:miUnionNonO: assertion failed: (y1 y2) Aborted Trying to run it from the gui menus the app fails as above, but I then tried it by invoking it from the command line, which appeared to complete (as far as I know but I haven't used this system before). However searching for the bug in the bug report tracking system I couldn't find it (searched for gedit bugs with the word tab in as my title was fails to use tab preference when loading file ) I then tried to run it again from the command line and got a lot of errors. Each time I run it I get different errors, too numerous to report. Please advise on what to do next. -- 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/aanlkti=vsjuz77-_4urvienypbfoh1gf8eat_lvcw...@mail.gmail.com
Which OS to install?
I would like to compile a GTK+ application from source (hitori-0.2.5) so that I can play with the source code. I followed the instructions up to ./configure which reports missing packages: No package 'glib-2.0' found No package 'gtk+-2.0' found No package 'gmodule-2.0' found No package 'cairo' found This wasn't a surprise although using Synaptic or aptitude I can't find packages with these exact names but there are various libraries, etc. with related names. Trying to install one of these I get unresolved dependencies and a suggestion to check the repositories. It seems I've got a long path ahead of me so I think I should start with a clean system. At present I use Lenny (AMD64) with a couple of backports (maybe they are part of the problem), although I do multiboot several OS's and I can install another easily. So I think I may install another OS just for this project (which will keep my day to day system intact). I'd like to ask for suggestions as to what OS, preferably some flavour of Debian, perhaps the current Squeeze? Any other suggestions gratefully welcomed, particularly where to start reading. -- 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/aanlkti=cawkqm=1u85jh8yo8xlmyt91bajttalwqe...@mail.gmail.com
Fwd: Which OS to install?
On 16 December 2010 08:14, teddi...@tmo.blackberry.net wrote: One thing I may suggest is look into the use of virtual machines for something like this. You can install and run the OS of your choosing in a window ontop of your main system, This has the advantages of sandboxing your experiments, having access to your running and stable normal environment at the same time as experimenting, and save hard disk space in unfilled partitions. It also won't affect your stable installs should something go terribly wrong. Your main disadvantage is your essentially running two OS's at the same time so eats ram resources like crazy, and may not be an effective true test of system intensive programs given the weight of all the extra stuff on the proc. Oricle's Virtual Box is a good simple to use Virtulization software if your interested. Hope it helps; TeddyB I have in mind to look into virtualisation sometime but at present I am up to speed with multibooting. I take snapshots (compressed images) of the partitions so I can recover a borked system easily. I use BootitNG (learnt this when I was only using Windows) and it works very well. When running any OS it can't see the main partitions of the other OS's (they appear as unused disc space). I have a common data partition on which I store the images (amongst other stuff). Also disc space is abundant as I don't have much in the way of music or video. My intention to try virtualisation is more to do with security - running a browser in an effective sandbox. If I use a new OS for my project I can still access the rest of its facilities e.g. use the internet. Switching to using my PC for other purposes does require a reboot but I'm not planning to try to do anything else whilst I'm playing with this project. Also I have a slight concern about how effective the virtualisation sandboxing would be against some flaw in memory management due to errors in my coding changes Anyway thanks for your thoughts, appreciate the ideas. -- 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/aanlktikkvz=qj-6hzy7tdemvriav2u+ghhwfs9peu...@mail.gmail.com
Re: Which OS to install?
On 16 December 2010 08:41, Sven Joachim svenj...@gmx.de wrote: (see above post) Thanks Sven, you have confirmed with useful detail the vague ideas I had. -- 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/aanlkti=4yqrkswbhexgxvdp7gjbzywnzu9=_mhhti...@mail.gmail.com
Re: Which OS to install?
On 16 December 2010 17:53, Bob Proulx b...@proulx.com wrote: snip Hint: APT'S 'build-dep' makes this easy. Since this is already in Squeeze then if you were running squeeze you could install all of the build dependencies for that version by using apt. $ sudo apt-get build-dep hitori Thanks, most useful to know. That will automatically install any build dependencies onto your system that it doesn't otherwise have installed. Then you can build from source normally. And additionally you can rebuild the version from squeeze easily too. $ apt-get source hitori $ cd hitori-0.2.3 $ debuild -uc -us # From the devscripts package. Again, thanks. I've just completed an install of Squeeze now so will try all this. Actually I'm using AMD64 again (same as my Lenny). Thought of using X86 to be safe but I figured that if 64 bit graphics work ok it shouldn't be an issue. Or is this too naive? You might also want to build your own source too but seeing how the Debian maintainer builds it is often useful. Then you can learn from it and apply to your own custom build. Exactly! At present I'm assuming I can just add to the source and keep all else the same, provided I don't add anything materially different in the way it behaves. If all goes well I can then maybe look at building my own. I'm interested in also looking at other 2D Sudoku variants. Hopefully if I can master one type I should have a template for others. My main interest is in the solution algorithms rather than the graphics side, but I'd want to have the ability to modify the presentation and user interaction so I need to understand how this is put together. Russell -- 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/aanlkti=sreemymltpa9zaryvpc5sw2g0+m3uy5q7c...@mail.gmail.com
Lenny backports installation of one package only
I am trying to update my iceweasel via Lenny backports but it wants to also update my gnucash which I don't want. What am I doing wrong? I follow the instructions as follows: Add backports to sources.list (actually added a file to sources.list.d). It shows up in Synaptic repositories so looks ok # aptitude update # aptitude -t lenny-backports install iceweasel Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgtkhtml3.8-15 libgoffice-0-common libgoffice-0-4 libsilc-1.1-2 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: gnucash gnucash-common iceweasel-l10n-en-gb libaqbanking-data libaqbanking29 libaqbanking29-plugins libaqbanking29-plugins-qt libaqhbci17 libaqofxconnect5 libcairo2 libglib2.0-0 libgoffice-0-6 libgoffice-0-6-common libgwenhywfar47 libmozjs2d libnss3-1d libpixman-1-0 libqbanking8 libsqlite3-0 xulrunner-1.9.1 Suggested packages: ttf-lyx latex-xft-fonts xfonts-mathml ttf-mathematica4.1 xprint mozplugger gwenhywfar-tools libgwenhywfar47-dbg libcanberra0 Recommended packages: libglib2.0-data The following NEW packages will be installed libaqbanking29 libaqbanking29-plugins libaqbanking29-plugins-qt libaqhbci17 libaqofxconnect5 libgoffice-0-6 libgoffice-0-6-common libmozjs2d libqbanking8 xulrunner-1.9.1 The following packages will be upgraded: gnucash gnucash-common iceweasel iceweasel-l10n-en-gb libaqbanking-data libcairo2 libglib2.0-0 libgwenhywfar47 libnss3-1d libpixman-1-0 libsqlite3-0 11 upgraded, 10 newly installed, 0 to remove and 102 not upgraded. Need to get 27.8MB of archives. After this operation, 41.1MB of additional disk space will be used. Do you want to continue [Y/n]? n Abort. Suggestions gratefully received
Re: Lenny backports installation of one package only
Thanks Bob. I'm having some trouble with parts of your response as follows: What is in your /etc/apt/preferences file? I don't have such a file in /etc/apt What is the relative versions shown here: $ apt-cache policy gnucash # apt-cache policy gnucash gnucash: Installed: 2.2.6-2 Candidate: 2.2.6-2 Version table: 2.2.9-7~bpo50+1 0 1 http://backports.debian.org lenny-backports/main Packages *** 2.2.6-2 0 500 http://ftp.uk.debian.org lenny/main Packages 100 /var/lib/dpkg/status Because backports is set up with a repository pinning of NotAutomatic: yes in the Release file it shouldn't be wanting to upgrade your existing packages automatically. Here is a reference. What reference? Personally I set up /etc/apt/preferences as specified. http://backports.debian.org/Instructions/#index3h2 I can't see any reference to preferences in this site (sorry if I'm missing something obvious) But if gnucash is newer than Lenny but older than backports then it will fall into the case where it will want to upgrade to the newer version in backports. Sorry don't understand this. Please bear with my ignorance and thanks for the help. Russell
Re: Lenny backports installation of one package only
What reference? This reference. The reference I included. http://backports.debian.org/Instructions/#index3h2 Ok I didn't associate this part with what I was trying to do. I would try first one then the other: 1. Use Roman Khomasuridze's suggestion: if you want to upgrade only iceweasel, then run apt-get install iceweasel/lenny-backports by this, apt will try to install iceweasel from backports but will try to match its dependencies from lenny. it worked for me... 2. Install the /etc/apt/preferences file as recommended. That will change the pinning rules. Bob Doing some further investigation it looks like it may be unsafe to install a later version of iceweasel as it seems to require a later version of a package which then breaks the older gnucash: I looked at the man page for apt_preferences then added the following as a preferences file: Package: gnucash Pin: version 2.2.6-2 Pin-Priority: 1001 The idea is to keep gnucash at this version. then # aptitude -t lenny-backports install iceweasel Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages are BROKEN: iceweasel-l10n-en-gb xulrunner-1.9.1 The following NEW packages will be installed: libmozjs2d{a} The following packages will be upgraded: iceweasel libcairo2 libglib2.0-0 libnss3-1d libpixman-1-0 libsqlite3-0 The following packages are RECOMMENDED but will NOT be installed: libglib2.0-data 6 packages upgraded, 2 newly installed, 0 to remove and 106 not upgraded. Need to get 13.2MB of archives. After unpacking 28.0MB will be used. The following packages have unmet dependencies: xulrunner-1.9.1: Breaks: gnucash ( 2.2.9-7~) but 2.2.6-2 is installed. iceweasel-l10n-en-gb: Depends: iceweasel (= 3.1) but 3.5.12-2~bpo50+1 is to be installed. The following actions will resolve these dependencies: Remove the following packages: gnucash Upgrade the following packages: iceweasel-l10n-en-gb [1:3.0.6+debian-1 (stable, now) - 1:3.5.11+debian-1~bpo50+1 (lenny-backports)] Leave the following dependencies unresolved: gnucash-common recommends gnucash (= 2.2.6-2) Score is -11 Accept this solution? [Y/n/q/?] q Abandoning all efforts to resolve these dependencies. Abort. It looks like I need to review my decision not to upgrade gnucash. I didn't want to mess with this for various reasons (partly because I have a separate system which I use only for internet banking and I'd have to then add backports to this also. I suppose if it works ok this wouldn't be an issue. However I don't want to find out down the line that something fails and I have updated gnucash accounts using a version I can't continue with.) Maybe I'll try Roman's suggestion.
Re: Vfat or NTFS?
Thanks for all the responses. I'd like to leave Windows alone, therefore using NTFS has attractions over trying to use ext2. I think I'll try using it in place of FAT32 / VFAT in Linux using ntfs-3g and see how it goes. I'm using Debian Lenny 64 bit on a quad core processor so I'm hoping that performance won't an issue.
Vfat or NTFS?
I've been using Vfat for data partitions which I can access from both Linux and Windows (multibooted). Recently I added another hard drive formatted NTFS and have had no trouble getting Lenny to use it. I am wondering now whether to convert my Vfat partitions to NTFS as there are some advantages. For example I recently forgot about the 4GB file restriction of Vfat when trying to download a DVD iso - it got to 4GB then gave up so I had to redownload again to the NTFS volume. I suspect NTFS is more reliable at least in Windows. Are there any potential issues in Linux - e.g. reliability / speed. Should I go NTFS now for my data files? (keeping the main Lenny root filesystem on an ext3 partition).
update issue when /tmp is noexec
For some time now, in order to add a bit of security I have made /tmp noexec. However I noticed recently looking at the messages scrolling up the screen that some update configuration scripts were failing as they were trying to be executed in /tmp. After googling I found this article: http://www.debian-administration.org/articles/57 Which said to fix this do the following: Add the following to the file /etc/apt/apt.conf: DPkg::Pre-Invoke{mount -o remount,exec /tmp;}; DPkg::Post-Invoke {mount -o remount /tmp;}; This contains two lines, one running before any packing installation and one afterwards. They merely execute the commands required to add and remove the execute permissions on the /tmp Unfortunately this article was written in 2004, and it seems that there's no longer a file /etc/apt/apt.conf How could I amend the configuration of apt to fix this? Alternatively, as a workaround I thought of writing a script along the lines of: mount -o remount,exec /tmp aptitude update aptitude safe-upgrade mount -o remount /tmp If I run this script as root, instead of letting the update manager do the work, would it do the upgrade properly? (Running Lenny) I also wonder whether the updates I have done which have not allowed scripts to run in /tmp have somehow compromised my system and if so would appreciate any advice as to how to correct this.
Re: update issue when /tmp is noexec
Thanks Boyd. I've created a file as you suggest. Is there anywhere I can inspect the messages that are generated during an update? I've looked in /var/log and couldn't find anything there, although I may have missed it. It would be nice to see this now working. Can you answer the other question I asked: is my system likely to need some attention due to not having allowed scripts to execute in /tmp since I installed Lenny? If so what do I need to do (apart from reinstalling from scratch)? Russell 2009/6/3 Boyd Stephen Smith Jr. b...@iguanasuicide.net In 779b039a0906030932kd76aed9n8692ec6aaef88...@mail.gmail.com, Russell Gadd wrote: For some time now, in order to add a bit of security I have made /tmp noexec. However I noticed recently looking at the messages scrolling up the screen that some update configuration scripts were failing as they were trying to be executed in /tmp. After googling I found this article: http://www.debian-administration.org/articles/57 Which said to fix this do the following: Add the following to the file /etc/apt/apt.conf: DPkg::Pre-Invoke{mount -o remount,exec /tmp;}; DPkg::Post-Invoke {mount -o remount /tmp;}; Unfortunately this article was written in 2004, and it seems that there's no longer a file /etc/apt/apt.conf Create a file under the /etc/apt/apt.conf.d directory. Similar to sources.list, apt.conf can be broken into a base file /etc/apt/apt.conf and supplementary files in /etc/apt/apt.conf.d; unlike sources.list, this is the default for apt.conf. That's what the first paragraph of 'man 5 apt.conf' is trying to say. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/\_/
Re: update issue when /tmp is noexec
I had to look up the meaning of idempotent, a most apt word if I may say so (pun not really intended but serendipitous anyway!). Your answers are very full and much appreciated. You can find preinst/postinst and other package tracking stuff under /var/lib/dpkg/info. I had one look at this directory and gave up the idea of trying to run these scripts, I think I'd be out of my depth. Reinstallation would be easier for me. However I don't have any reason to believe my system is faulty through a failure in updates so for the present I'll choose to be comforted by your belief that it hasn't caused any problems. Thanks again for your help. Russell
Ton of Lenny updates
There are 59 updates waiting for me to install. I never had this many when I ran Etch for a couple of years, is something odd happening?
Re: usb discovery fails on initial boot
Florian Kulzer wrote: snip It would be interesting to see if the system recognizes the first USB stick when you remove it and plug it in again. You should run tail -fn0 /var/log/syslog before you unplug it, then plug it in again and wait for at least thirty seconds. (Press CTRL-C to end the syslog watch.) Post the output that you get, it might help to see how the system reacts to the unplug and to the replug event. Looking at the syslog when plugging and unplugging was most interesting. It seems the stick or the ports have a connection problem. My PC has 2 USB ports on the front and 4 on the back. I was using a rear port for the permanently plugged in stick as the front ports are more exposed to accidentally knocking. When I plugged it into the front the USB was set up ok but in the back ports I got a series of error messages similar to the ones in the bootup syslog. One line read: Nov 16 19:59:50 localhost kernel: hub 5-0:1.0: Cannot enable port 4. Maybe the USB cable is bad? When I tried a different stick in the back the stick worked ok. However the faulty stick worked ok in the front ports, so this stick and the rear ports don't get on too well. I'm sure this solves my problem - I'll start by getting a new stick for the back and hope it connects ok (the different one I tried is not mine). Thanks for all your help in tracking this down. It's a bit odd that the faulty stick didn't work in ANY of the rear 4 slots but did in the front, whereas a different stick did work ok in the rear. Still not something I'm going to spend much time on figuring out. Again many thanks Florian. Best regards Russell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: usb discovery fails on initial boot
I ran this command : # udevtrigger --verbose --subsystem-match=block --attr-match=removable=1 Output was: /block/fd0 /block/hdc /block/hdd These are my floppy drive and my CD and DVD drives. To check if I have and /dev/sd* devices I ran ls -l /dev |grep sd which I presume would do it - it produced no output I also just looked at the output of ls -l /dev which had no sd* devices but it did have some usb entries (not sure if this is of relevance?) orac:/# ls -l /dev |grep usb crw-rw 1 root root442,0 2008-11-14 17:45 usbdev1.1_ep00 crw-rw 1 root root442,0 2008-11-14 17:45 usbdev1.1_ep81 crw-rw 1 root root442, 2048 2008-11-14 17:45 usbdev2.1_ep00 crw-rw 1 root root442, 2048 2008-11-14 17:45 usbdev2.1_ep81 crw-rw 1 root root442, 4096 2008-11-14 17:45 usbdev3.1_ep00 crw-rw 1 root root442, 4096 2008-11-14 17:45 usbdev3.1_ep81 crw-rw 1 root root442, 6144 2008-11-14 17:45 usbdev4.1_ep00 crw-rw 1 root root442, 6144 2008-11-14 17:45 usbdev4.1_ep81 crw-rw 1 root root442, 8192 2008-11-14 17:45 usbdev5.1_ep00 crw-rw 1 root root442, 8192 2008-11-14 17:45 usbdev5.1_ep81 orac:/# I then decided to plug in another USB stick in another USB slot and reran these commands, in case this tells you something. orac:/# ls -l /dev |grep sd brw-rw 1 root floppy8,0 2008-11-14 18:37 sda brw-rw 1 root floppy8,1 2008-11-14 18:37 sda1 orac:/# ls -l /dev |grep usb crw-rw 1 root root442,0 2008-11-14 17:45 usbdev1.1_ep00 crw-rw 1 root root442,0 2008-11-14 17:45 usbdev1.1_ep81 crw-rw 1 root root442, 2048 2008-11-14 17:45 usbdev2.1_ep00 crw-rw 1 root root442, 2048 2008-11-14 17:45 usbdev2.1_ep81 crw-rw 1 root root442, 4096 2008-11-14 17:45 usbdev3.1_ep00 crw-rw 1 root root442, 4096 2008-11-14 17:45 usbdev3.1_ep81 crw-rw 1 root root442, 6144 2008-11-14 17:45 usbdev4.1_ep00 crw-rw 1 root root442, 6144 2008-11-14 17:45 usbdev4.1_ep81 crw-rw 1 root root442, 8192 2008-11-14 17:45 usbdev5.1_ep00 crw-rw 1 root root442, 8192 2008-11-14 17:45 usbdev5.1_ep81 crw-rw 1 root root442, 8223 2008-11-14 18:37 usbdev5.32_ep00 crw-rw 1 root root442, 8223 2008-11-14 18:37 usbdev5.32_ep02 crw-rw 1 root root442, 8223 2008-11-14 18:37 usbdev5.32_ep81 orac:/# umounting this second stick produced the original output Russell (still haven't found the way to reply to your post via Thunderbird so I have emailed to the list - I'll post separately on this issue)
Re: usb discovery fails on initial boot
Florian Kulzer wrote: snip The first thing we need to know is if the device node(s) for the USB stick are created reliably. When you have a first boot and the icon does not show up, please run ls -l /dev/disk/by-path/ | grep usb and post the output here (or let us know if there is no output). Thanks Florian. This command produced no output Russell (I realise I've already posted this reply, but it didn't come out as a response to your post - I'm currently trying to work out exactly if it possible, and how to, use Thunderbird to post to usenet) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: usb discovery fails on initial boot
Florian Kulzer wrote: snip The first thing we need to know is if the device node(s) for the USB stick are created reliably. When you have a first boot and the icon does not show up, please run ls -l /dev/disk/by-path/ | grep usb and post the output here (or let us know if there is no output). Thanks Florian. This command produced no output Russell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
usb discovery fails on initial boot
I have a bootup problem with a USB stick I have a USB stick which is permanently plugged in (for backup purposes). When the PC first boots the stick is never discovered, but if I wait a few minutes and reboot, it generally gets discovered and mounted with an icon on the desktop. I'm using Etch. I'd either like to find a fix for this so that the bootup process finds the stick on first boot, or failing that, to run some program to recognise the stick without having to reboot. Russell = In the hope that this might help I've tried to pull out relevant lines from syslog (grepping usb, ehci, uhci) which are as follows on first boot when the stick fails to be discovered: Nov 8 14:22:07 localhost kernel: usbcore: registered new driver usbfs Nov 8 14:22:07 localhost kernel: usbcore: registered new driver hub Nov 8 14:22:07 localhost kernel: USB Universal Host Controller Interface driver v3.0 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.0: new USB bus registered, assigned bus number 1 Nov 8 14:22:07 localhost kernel: usb usb1: configuration #1 chosen from 1 choice Nov 8 14:22:07 localhost kernel: hub 1-0:1.0: USB hub found Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.1: new USB bus registered, assigned bus number 2 Nov 8 14:22:07 localhost kernel: usb usb2: configuration #1 chosen from 1 choice Nov 8 14:22:07 localhost kernel: hub 2-0:1.0: USB hub found Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.2: new USB bus registered, assigned bus number 3 Nov 8 14:22:07 localhost kernel: usb usb3: configuration #1 chosen from 1 choice Nov 8 14:22:07 localhost kernel: hub 3-0:1.0: USB hub found Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.3: new USB bus registered, assigned bus number 4 Nov 8 14:22:07 localhost kernel: usb usb4: configuration #1 chosen from 1 choice Nov 8 14:22:07 localhost kernel: hub 4-0:1.0: USB hub found Nov 8 14:22:07 localhost kernel: usb 1-2: new full speed USB device using uhci_hcd and address 2 Nov 8 14:22:07 localhost kernel: ehci_hcd :00:1d.7: new USB bus registered, assigned bus number 5 Nov 8 14:22:07 localhost kernel: ehci_hcd :00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 Nov 8 14:22:07 localhost kernel: usb usb5: configuration #1 chosen from 1 choice Nov 8 14:22:07 localhost kernel: hub 5-0:1.0: USB hub found Nov 8 14:22:07 localhost kernel: usb 1-2: device not accepting address 2, error -71 Nov 8 14:22:07 localhost kernel: usb 5-2: new high speed USB device using ehci_hcd and address 2 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.0: UHCI Host Controller Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.0: new USB bus registered, assigned bus number 1 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.0: irq 169, io base 0xef00 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.1: UHCI Host Controller Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.1: new USB bus registered, assigned bus number 2 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.1: irq 177, io base 0xef20 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.2: UHCI Host Controller Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.2: new USB bus registered, assigned bus number 3 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.2: irq 185, io base 0xef40 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.3: UHCI Host Controller Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.3: new USB bus registered, assigned bus number 4 Nov 8 14:22:07 localhost kernel: uhci_hcd :00:1d.3: irq 169, io base 0xef80 Nov 8 14:22:07 localhost kernel: usb 1-2: new full speed USB device using uhci_hcd and address 2 Nov 8 14:22:07 localhost kernel: ehci_hcd :00:1d.7: EHCI Host Controller Nov 8 14:22:07 localhost kernel: ehci_hcd :00:1d.7: new USB bus registered, assigned bus number 5 Nov 8 14:22:07 localhost kernel: ehci_hcd :00:1d.7: debug port 1 Nov 8 14:22:07 localhost kernel: ehci_hcd :00:1d.7: irq 201, io mem 0xfebffc00 Nov 8 14:22:07 localhost kernel: ehci_hcd :00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 Nov 8 14:22:07 localhost kernel: usb 5-2: new high speed USB device using ehci_hcd and address 2
usb not found on initial boot
I have a bootup problem with a USB stick I have a USB stick which is permanently plugged in (for backup purposes). When the PC first boots the stick is never discovered, but if I wait a few minutes and reboot, it generally gets discovered and mounted with an icon on the desktop. I'm using Etch. I'd either like to find a fix for this so that the bootup process finds the stick on first boot, or failing that, to run some program to recognise the stick without having to reboot. Russell = I've tried to pull out relevant lines from syslog (grepping usb, ehci, uhci) which are as follows on first boot when the stick fails to be discovered: May 12 22:08:18 orac kernel: ehci_hcd :00:1d.7: debug port 1 May 12 22:08:18 orac kernel: ehci_hcd :00:1d.7: EHCI Host Controller May 12 22:08:18 orac kernel: ehci_hcd :00:1d.7: irq 193, io mem 0xfebffc00 May 12 22:08:18 orac kernel: ehci_hcd :00:1d.7: new USB bus registered, assigned bus number 5 May 12 22:08:18 orac kernel: ehci_hcd :00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 May 12 22:08:18 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 11 May 12 22:08:18 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 16 May 12 22:08:18 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 24 May 12 22:08:18 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 31 May 12 22:08:18 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 7 May 12 22:08:18 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 8 May 12 22:08:18 orac kernel: usb usb4: configuration #1 chosen from 1 choice May 12 22:08:18 orac kernel: usb usb5: configuration #1 chosen from 1 choice May 12 22:08:21 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 50 May 12 22:08:31 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 87 May 12 22:08:33 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 95 May 12 22:08:34 orac kernel: ehci_hcd :00:1d.7: port 4 reset error -110 May 12 22:08:34 orac kernel: hub 5-0:1.0: hub_port_status failed (err = -32) May 12 22:08:34 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 97 May 12 22:08:36 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 101 May 12 22:08:39 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 115 May 12 22:08:44 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 5 May 12 22:08:44 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 6 May 12 22:08:47 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 16 May 12 22:08:49 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 21 May 12 22:08:50 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 26 May 12 22:08:53 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 38 May 12 22:08:58 orac kernel: ehci_hcd :00:1d.7: port 4 reset error -110 May 12 22:08:58 orac kernel: hub 5-0:1.0: hub_port_status failed (err = -32) May 12 22:08:58 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 54 May 12 22:09:02 orac kernel: ehci_hcd :00:1d.7: port 4 reset error -110 May 12 22:09:02 orac kernel: hub 5-0:1.0: hub_port_status failed (err = -32) May 12 22:09:02 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 68 May 12 22:09:05 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 78 May 12 22:09:06 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 82 May 12 22:09:08 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 88 May 12 22:09:09 orac kernel: ehci_hcd :00:1d.7: port 4 reset error -110 May 12 22:09:09 orac kernel: hub 5-0:1.0: hub_port_status failed (err = -32) May 12 22:09:09 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 91 May 12 22:09:11 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 94 May 12 22:09:12 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 98 May 12 22:09:13 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 103 May 12 22:09:16 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 113 May 12 22:09:18 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 121 May 12 22:09:19 orac kernel: ehci_hcd :00:1d.7: port 4 reset error -110 May 12 22:09:19 orac kernel: hub 5-0:1.0: hub_port_status failed (err = -32) May 12 22:09:21 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 126 May 12 22:09:23 orac kernel: usb 5-4: new high speed USB device using ehci_hcd and address 7 May 12 22:09:25 orac kernel:
Octal permissions display in Nautilus
Minor question: in Gnome's file browser Nautilus, if you select the list view and add Octal Permissions to the columns displayed you get results such as 1600744 for permissions -rwxr--r--. I understand why this should be 744 but what does the 1600 mean? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Virtualbox problem - Debian kernel header version?
I'm trying to install Virtualbox Guest addtions and at one point the recommended install procedure says do aptitude install build-essential kernel-header-`uname -r` The kernel-header bit comes out as kernel-header-2.6.18-6-686 Aptitude reports could'nt find any package whose name or description matched kernel-header-2.6.18-6-686 When I go into aptitude and search for kernel-header the package I find is linux-kernel-headers with a version number of 2.6.18-7 (which is installed) I find the 7 a bit confusing as the installed kernel is 2.6.18-6 which is the one on the latest r3 release iso. The guest additions install routine (sh /media/cdrom0/VBoxLinuxAdditions.run all) stalls with: Please install the build and header files for your current Linux kernel. The current version is 2.6.16-6-686 I'm not sure if Virtualbox stalls on the version number or the fact that it can't find any kernel headers. Has anyone come across this problem? (If not maybe I should try the Virtualbox forums, but I thought that a Debian specific answer would be more likely from this forum) Russell
Re: Virtualbox problem - Debian kernel header version?
Andrew Sackville-West wrote: On Thu, Mar 20, 2008 at 05:44:44PM +, Russell Gadd wrote: I'm trying to install Virtualbox Guest addtions and at one point the recommended install procedure says do aptitude install build-essential kernel-header-`uname -r` The kernel-header bit comes out as kernel-header-2.6.18-6-686 Aptitude reports could'nt find any package whose name or description matched kernel-header-2.6.18-6-686 When I go into aptitude and search for kernel-header the package I find is linux-kernel-headers with a version number of 2.6.18-7 (which is installed) I find the 7 a bit confusing as the installed kernel is 2.6.18-6 which is the one on the latest r3 release iso. I know naught of Virtualbox, but I think the package you probably want is 'linux-headers-2.6-686', the meta-package that depends on the latest kernel headers for 686 architecture, *or* you could install the latest directly with 'linux-headers-2.6.18-6-686' A As always, great help from you Andrew. I installed linux-headers-2.6.18-6-686 with aptitude and the installation worked. Maybe if I'd searched in aptitude for headers instead of kernel-headers I would have found it before. Gradually I'm learning more about Debian. Thanks again - much appreciated. Russell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: TrueCrypt install on Debian v4.3 or v5?
Brian McKee wrote: On 18-Mar-08, at 12:52 PM, Russell Gadd wrote: Alternatively is anyone using version 5 happily without suffering negative experience as mentioned in some places, e.g. Truecrypt 5.1 - How I loathe thee http://forums.truecrypt.org/viewtopic.php?t=10025 One user suggests he will return in a year's time. I don't want to wait that long for a usable version. I tried to follow that link From their website Please note that as you are not logged in, you can search only publicly accessible forums (for example, you cannot search the Problems forum). To search all available forums, you need to log in. Hi Brian, In case you are interested I copied the text from this link below. Russell How I loathe thee - posted by trueg === Before I begin my review of Truecrypt 5.1, You should know that I am not new to encryption. I have been using truecrypt 4.3 first on windows and then on linux with good results. Everything I do on this machine is automatically encrypted after login. While truecrypt without a gui was difficult to use at first, as I learned the commands it actually became easier and more efficient to use. Always, I found it to be fast, responsive and seamless. Today, I installed truecrypt 5.1 on an older machine, to test it out. The experience has been so unforgivably horrible, that I have had to revert to 4.3 just to accomplish the most basic of tasks. I found myself writing a list of everything wrong with this version so as not to forget something. As a linux user, there is a lot to find attractive in version 5. For example, Mounted volumes appear in the side pane of Nautilus. The graphical user interface has been ported from windows. When selecting a drive to encrypt, the GUI will list the size of each partition preventing the horrible of mistake of typing /dev/sdb instead of /dev/sdc. However, if you don't want to use the GUI you will have to type truecrypt -t before every command. This quickly gets tiresome. If I wanted to launch the GUI, I wouldn't have typed $truecrypt in the command line, would I. This became so tiresome that I was forced to create a wrapper to prevent the damned little GUI windows from launching every time I did anything in the command line. If you are confused about any of the new features in truecrypt, don't expect to go to the man pages. What once existed in truecrypt 4.3 seems to have been erased. The 'Help' function doesn't work either. Other annoyances to add to the list: 1. The icon for truecrypt that appears in the sytem tray, disappears the moment you close the program. 2. Double clicking on a drive is supposed to open a file explorer window of the drive. It doesn't even fail, it just sits there doing nothing. 3. $truecrypt -d # doesn't appear to work anymore. 4. Even in text mode, you will have to dismiss more questions to accomplish basic tasks. 5. I couldn't mount unformatted volumes from the command line. (more on this in a bit) These annoyances are not the worst of it. The structure of truecrypt has been so fundamentally altered that I couldn't even do a relatively simple task: create an XFS encrypted volume on an external drive. After creating the encrypted volume, I attempted to load it so I could make the XFS filesystem. ( Why truecrypt can't give me this option when I first created the volume is a mystery to me. only the FAT filesystem is available) After typing in my long password, truecrypt refused to let me load it because the partition had no filesystem. Of course it doesn't! I haven't formatted it yet! Instead of letting me mount it anyway I had to type in the entire password again, but this time click the button more options and select do not mount. Grr. I opened Gparted, my favorite disk formatting utility, but it seems truecrypt has changed the way it works. Instead of mount volumes on /dev/truecrypt? It now mounts them on /dev/loop? This means that truecrypt volumes don't show up in Gparted anymore. It also destroys all old scripts that I had built to work with truecrypt. Okay, I thought, I'll just have to use the command line $mkfs -t xfs /dev/loop? This work for the first few innodes, but then stalled on 28/1100. Stalled is to weak a word, it completely FROZE the entire computer forcing me to do a hard reboot. Regardless, I pressed on. I created the XFS filesystem using a different computer that still had the GOOD truecrypt installed. Then, I mounted the volume with BAD truecrypt and attempted to copy some files. It was 60 MiB in when it completely FROZE the computer once again. I watched as the time remaining counter started count up. The message box was saying 400 HOURS estimated before I had enough and did a hard reboot again. It's as if the entire driver has been rewritten and the result is EPIC FAIL. This reminds me of the problems experienced by Windows Vista users. By this point, I had had enough. I reinstalled truecrypt 4.3
TrueCrypt install on Debian v4.3 or v5?
I would like to install Truecrypt on Debian Etch. According to recent posts I have read (see below) there are problems with the new version 5 which means I would like to install version 4.3a. which I am sure will do all I need. However Debian is not one of their supported distros. First problem is I can't find the source to 4.3 on their website. They have a section for downloading previous versions, but the source doesn't seem to be there. There is a Ubuntu deb package which appears to be a compiled version. Alternatively is anyone using version 5 happily without suffering negative experience as mentioned in some places, e.g. Truecrypt 5.1 - How I loathe thee http://forums.truecrypt.org/viewtopic.php?t=10025 One user suggests he will return in a year's time. I don't want to wait that long for a usable version. I found a guide to installing v5 on Etch here http://forums.truecrypt.org/viewtopic.php?p=40855#40855 but haven't found a guide for v4.3 (probably because my search produced too many hits for me to wade through). Any help / opinions on how I should proceed would be welcome. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Rename partition in Nautilus Tree
Raj Kiran Grandhi wrote: Russell Gadd wrote: I'd like to be able to customise the contents of the left pane of Nautilus file manager either in Tree or Places view. I have 2 hard drives and each has 4 primary partitions. Each of the data partitions shows up as a root in this tree view even though it is mounted under a directory name in the File System. I'd like to do either of 2 things if possible: 1. Remove a partition from this view 2. If not 1 then can I rename a partition ? - for example due to the way the system was initially set up one partition shows as Linux. This is mounted under directory docs. It shows as Linux in the tree but I want it to be called docs. If I right click this item and choose Properties the panel title is docs Properties and the Basic tab shows Name: docs, Type folder, Location: /, Volume: Linux. So the item in the tree/ places seems to be the Volume name. But I can't find where this is stored - it's not in /etc/fstab. Can I rename this somewhere? tune2fs -L new volume label /path/to/partition (I realise this may be a Gnome question rather than Debian - If there's a better list to post this on please let me know) Russell Hi Raj Thanks for this. It didn't seem to work until I shut down X and restarted. Also it complained about the last bit being a path so I used a device name (I guess this is what you meant rather than the filesystem mount point which I used at first) tune2fs -L docs /dev/hdb3 Regards Russell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Rename partition in Nautilus Tree
I'd like to be able to customise the contents of the left pane of Nautilus file manager either in Tree or Places view. I have 2 hard drives and each has 4 primary partitions. Each of the data partitions shows up as a root in this tree view even though it is mounted under a directory name in the File System. I'd like to do either of 2 things if possible: 1. Remove a partition from this view 2. If not 1 then can I rename a partition ? - for example due to the way the system was initially set up one partition shows as Linux. This is mounted under directory docs. It shows as Linux in the tree but I want it to be called docs. If I right click this item and choose Properties the panel title is docs Properties and the Basic tab shows Name: docs, Type folder, Location: /, Volume: Linux. So the item in the tree/ places seems to be the Volume name. But I can't find where this is stored - it's not in /etc/fstab. Can I rename this somewhere? (I realise this may be a Gnome question rather than Debian - If there's a better list to post this on please let me know) Russell