Re: Live Squeeze system: ConsoleKit does not see serial console as active, cannot mount with udisk

2012-04-09 Thread Jason Heeris
On 5 April 2012 21:08, Tom H wrote: > Re "pkexec true": Is your user a member of the sudo group? sudo group > members can use pkexec via > "/etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf". If you > don't want that user in the sudo group, you can create a conf file in > "/etc/polkit-1/loca

Re: Live Squeeze system: ConsoleKit does not see serial console as active, cannot mount with udisk

2012-04-09 Thread Jason Heeris
On 5 April 2012 16:52, Andrei POPESCU wrote: > Maybe libpam-ck-connector helps? Alas no :/ — Jason -- 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/CA+Zd3FcaDWYQBnVii3

Live Squeeze system: ConsoleKit does not see serial console as active, cannot mount with udisk

2012-04-04 Thread Jason Heeris
I'm building a Debian Squeeze system with live-builder 3.0~a45 (from Ubuntu 11.10). I'm running into a problem where I can't use udisk to mount devices using a serial console on the live system (perhaps due to problems with consolekit or policykit). Sorry for the cross-post - I've already asked abo

Re: using bittorrent for backup of personal files

2012-03-08 Thread Jason Heeris
On 9 March 2012 07:46, Rob Owens wrote: > 1)  It typically maxes out my internet connection.  Plain old rsync > would do this too, unless there is a throttling option that I don't know > about.  Rtorrent, which I use, has a throttling option. Slightly tangential, but do you know about "trickle"?

Re: What's clobbering /etc/network/interfaces?

2012-03-07 Thread Jason Heeris
On 8 March 2012 02:22, Camaleón wrote: > @Jason: So it finally was a boot parameter ("nonetworking") you had to > use to avoid the networking being overwritten on every boot? That sounds > a similar approach to what "aptosid" uses :-) Yes, "nonetworking" or "ip=frommedia" if you need the initial

Re: What's clobbering /etc/network/interfaces?

2012-03-07 Thread Jason Heeris
On 7 March 2012 19:54, Camaleón wrote: > Okay. Then the next logical step would be booting with no network > connections attached (unplugged ethernet cable and wifi switch turned > off), make your desired editions to "/etc/network/interfaces" file, > reboot and see if the manually changes persist.

Re: What's clobbering /etc/network/interfaces?

2012-03-06 Thread Jason Heeris
On 7 March 2012 01:55, Camaleón wrote: > In addition to having a separate fat partition to store the data I wanted > to keep between reboots, I had to manually enable a "persist" mode at > GRUB's menu to keep some system settings (such as network and X Yes, there's a "persistent" option you need

Re: Persisting a one-off hostname change

2012-03-05 Thread Jason Heeris
If you're wondering, the way I did it was to change /etc/init.d/hostname.sh to include: PATH=/sbin:/bin:/usr/bin:/usr/local/bin ... do_start () { if [ -z "${HOSTNAME}" ]; then MAC_MAGIC="$(macstr | sed 's/://g' | cksum | cut -d ' ' -f 1 | xargs printf '%08X')"

Re: What's clobbering /etc/network/interfaces?

2012-03-05 Thread Jason Heeris
On 5 March 2012 17:52, Bob Proulx wrote: > I think you should ask on debian-live mailing list because there isn't > anything that will be modifying /etc/network/interfaces on reboot.  :-) Fair enough! >> dhcp3-server > > dhcp3-server?  Did you mean isc-dhcp-client? Definitely the server, but ye

What's clobbering /etc/network/interfaces?

2012-03-05 Thread Jason Heeris
I have a Wheezy live system, built with live-build, with persistence to a COW live-rw partition enabled. I'm sure that persistence is working, because when I write a test file to /etc, it's there on subsequent boots. Hence, I don't think this is an issue specific to the live nature of the system, b

Re: How do I debug kernel panic that occurs while running X?

2012-03-04 Thread Jason Heeris
On 4 March 2012 01:28, Brendon Higgins wrote: > Any more ideas? As I said, I tried getting kdump working but have been having > trouble getting it to behave. One more thought, but it's a bit of a long shot as to whether you have the equipment. The most watertight way I know of to capture kernel o

Re: How do I debug kernel panic that occurs while running X?

2012-03-01 Thread Jason Heeris
On 2 March 2012 12:50, Charles Krinke wrote: > So, one should be able to tail /var/log messages and see what the kernel did > at the time of the freeze. I've had problems with write caching causing the last few messages to be lost after a panic*, so if you don't see anything suspicious, maybe tur

Re: Print a message to all terminals at boot

2012-02-29 Thread Jason Heeris
On 1 March 2012 14:26, Jason Heeris wrote: > Incidentally, it contains escape sequences ( \n \l ) at the end. Are > they for use with "echo -e" or something else entirely? Ah, just found the answer to this in "man issue" — they're escape sequences for getty (or

Re: Print a message to all terminals at boot

2012-02-29 Thread Jason Heeris
On 1 March 2012 14:22, Bob Proulx wrote: >> If it's static, you can add it to "/etc/issue". > > Or if the process can update /etc/issue before getty can display it. rc.local appears to run before the contents of /etc/issue is displayed... is that guaranteed (in squeeze), or just coincidental on m

Print a message to all terminals at boot

2012-02-29 Thread Jason Heeris
I have a Debian Squeeze system that exposes a terminal on the serial line (ttyS0) and the usual tty ones. I would like to print a message at the very end of the boot sequence, but before any user logs in (the message is a diagnostic that may affect whether the user logs in at all). If I put, say,

Re: Persisting a one-off hostname change

2012-02-27 Thread Jason Heeris
On 28 February 2012 13:40, Tom H wrote: > Everywhere that I've worked the hostnames have had something to > indicate its purpose and its location. I don't think this reasoning can be applied here though. There will be dozens of identical devices plugged into the network, and hundreds in total (bu

Re: Persisting a one-off hostname change

2012-02-27 Thread Jason Heeris
On 28 February 2012 09:21, Paul E Condon wrote: > I didn't intend that the two steps be separated by some manual > process. I worry that when you start implementing the system you might > find that the total fix cannot actually be done at one point during > the boot process. Nope it works! ifconf

Re: Persisting a one-off hostname change

2012-02-27 Thread Jason Heeris
On 28 February 2012 03:28, Paul E Condon wrote: > I've been lurking, hoping to learn. Maybe I don't fully understand, but --- > Wouldn't you be better off using the MAC address of the interface chip in > each computer > rather than a random number. The MAC address is supposed to be unique. I know

Re: Persisting a one-off hostname change

2012-02-27 Thread Jason Heeris
On 28 February 2012 00:27, Tom H wrote: > Thanks for the explanation. It's a good plan but I think that you > name'll be invoked in some non-flattering contexts once this is > implemented... :) How would you approach it? > "cp /etc/rc.local /etc/rc.local.final" and "vi /etc/rc.local" to add > yo

Re: Persisting a one-off hostname change

2012-02-27 Thread Jason Heeris
On 27 February 2012 20:50, Tom H wrote: > Aren't your users going to hate the random names? They won't be end users, but production staff. (I can certainly see how you'd be sceptical of doing this for some poor end user...) There will be multiple devices being built in a workshop, and they'll nee

Re: Persisting a one-off hostname change

2012-02-27 Thread Jason Heeris
On 27 February 2012 17:05, Bob Proulx wrote: > I would do it later in runlevel 2 (same as 2-5).  Even at the very end > would be fine.  You could use "Required-Start: $all" if you like. I'll try it. > Alternatively instead of a random name have you considered using the > name it gets from revers

Re: Persisting a one-off hostname change

2012-02-27 Thread Jason Heeris
On 27 February 2012 16:19, Bob Proulx wrote: > If you are generating random hostnames then does it actually matter > what name the current host uses?  Would "localhost" be as good as any > randomly generated one? The randomness is needed to avoid name collisions when multiple devices are running.

Persisting a one-off hostname change

2012-02-26 Thread Jason Heeris
I have an image of a Debian Squeeze system that I want to put onto multiple systems (flash-based disks for a single-board computer). I'd like each system to have a different hostname, but have that hostname persist across subsequent reboots. My first thought was that I could remove "/etc/hostname"

Re: Removing hardware identifiers from an existing installation (esp. Grub2)

2012-02-22 Thread Jason Heeris
On 22 February 2012 09:43, Jason Heeris wrote: > On 21 February 2012 21:07, Tom H wrote: > >> For filesystem UUIDs, I wouldn't use "GRUB_DISABLE_LINUX_UUID="true"". >> I'd change the new flash card's UUIDs with tune2fs and mkswap to mat

Re: Removing hardware identifiers from an existing installation (esp. Grub2)

2012-02-21 Thread Jason Heeris
On 21 February 2012 21:07, Tom H wrote: > Never having used Emdebian, I can only give some Debian answers and > they'll hopefully be usable. > In this case yes, mostly my particular installation is just Debian with documentation and certain other files scrubbed from the packages. > For filesys

Removing hardware identifiers from an existing installation (esp. Grub2)

2012-02-19 Thread Jason Heeris
turn off the UUID searching? In a more general sense, are there any other gotchas I might have to look for here, where a Debian installation is tied to drive UUIDs, network adapter MAC addresses, or any variable hardware identifiers? Cheers, Jason Heeris

USB bluetooth dongle: cannot pair or be detected

2011-10-03 Thread Jason Heeris
System: Debain Wheezy/Sid on a HP Pavilion notebook, Linux 3.0.0-1-amd64; DE is Gnome (with the 2/3 mix that's currently going through Wheezy/Sid) Other device: HTC Desire running CyanogenMod 7.1.0 RC1 lsusb indicates that the dongle is: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (H

Re: Strange GTK theme behavior

2011-07-07 Thread Jason Heeris
On 7 July 2011 15:01, Jérôme Heil wrote: > Thanks for the replies. I did change the theme to a GTK3 theme (I was tired > of clearlooks anyway) and now everything seems back to normal. > Which one? Just curious... — Jason

Re: Strange GTK theme behavior

2011-07-06 Thread Jason Heeris
On 6 July 2011 15:20, Jérôme Heil wrote: > Since a week or so I've got two application that aren't following the > general theme, they are gnome-calculator and gnome-terminal. Any other > application seems to behave as expected. The problem is that they are now in the 3.x series, and so need to u

Official Debian admin groups (dialout, audio, etc)

2010-11-24 Thread Jason Heeris
Is there a definitive list somewhere of the out-of-the-box admin groups for Debian? As in, "dialout" for access to serial ports, ?? for access to external storage, etc? (Searching for this only brings up man pages and howtos for actually administering users and groups in general. I would like a li

Re: Chromium addons (was Re: Frustration made me do it.)

2010-11-23 Thread Jason Heeris
On 23 November 2010 19:13, Ron Johnson wrote: > So, how effective are ABP and Flashblock?  I read once that the Chrome ABP > doesn't actually *block* ads from loading but simply prevents them from > being displayed. That was the case some time ago, but according to the plugin site[1] New in

Re: Preventing installation of specific virtual packages

2010-11-20 Thread Jason Heeris
On 20 November 2010 07:58, Javier Barroso wrote: >> How can be blocked the installation of a package that is not installed? > Pinning it to a negative number [1]? (I didn't try it) This will work for a normal package, but not for a virtual package, which is my original problem. Cheers, Jason -

Re: Preventing installation of specific virtual packages

2010-11-19 Thread Jason Heeris
On 19 November 2010 18:39, Camaleón wrote: >> On 19 November 2010 18:17, Camaleón wrote: > It has to be global in order to affect all package manager tools. If not, > when a user installs a package by other means, the "tabu" one could be > also installed and that should be prevented. Well, I'm sp

Re: Preventing installation of specific virtual packages

2010-11-19 Thread Jason Heeris
On 19 November 2010 18:17, Camaleón wrote: > Something like having a "global switch" that prevents any of dpkg, apt- > get, aptitude... to get a package going through and warns the user about > it. It doesn't need to be global, something that works with either apt or aptitude will do, since these

Re: Preventing installation of specific virtual packages

2010-11-18 Thread Jason Heeris
On 19 November 2010 14:03, Alan Ianson wrote: > Aptitude installs recommends by default. That can be turned off in > "Options -> Preferences -> Dependency handling -> Install recommended > packages automatically". I still want to install *most* recommends, just not quite *all*. So turning this op

Preventing installation of specific virtual packages

2010-11-18 Thread Jason Heeris
This originally arose from a discussion on debian-live[1] (sorry to anyone who reads both lists, but it seemed more appropriate to continue this tangent here). I wanted to block installation of a couple of recommended packages in the chroot stage of a live-build, while letting all other recommends

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-13 Thread Jason Heeris
On 14 October 2010 12:52, Jordan Metzmeier wrote: > Anytime and subscribed :). That may even be an RC as full ipv6 was a > release goal of squeeze. Also, if it really was corrupting your > filesystem, I would think that would be a "critical" RC. That's harder to assert, I think. My FS got corrupt

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-13 Thread Jason Heeris
On 14 October 2010 11:52, Jordan Metzmeier wrote: > Please do as .32 is what will ship in the next stable. Bug filed: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600155 My real solution to all of this was to disable IPv6 altogether. Thanks everyone for the help :) (Also, I learnt about a do

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-13 Thread Jason Heeris
On 14 October 2010 09:34, Jordan Metzmeier wrote: > I would first check to see if the problem still occurs in .35 from the > experimental repos. I believe it is much easier for them to provide a > fix when it can be backported from a newer upstream. Interesting, no crash with 2.6.36-rc6-486. I'll

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-13 Thread Jason Heeris
On 13 October 2010 06:35, Jordan Metzmeier wrote: > Disabling support for ipv6 can actually be done via a kernel parameter, > so recompiling to remove ipv6 support should not be needed. Use the > kernel parameter "ipv6.disable=1". Yep, disabling IPv6 stops the crash! So where should I report it,

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-13 Thread Jason Heeris
On 13 October 2010 22:35, Jordan Metzmeier wrote: > The person responding indicates a kernel problem, which makes sense when > you actually get a kernel panic as a result. This was also indicated on > this list. I'm trying to figure out if there's a simpler way to trigger it, but haven't really f

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-13 Thread Jason Heeris
On 11 October 2010 18:36, Henrique de Moraes Holschuh wrote: > 3. Reproduce the crash, log *everything* since boot. Before I go off to bugzilla, I just want to check that I've actually got debugging information here, since to me it doesn't look that different. Do I need to boot with a special ker

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-13 Thread Jason Heeris
On 13 October 2010 14:45, Jason Heeris wrote: > To save me more trouble, can anyone tell me what the key is to > building a kernel exactly the same as what's in > linux-image-2.6.32-5-486? More RTFMing required on my part, sorry. In the DEBIAN.Readme for the linux-image source pack

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-12 Thread Jason Heeris
On 12 October 2010 19:49, Timo Juhani Lindfors wrote: > Jason Heeris writes: >> Yay. I'll build one on my PC. > > Ah. To save me more trouble, can anyone tell me what the key is to building a kernel exactly the same as what's in linux-image-2.6.32-5-486? I'm

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-12 Thread Jason Heeris
On 12 October 2010 10:36, Henrique de Moraes Holschuh wrote: > On Sun, 10 Oct 2010, Jason Heeris wrote: >> CPU: Vortex86 SoC (800MHz) - I *think* this is pretty much a 486, I >> could be wrong > > Yikes.  You really need to track this one down, and find out whether it is &

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-12 Thread Jason Heeris
On 12 October 2010 15:59, Timo Juhani Lindfors wrote: > Jason Heeris writes: >> Kernel: Linux 2.6.32-5-486 > Please install linux-image-2.6.32-5-486-dbg There is no such package: http://packages.debian.org/search?keywords=linux-image+dbg&searchon=names&suite=testing§ion=

Re: how to umount a usb flash drive through cli as a normal user

2010-10-12 Thread Jason Heeris
On 11 October 2010 23:52, vishnu vardhan wrote: > to mount the usb flash drive : > > [a] start mc and search for jet under /dev/disk/by-id folder and note down > the name, for e.g. sdb1 This is a bit tangential, but do you know about the "pmount-hal" command? It basically uses HAL to work out a n

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-12 Thread Jason Heeris
On 11 October 2010 23:44, Jochen Schulz wrote: > [ I guess Henrique's interpretation of the problem is better than mine, >  I just wanted to follow-up on this specific question. ] >> How would I know? > > $ dmesg | grep "Write cache" > sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, d

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-11 Thread Jason Heeris
On 12 October 2010 10:59, Jason Heeris wrote: >> 4. File a bug on bugzilla.kernel.org with all relevant information.  This >> does include the kernel config at the very least. > > It's just the Debian stock kernel config. Should I recompile it with any kind of debugging

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-11 Thread Jason Heeris
2010/10/12 Ron Johnson : > My 1st thought was whether you need IPv6... Well, no, and if I can't sort this out then I'll recompile without it and see if the crash goes away (or... can I black list it, or is IPv6 compiled right in?). But this might be a good opportunity to find a bug before I go dow

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-11 Thread Jason Heeris
On 11 October 2010 18:36, Henrique de Moraes Holschuh wrote: > On Sun, 10 Oct 2010, Jason Heeris wrote: t>> My system is a Helios single-board computer, with specs: >> >> CPU: Vortex86 SoC (800MHz) - I *think* this is pretty much a 486, I >> could be wrong > >

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-11 Thread Jason Heeris
On 11 October 2010 03:03, Jochen Schulz wrote: >> Any tips on catching it? Will there be useful info in a log somewhere? > > It *could* have made it to /var/log/syslog, but I am not particularly > optimistic about that. No, I had checked that already. :/ > May be. Do you have write caching enabl

Re: Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-10 Thread Jason Heeris
On 10 October 2010 21:43, Jochen Schulz wrote: > Looks like a kernel panic or a kernel oops. Seeing the start of it would > be helpful. Any tips on catching it? Will there be useful info in a log somewhere? > That looks like your filesystem is damaged beyond what one could expect > from a single

Installing avahi-daemon crashes kernel, corrupts filesystem

2010-10-10 Thread Jason Heeris
My system is a Helios single-board computer, with specs: CPU: Vortex86 SoC (800MHz) - I *think* this is pretty much a 486, I could be wrong RAM: 256MB Swap: partitioned, about 236MB (just what the installer recommended) Kernel: 2.6.32-5-486 Debian: Squeeze (from installer daily build, updated afte

Prohibit apt caching

2010-09-08 Thread Jason Heeris
Is there any way to completely prevent apt(itude) from caching downloaded package files? I'm working on a system with 512MB of disk space, so the 60-100MB of cache files is a huge chunk out of this. I know about the "clean" command, but I don't want to have to do it manually every time. I know tha

Re: Re: GRUB2 - automatically generating extra entries

2010-06-09 Thread Jason Heeris
For grub1, the only way that I can see doing this automatically/automagically is to replace the single/recovery entries by init3 entries. I just found my old menu.lst - there was a section that started: ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be

Re: Re: GRUB2 - automatically generating extra entries

2010-06-09 Thread Jason Heeris
If you want to append additional parameters to the kernel command line, configure it via GRUB_CMDLINE_LINUX_DEFAULT or GRUB_CMDLINE_LINUX in /etc/default/grub. No, I want to generate an extra entry for each kernel for runlevel 3, automatically. f you want to add further entries to the grub b

GRUB2 - automatically generating extra entries

2010-06-08 Thread Jason Heeris
defaults file to some extent, but I'm no expert. Cheers, Jason Heeris -- 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/aanlktiki7zosxhb9wbf-llil_j4zwgcsw97ua8e2g...@mail.gmail.com

Re: Graphical installer (for USB install)

2010-06-04 Thread Jason Heeris
On 5 June 2010 00:26, Xavier Oswald wrote: > I don't know if you are doing a build from the debian-installer package... No, just downloading from [1]. > But the graphical install is not working right now in squeeze/testing, there > is > a working version in unstable. This is due to a migration

Graphical installer (for USB install)

2010-06-04 Thread Jason Heeris
Hi, A while ago I created a USB stick to install Debian from, as per [1] — I seem to recall I needed to get the graphical installer from the "gtk" subdirectory to get the graphical install mode (of course). Indeed it's still there for Lenny [2]. But when I tried to create a more up-to-date version

Re: Undeletable files on UDF formatted HD

2010-02-16 Thread Jason Heeris
> ¿NTFS? It should fit some of your requirements (works on windows, linux > and MacOS -I think-) and allows ACL. It's not so much user ACL but the whole executable/read/write issue (I get a bit sick of 100s of, eg. photos being marked executable, and having to manually sort it out) — does NTFS sup

Re: Undeletable files on UDF formatted HD

2010-02-16 Thread Jason Heeris
On 16 February 2010 18:08, Jason Heeris wrote: > On 16 February 2010 16:51, Camaleón wrote: >> Package "udftools" comes with "wrudf" which is decribes as: >> >> *** >> wrudf - Maintains a UDF filesystem (undocumented) >> *** > > Ah

Re: Undeletable files on UDF formatted HD

2010-02-16 Thread Jason Heeris
On 16 February 2010 16:51, Camaleón wrote: > Package "udftools" comes with "wrudf" which is decribes as: > > *** > wrudf - Maintains a UDF filesystem (undocumented) > *** Ah yes... wow, it is quite undocumented, isn't it... > Not sure why you need a UDF filesystem :-?. I wanted: 1. A filesyste

Undeletable files on UDF formatted HD

2010-02-15 Thread Jason Heeris
Hi, I have an external (USB, bus powered) hard drive formatted as UDF (using "mkudffs --media-type=hd"). There is no partitioning on the device, and I zeroed the whole thing before initialising the UDF FS. I was writing data to it from Mac OS X when the machine ran out of batteries, leaving some

Re: Apt-zip-inst keeps trying to use internet

2010-01-09 Thread Jason Heeris
2010/1/6 Javier Barroso : > Hi, > > On Wed, Jan 6, 2010 at 7:43 AM, Jason Heeris wrote: > apt-zip worked for me sometime ago, but now there is a new replacement: > > http://packages.debian.org/apt-offline Ooh, thanks, I'll look into that. > Yes apt-zip works wi

Apt-zip-inst keeps trying to use internet

2010-01-05 Thread Jason Heeris
I'm trying to install about 1GB worth of packages on a computer with a slow net connection (this is immediately after a clean Squeeze install). Someone told me about apt-zip, so I gave it a go. The trouble was, I was at home and the computer I wanted to install on wasn't. So I created a virtual ma