Re: Reasons for rights policies, political or technical ? Was : Re: pm-hibernate as user

2012-12-19 Thread Michael Biebl
On 19.12.2012 16:58, berenger.mo...@neutralite.org wrote:
 
 
 Le 19.12.2012 16:25, Hugo Vanwoerkom a écrit :
 Michael Biebl wrote:
 On 19.12.2012 01:04, Hugo Vanwoerkom wrote:
 Michael Biebl wrote:
 On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote:
 Except using sudo, I know no solution... sadly.
 Maybe you can do something with policykit, too, I never tried to 
 understand how it works, but I think giving rights to some 
 softwares is its role.
 sudo is one option, the other is to use upower (which runs as 
 system
 daemon with root privileges) and use a command like this


 $ dbus-send --print-reply \
 --system \
 --dest=org.freedesktop.UPower \
 /org/freedesktop/UPower \
 org.freedesktop.UPower.Suspend


 This related to LXDE which I am trying out. The hibernate and 
 suspend buttons do nothing in the logout menu. Googling says that 
 LXDE uses pm-utils. So I was guessing that invoking 
 pm-hibernate/suspend was involved, which I can do as root but not as 
 user.
 Since the user session runs unprivileged, and 
 pm-suspend/pm-hibernate
 need to run as root, you will need to go through a system service 
 like
 upower.
 I know nothing about LXDE, but e.g. in GNOME, the power manager 
 simply
 sends the above dbus requests when you hit the suspend button or 
 close
 the lid.
 I would expect LXDE provides a similar user power management agent.



 Indeed. I found this:
 https://wiki.archlinux.org/index.php/PolicyKit#Suspend_and_hibernate

 Follow that and addgroup power and adduser to power and you can now
 hibernate and suspend.

 Hugo
 
 A bit out of topic, but I wonder why there is no other solution than 
 using dbus to let a user shutdown/hibernate/suspend his computer? This 
 is not the only point where the problem apply: you have same troubles 
 with network, and maybe on other things I did not experiment (to add 
 softwares and/or modify system-wide configuration files, I think it is 
 perfectly normal to need root, because no normal user does those actions 
 everyday).
 
 Of course, there are workarounds, with dbus, sudo...
 Of course, the way things are actually done is nice for enterprises, 
 which need a high security level, at least for servers.

See my recent post: Make sure your desktop environment is setting up a
up proper consolekit session. Then stuff like that will work ootb.
E.g. if you are using KDE and GNOME you won't have to deal with that.

I'd say this is the price you pay for dealing with a more minimalist DE
like LXDE.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: pm-hibernate as user

2012-12-18 Thread Michael Biebl
On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote:
 Except using sudo, I know no solution... sadly.
 Maybe you can do something with policykit, too, I never tried to 
 understand how it works, but I think giving rights to some softwares is 
 its role.

sudo is one option, the other is to use upower (which runs as system
daemon with root privileges) and use a command like this


$ dbus-send --print-reply \
--system \
--dest=org.freedesktop.UPower \
/org/freedesktop/UPower \
org.freedesktop.UPower.Suspend


cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: pm-hibernate as user

2012-12-18 Thread Michael Biebl
On 19.12.2012 00:36, Michael Biebl wrote:
 
 $ dbus-send --print-reply \
 --system \
 --dest=org.freedesktop.UPower \
 /org/freedesktop/UPower \
 org.freedesktop.UPower.Suspend

thinko on my part: you want org.freedesktop.UPower.Hibernate, of course.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: pm-hibernate as user

2012-12-18 Thread Michael Biebl
On 19.12.2012 01:04, Hugo Vanwoerkom wrote:
 Michael Biebl wrote:
 On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote:
 Except using sudo, I know no solution... sadly.
 Maybe you can do something with policykit, too, I never tried to 
 understand how it works, but I think giving rights to some softwares is 
 its role.

 sudo is one option, the other is to use upower (which runs as system
 daemon with root privileges) and use a command like this


 $ dbus-send --print-reply \
 --system \
 --dest=org.freedesktop.UPower \
 /org/freedesktop/UPower \
 org.freedesktop.UPower.Suspend


 
 This related to LXDE which I am trying out. The hibernate and suspend 
 buttons do nothing in the logout menu. Googling says that LXDE uses 
 pm-utils. So I was guessing that invoking pm-hibernate/suspend was 
 involved, which I can do as root but not as user.

Since the user session runs unprivileged, and pm-suspend/pm-hibernate
need to run as root, you will need to go through a system service like
upower.

I know nothing about LXDE, but e.g. in GNOME, the power manager simply
sends the above dbus requests when you hit the suspend button or close
the lid.
I would expect LXDE provides a similar user power management agent.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: NFS automount not happening [solution confirmed]

2012-12-15 Thread Michael Biebl
On 10.12.2012 00:09, Roger Leigh wrote:
 On Sun, Dec 09, 2012 at 02:43:36PM -0700, Bob Proulx wrote:
 Ross Boylan wrote:
 Bob Proulx wrote:
 This nfs startup part is a part that seems to have suffered from the
 transition from boot time scripts to event driven scripts.  This kind
 of thing use to work in the previous init script way.  I don't know
 the best design to make this work in the general case for the new
 event driven way.  But at least in my testing it was sufficient to add
 this mount line to /etc/rc.local in order to mount additional nfs
 mount points at boot time.

 Do you think this is something that merits a bug/wish report?  Against
 what package?

 That is the problem.  There isn't really a package associated with nfs
 diskless clients.  It isn't a thing as a configuration.  And so I
 don't know if there is a single canonical owner for it.  It would need
 some discussion to determine the best place for this.  Perhaps others
 will have more insight into this topic.
 
 This is an area which could use quite a bit of work.  Unfortunately,
 as you point out there isn't a single place to fix things--it
 touches a whole host of packages, from the initramfs to the
 initscripts, to udev and networking.
 
 Some things which need addressing:
 - use of tmpfses for non-writable locations like /media: we should
   be doing this by default; introducing /run/media on the /run
   tmpfs was one thing looked at for wheezy; but it didn't get done
   for reasons I can't recall offhand.  Something to revisit for
   jessie.  This not just specific to nfsroot, r/o root also needs it.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680403


 - ASYNCMOUNTNFS in /etc/default/rcS (see rcS(5)).  The fact this
   option exists indicates a problem.  The basic NFS mounting at
   boot should Just Work in all situations, without gross hacks
   like this.
 
 - There are currently two places where NFS filesystem mounting
   can be triggered: /etc/network/if-up.d/mountnfs (triggered by
   ipup/udev) and /etc/init.d/mountnfs.sh.  There should ideally
   be just a single script, which should cater for all cases; the
   other script can just run the other.
 
 - NetworkManager from what I've observed from other bugs reports
   is hopelessly broken with NFS mounting at boot.

Not really hopelessly broken. What of course doesn't work is mounting
/usr via nfs in combination with NM since NM resides on /usr.

Other than that, NFS volumes are mounted via the usual if-up.d hooks you
mentioned above.
The thing that broke here, is that Andrew added a ADDRFAM check to the
mountnfs hook which clashes with NM uses of ADDRFAM.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: pmount-hal not using labels on encrypted filesystems

2012-12-14 Thread Michael Biebl
On 14.12.2012 10:00, Aidan Gauland wrote:
 Michael Biebl bi...@debian.org writes:
 On 14.12.2012 05:06, Aidan Gauland wrote:
 How can I fix this?  Given that HAL is deprecated, I suspect there is
 some other tool that serves the same purpose as pmount-hal that I should
 be using instead.

 yeah, hal is dead.
 You might try udisks --mount instead.
 
 I get
 Mount failed: Not a mountable file system
 It seems that udisks does not handle encrypted partitions.

udisks-daemon does handle luks/cryptsetup encrypted partitions but it
seems the udisks command line tool is too limited.

Try gvfs-mount -d /dev/foo. This should prompt you for the passphrase,
unlock and mount the file system under /media/FS_LABEL

Can be unmounted again via umount /media/FS_LABEL


Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: pmount-hal not using labels on encrypted filesystems

2012-12-14 Thread Michael Biebl
On 14.12.2012 17:12, Michael Biebl wrote:
 Try gvfs-mount -d /dev/foo. This should prompt you for the passphrase,
 unlock and mount the file system under /media/FS_LABEL

Just in case: If you run that command from a session which has no
running dbus session bus, change that command to:

dbus-launch gvfs-mount -d /dev/foo


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: pmount-hal not using labels on encrypted filesystems

2012-12-13 Thread Michael Biebl
On 14.12.2012 05:06, Aidan Gauland wrote:

 How can I fix this?  Given that HAL is deprecated, I suspect there is
 some other tool that serves the same purpose as pmount-hal that I should
 be using instead.

yeah, hal is dead.
You might try udisks --mount instead.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: udev device mapper rules for early boot?

2012-12-11 Thread Michael Biebl
On 11.12.2012 19:00, Nikolaus Rath wrote:
 Hello,
 
 I have created a udev rule to set the owner of a specific block device:
 
 SUBSYSTEM==block,
 ENV{DM_UUID}==LVM-yYuoI8k05GWxZnz9BeEIwPUGGeojzF3dZZmXTYRqC051Tllj76OHdDlzYhKZUu7u,
 OWNER=1000

[..]

 I have added a custom hook to copy this rule into the initrd. I also

[..]

 Does anyone have a suggestion of how I could debug this further? Why is
 my rule ignored when the volume comes up the first time?

Just a wild guess: the initrd does not have a user/group with uid 1000,
so the chown fails.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: multiarch - please do not force users to change a running system!

2012-12-10 Thread Michael Biebl
On 10.12.2012 19:15, Hans-J. Ullrich wrote:

 3. The problem with the 32-bit nvidia accelerator (libgl1-nvidia-glx:i386) 
 could I solve, that I removed all nvidia-packages from debian and used the 
 installer from Nvidia's site.

[..]

 The following packages have unmet dependencies:
  libxvmc1 : Conflicts: libxvmc1:i386 but 2:1.0.7-1 is to be installed.
  libxvmc1:i386 : Conflicts: libxvmc1 but 2:1.0.7-1 is installed.
 The following actions will resolve these dependencies:

libvmc1 is simply not converted to multi-arch yet:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640499

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: NFS automount not happening

2012-12-08 Thread Michael Biebl
On 08.12.2012 23:09, Ross Boylan wrote:

 192.168.40.2:/usr/local/mnt/usr/local nfs defaults 0 0
 192.168.40.2:/usr/local/var/media  /usr/local/var/media   nfs defaults 0 0
 
 The root fs is mounted correctly (during the boot sequence, before it
 gets to fstab), but the other 2 NFS filesystems are not.  I can mount
 them manually once the system is up.
 
 Can anyone suggest why the NFS automount is not working, or what to do
 about it?

Use the _netdev option [1] or autofs [2].

Cheers,
Michael

[1] man mount
[2] http://linux.die.net/man/5/autofs


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: How to prevent daemons from starting at boot after update?

2012-11-27 Thread Michael Biebl
On 27.11.2012 20:52, Adrian Fita wrote:

 I just did a cups package update (yes, I'm running Debian unstable) and
 noticed that the cups daemon was started after the upgrade. And indeed,
 looking in /var/lib/dpkg/info/cups.postinst, the daemon is started with
 invoke-rc.d cups start after every installation. This means that even
 tho' I have disabled cups from starting at boot with update-rc.d cups
 disable, it will get started after an update/package reinstallation,

Not correct. A sysv init script which has been disabled via
update-rc.d service disable won't be started by
invoke-rc.d service start

Not saying that there might actually be a bug in cups' postinst script,
but invoke-rc.d itself respects the enable/disable state.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: How to prevent daemons from starting at boot after update?

2012-11-27 Thread Michael Biebl
On 27.11.2012 22:47, Adrian Fita wrote:
 - my current runlevel is 2, I made sure that cups is indeed disabled:
 /etc/rc2.d/K02cups

What does ls -la /etc/rc?.d/???cups say?

If you properly disable cups via update-rc.d, the service is not run via
invoke-rc.d. I've just tested this on my system.

root@pluto:~# ls /etc/rc?.d/???cups
/etc/rc1.d/K01cups  /etc/rc3.d/S19cups  /etc/rc5.d/S19cups
/etc/rc2.d/S19cups  /etc/rc4.d/S19cups

root@pluto:~# /etc/init.d/cups status
Status of Common Unix Printing System: cupsd is not running.

root@pluto:~# update-rc.d cups disable
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script `cups'
overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (1 2 3 4 5) of script `cups'
overrides LSB defaults (1).

root@pluto:~# ls /etc/rc?.d/???cups
/etc/rc1.d/K01cups  /etc/rc3.d/K01cups  /etc/rc5.d/K01cups
/etc/rc2.d/K01cups  /etc/rc4.d/K01cups

root@pluto:~# invoke-rc.d cups start

root@pluto:~# /etc/init.d/cups status
Status of Common Unix Printing System: cupsd is not running.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: How to prevent daemons from starting at boot after update?

2012-11-27 Thread Michael Biebl
what does `runlevel` say?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: How to prevent daemons from starting at boot after update?

2012-11-27 Thread Michael Biebl
On 27.11.2012 23:59, Adrian Fita wrote:
 On 28/11/12 00:52, Michael Biebl wrote:
 what does `runlevel` say?
 
 root@zero:~# runlevel
 N 2

Interesting. As already shown, I can't reproduce your problem.

Not sure if this is because you ship a policy-rc.d script.
It might help, moving that file away.

checking with debsums if the sysv-rc have not been modified, might help,
too.

And last but not least, you can run the invoke-rc.d script via

sh -x /usr/sbin/invoke-rc.d cups start

This should give us a clue what's going on.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: How to prevent daemons from starting at boot after update?

2012-11-27 Thread Michael Biebl
On 28.11.2012 00:22, Adrian Fita wrote:
 As soon as I reinstalled policyrcd-script-zg2, invoke-rc.d is starting
 the services again.
 
 So, is this expected behaviour, or is it a bug that I should report?

I've never used policyrcd-script-zg2 and have no idea what this package
is supposed to do, so I'm not sure if the behaviour is expected or not.

That said, not respecting the enabled/disabled state looks like a bug
too me. You might want to talk to the policyrcd-script-zg2 maintainer to
get his input on that matter.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: /lib/systemd/systemd-hostnamed hang

2012-11-25 Thread Michael Biebl
On 25.11.2012 00:27, Zenaan Harkness wrote:

 Or should I simply ignore all binaries in /lib/ ?

Exactly, those binaries are not supposed to be started by hand.
That's also why they have no man page or --help.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: /lib/systemd/systemd-hostnamed hang

2012-11-25 Thread Michael Biebl
On 25.11.2012 16:13, Zenaan Harkness wrote:
 On 11/25/12, Tom H tomh0...@gmail.com wrote:
 On Sat, Nov 24, 2012 at 6:27 PM, Zenaan Harkness z...@freedbms.net wrote:
 On 11/25/12, Michael Biebl bi...@debian.org wrote:
 On 24.11.2012 14:40, Tom H wrote:
 On Sat, Nov 24, 2012 at 6:02 AM, Zenaan Harkness z...@freedbms.net
 wrote:
 Any idea how to make use of systemd-hostnamed?
 Eg:
 $ sudo /lib/systemd/systemd-hostnamed
 Warning: nss-myhostname is not installed. Changing the local hostname
 might make it unresolveable. Please install nss-myhostname!
 # hang's at this point, apparently indefinitely...
 What are you expecting it to do?
 It doesn't hang. It is a system daemon which just waits sits there and
 waits for requests (via D-Bus).
 Nothing unexpected here aside from starting this tool directly.
 
 $ man systemd-hostnamed
 No manual entry for systemd-hostnamed
 
 The latest version of system has hostnamectl and a man page for
 systemd-hostnamed.
 
 Sounds good. I'll look out for it.
 
 Even if you weren't using systemd, you would've had the xterm problem
 because you removed the standard 127.0.1.1 ... line from
 /etc/hosts,
 
 False assumption. I reinstalled in a bit of a rush, and networking
 didn't get set up as part of installation. So that line never got put
 in by the installer. All I had was the 127.0.0.1 localhost line, to
 which I just added my proper hostname to solve this 'extended delay'
 problem.
 
 Should I put my proper hostname as a separate 127.0.1.1 line instead?
 
 although I'm not sure how xterm would behave with the
 hostname known by the kernel being different from the one on the
 127.0.1.1 line.
 
 It hangs for 10 to 20s before opening. But only with systemd bootup.
 Today I suspended my laptop, took it off it's dock, put it back on
 dock about 3 hrs later and tried to unsuspend, no go - various usb
 errors spewing. Hard reset, no reboot under systemd (disk checks), try
 again, no.
 Back to /sbin/init, success. Try a final time to check systemd bootup
 - no go on systemd.
 So I'm now stuck back on /sbin/init. Again.
 
 And now, the xterm 'extended pause' does not happen, even if I remove
 my 'proper' hostname from /etc/hosts (so that I cannot ping my
 hostname).
 
 So, I guess it's time to file a bug, somewhere... in relation to systemd

I have the impression you are fiddling a lot with your system without
actually knowing what you are doing and you're breaking a lot while
doing that.

Please only file a bug report if there is actually a valid bug and not
just some misconfiguration.

Thanks,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: /lib/systemd/systemd-hostnamed hang

2012-11-24 Thread Michael Biebl
On 24.11.2012 14:40, Tom H wrote:
 On Sat, Nov 24, 2012 at 6:02 AM, Zenaan Harkness z...@freedbms.net wrote:

 Any idea how to make use of systemd-hostnamed?

 Eg:
 $ sudo /lib/systemd/systemd-hostnamed
 Warning: nss-myhostname is not installed. Changing the local hostname
 might make it unresolveable. Please install nss-myhostname!
 # hang's at this point, apparently indefinitely...
 
 What are you expecting it to do?

It doesn't hang. It is a system daemon which just waits sits there and
waits for requests (via D-Bus).

Nothing unexpected here aside from starting this tool directly.

It would be like starting apache by hand and then wondering that it sits
there waiting for requests via port 80.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: dbus and power management

2012-11-20 Thread Michael Biebl
On 20.11.2012 14:59, Michael P. Soulier wrote:
 Hi,
 
 I had an old python script for monitoring my laptop lid with dbus, and then
 suspending when it was closed. It doesn't work now because the dbus namespace
 on debian seems to have changed.
 
 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The
 name org.freedesktop.DeviceKit.Power was not provided by any .service files
 
 Does anyone know what I should be using now? I can't seem to find what I need
 in the new layout.

org.freedesktop.UPower provided by upower

http://upower.freedesktop.org/
http://upower.freedesktop.org/docs/


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


systemd hangs on fstab directory bindmount

2012-11-20 Thread Michael Biebl
Package: systemd
Version: 44-5
Control: submitter -1 z...@freedbms.net

On 20.11.2012 13:43, Zenaan Harkness wrote:
 On 11/20/12, Zenaan Harkness z...@freedbms.net wrote:
 On 11/20/12, Michael Biebl bi...@debian.org wrote:
 You mentioned, that you use some sort of encryption.
 Posting more details (fstab, cryptab, etc) might help.
 I suspect your problem is related to that.
 ...
 fstab:
 # / was on /dev/sda5 during installation # about 80GB
 UUID=e73a71d3-a391-40bc-9d45-55fa72f245c1 / ext4 errors=remount-ro 0 1
 # /boot was on /dev/sda3 during installation # about 300MB
 UUID=75e1d222-c9df-4d10-93de-9da4cf005158 /boot ext2 defaults 0 2
 # swap was on /dev/sda6 during installation # about 3GB
 UUID=25d4ff20-1c78-4e1d-bd2a-2a0060e85f9a none swap sw 0 0
 
 OK, here's my bad, I ignored /media/usb* entries (which are not
 relevant here), but also ignored two bind mount entries as follows (in
 hindsight, guess I was rushing), which are the systemd bug exposing
 culprits:
 
 /zenlocal/zen/justa /home/justa none
 bind,uid=1000,gid=1000,comment=systemd.automount 0 0
 
 /zenlocal/zen/ /home/justa/zen none
 bind,uid=1000,gid=1000,comment=systemd.automount 0 0

This setup is pretty weird, I have to say. Those bind mounts overlap
each other

 #[This setup provides for me to separate cruft in ~, /home/justa in
 this case, from my real files/ work files, which is /zenlocal/zen
 bindmounted as ~/zen in this case.
 This setup provides a very simple way to cleanly reinstall, then add a
 few symlinks (after these two bindmounts), and we're off to the
 races...]
 
 Commenting out the second bindmount above sees systemd hang just the same.
 Removing both, systemd starts fine.
 So it's not a systemd-induced bindmount circular-dependency problem,
 but simply an systemd's inability to handle plain directory (not
 device??) bindmounts.
 
 As before:
 $ systemctl --version
 systemd 44
 debian
 +PAM +LIBWRAP +AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP
 
 debian wheezy, systemd 44-5
 
 Can someone please forward this to the systemd devs. It appears quite
 easy to test.

Let's turn this into a bug report then, otherwise this issue will just
be forgotten


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: systemd intermittent startup

2012-11-19 Thread Michael Biebl
On 19.11.2012 16:07, Zenaan Harkness wrote:
 On 11/19/12, Tom H tomh0...@gmail.com wrote:
 On Sun, Nov 18, 2012 at 11:07 PM, Zenaan Harkness z...@freedbms.net wrote:

 First, systemd worked.
 Now it hangs on bootup, with the following messages:
 ...
 Nov 19 14:31:12 localhost named[2353]: error (network unreachable)
 resolving 'B.ROOT-SERVERS.NET//IN': 192.33.4.12#53
 
 Perhaps it's too early for systemd and its bootup time improvements
 (of course, not booting up takes a lot longer :) ??

 It works fine.

 You might need to fsck your disk but beyond that you're encountering
 delays because your NIC's firmware isn't loading so you network's not
 coming up and named is acting up.
 
 Thank you.
 
 I installed firmware-iwlwifi, now wired _and_ wireless work. Disks are fine.
 Wireless I hardware switched-off.
 Two wired eth networks, one inbuilt, one usb.
 Same hang when I undock (no usb devices, no ethernets, just plain
 laptop). Ie same named/avahi/dhclient 'hang' loop.
 
 Default samba4 install on relatively fresh wheezy install.
 
 So (I'm running only successfully on /sbin/init):
 apt-get purge samba4
 apt-get autoremove
 rm /var/log/syslog # let's get really clean output!
 reboot
 # start with systemd
 # allow to timeout
 # login as root for system maintenance!
 #I'm supposed to be happy at this point and say yay
 vi /var/log/syslog
 ...
 WFT?!!?! No syslog file.
 

I guess you have been dropped into the rescue shell.
At this point no system services (including rsyslog) are running.
So this is not surprising that there is no /var/log/syslog.

Anyway, with that little of information it is basically impossible to
say what's going wrong on your system. It even lacks basic information
like what version of Debian you are using, what version of systemd etc.
As for getting a more verbose debug log, there is plenty of
documentation which is easily found by google.
Try
http://fedoraproject.org/wiki/How_to_debug_Systemd_problems
or
http://www.freedesktop.org/wiki/Software/systemd/Debugging

You mentioned, that you use some sort of encryption.
Posting more details (fstab, cryptab, etc) might help.
I suspect your problem is related to that.

I'm posting this from a system where systemd works like a bliss.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Gnome recommends iceweasel-l10n-all

2012-10-16 Thread Michael Biebl
Hi,

On 16.10.2012 18:29, Artifex Maximus wrote:
 Hello!
 
 On last Wheezy upgrade my system install all iceweasel-l10-* packages
 because gnome recommends -all package. Is it normal? I only need

This is wanted, yes. To get a translated iceweasel.

 English and/or my native language and nothing else. Should be better
 to recommends only/at least one language I think. There is some logic

What language would that be? Just picking one wouldn't work for everyone
and be unfair to e.g. non-English speaking people (say we picked
iceweasel-l10-en).
Unfortunately it is not possible to express a dependency on a package
depending the language that was used during system installation.

 when package selector able to choose at least one package to fulfill
 requirement. For example gcc recommends libc6-dev | libc-dev and not
 both.

What might work is the following: All iceweasel-l10n-* packages have a
Provides: iceweasel-l10-langpack

and in gnome we depend on
Depends: iceweasel-l10-all | iceweasel-l10-langpack

This would allow you to uninstall the languages you don't need/want,
while still making sure we have a fully translated iceweasel for everyone.

Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Network manager DNS

2012-09-23 Thread Michael Biebl
On 23.09.2012 15:41, Marek Pawinski wrote:
 On 23/09/2012 13:06, Tom H wrote:
 On Sun, Sep 23, 2012 at 4:17 AM, Marek Pawinskili...@pawinski.co.za  wrote:
 Squeeze 6.05 amd64, I had backports enabled and made the mistake of updating
 to the latest back port kernel amongst other updates a few days ago.

 When I rebooted I had no internet connectivity so I removed the back port
 kernel thinking it was that.

 But now with my original 2.6.32-5-amd64 kernel every time I reboot,
 /etc/resolve.conf is empty and I have to enter my DNS server by hand.

 If I can remember correctly I do not use network manger but placed my
 entries in the interfaces file.
 What are the contents of /etc/network/interfaces and
 /etc/NetworkManager/NetworkManager.conf?

 Do you have any scripts in /etc/NetworkManager/dispatcher.d/?


 
 Here they are, three of them:
 
 cat /etc/network/interfaces
 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).
 
 # The loopback network interface
 auto lo
 iface lo inet loopback
 
 # The primary network interface
 #allow-hotplug eth0
 #NetworkManager#iface eth0 inet dhcp
 
 # The primary network interface
 auto eth0
 iface eth0 inet static
 address 192.168.2.106
 gateway 192.168.2.1
 netmask 255.255.255.0
 network 192.168.2.0
 broadcast 192.168.2.255
 
 
 cat /etc/NetworkManager/NetworkManager.conf
 [main]
 plugins=ifupdown,keyfile
 
 [ifupdown]
 managed=false

Do you have any other network interfaces besides eth0?
If eth0 is your only one and it is *not* managed by NM, then NM
shouldn't touch /etc/resolv.conf and this would be a valid bug.
In that case please file a bug against the network-manager package.
Please follow the advice at [1] and include the logs for NM.

Thanks,
Michael

[1] https://live.gnome.org/NetworkManager/Debugging
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: systemd

2012-07-31 Thread Michael Biebl
On 31.07.2012 21:05, Martin Steigerwald wrote:
 technical arguments like its Linux only and I found some limitations 
 myself like its init script compabitibility does not take care of further 
 initscript arguments like for openvpn initscript to tell it which VPN to 
 start due to not supporting something like this at its design level

As Tollef told you in [1], systemd solves this kind of issue with
instanced services. This is not a limitation at its design level, it
just means that sysvinit and systemd solve this particular problem in a
different way which can't be mapped via a compat layer.

Michael


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682615#10

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: syslog filter

2012-07-10 Thread Michael Biebl
On 10.07.2012 16:24, Michael Biebl wrote:

 With rsyslog you have powerful filtering capabilities and you can
 basically match on any part of the syslog message and drop it with the
 ~ operator.
 
 http://www.rsyslog.com/doc/rsyslog_conf_filter.html

http://www.rsyslog.com/doc/property_replacer.html → Available
Properties lists the properties you can match against.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: syslog filter

2012-07-10 Thread Michael Biebl
On 10.07.2012 15:37, Muhammad Yousuf Khan wrote:
 there is a very specific daemon log which is generating every minute
 and i want this log not written in syslog message however the daemon
 itself not providing the facility to stop it. so is there any thing
 that i could configure debian not to accept this particular log.
 
 here is the log detail.
 
 uID   1619
 Date  Today 18:30:50
 Host  panda
 Messagetype   Syslog
 Facility  DAEMON
 Severity  INFO
 Syslogtag pvemirror[7044]:
 Checksum  0
 Message   cluster syncronization finished (0.47 seconds (files 0.00,
 config 0.16))
 


Depends on the syslog daemon you are using.
With rsyslog you have powerful filtering capabilities and you can
basically match on any part of the syslog message and drop it with the
~ operator.

http://www.rsyslog.com/doc/rsyslog_conf_filter.html

HTH,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: desktop notification gone

2012-05-12 Thread Michael Biebl
On 12.05.2012 13:53, Tom wrote:

 This is on sid. I mostly use Openbox, starting notification- and
 gnome-settings-daemon from .xinitrc. Oddly enough, all applications
 that ought to notify me (I only use three: my music player, Icedove,
 and Transmission) do so exactly one time after their start-up.
 
 When running Gnome everything's fine. I suppose that might mean I
 don't start some daemon I should (which then was probably introduced
 with Gnome 3), but notify-send just works.
 

To show desktop notification, you need a notification service running.

gnome-shell and KDE have one built-in and there is a standalone daemon
called notification-daemon (which is used in GNOME 2 / GNOME 3 classic).
Do you have a notification-daemon process running? If you start one
manually via /usr/lib/notification-daemon/notification-daemon do you get
any error messages?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: how to increase space for tmpfs /tmp

2012-03-28 Thread Michael Biebl
On 28.03.2012 20:27, Dom wrote:
 This change has caused me a number of (admittedly not too serious) 
 problems.

To get a better feeling for what kind of problems users with
tmpfs-on-tmp run into, I think filing bugs against the affected packages
would be a great idea.
Ideally, usertagged, so they can easily be found [1].
Or file them against initscript/sysvinit and we re-assign them later
accordingly.

This way we can make a better decision if this particular change needs
to be reverted, tweaked or can be kept.

Roger,
what do you think?

Imho having more data can't hurt.

Michael


[1] I'd suggest

User: pkg-sysvinit-de...@lists.alioth.debian.org
Usertags: tmp-on-tmpfs

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Latest update borks

2012-03-05 Thread Michael Biebl
On 05.03.2012 14:46, Frank McCormick wrote:

 Processing triggers for initramfs-tools ...
 update-initramfs: Generating /boot/initrd.img-2.6.38-2-686
 FATAL: Module xhci not found.
 FATAL: Module ext4dev not found.
 FATAL: Module af_packet not found.
 FATAL: Module atkbd not found.
 FATAL: Module zfcp not found.
 FATAL: Module dasd_diag_mod not found.
 FATAL: Module dasd_eckd_mod not found.
 FATAL: Module dasd_fba_mod not found.
 FATAL: Module unix not found.
 WARNING: could not open 
 /var/tmp/mkinitramfs_bOtJbL/lib/modules/2.6.38-2-686/modules.builtin: No 


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659866

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Gnome package now requires installing tracker?

2012-02-14 Thread Michael Biebl
On 14.02.2012 17:04, Camaleón wrote:
 On Tue, 14 Feb 2012 10:55:28 -0500, Tom H wrote:
 
 On Tue, Feb 14, 2012 at 9:51 AM, Camaleón noela...@gmail.com wrote:
 On Mon, 13 Feb 2012 21:52:25 +0100, Claudius Hubig wrote:

 Given this enormous amount of dependencies, I really don’t think you
 can complain about tracker.

 More than a complaint, I'd like to know why there exists such as
 requirement now. It was not just a few weeks ago.

 This requirement comes from upstream. 
 
 (...)
 
 Any document to support that statement?

Tom is right.
gnome-documents is in the official set of apps for GNOME 3.2 [1] and the
gnome meta package is just following upstream here.

That said, it's a meta package. If you don't like it, don't use it.

Michael

[1] http://ftp.gnome.org/pub/GNOME/apps/3.2/3.2.2/sources/
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Gnome package now requires installing tracker?

2012-02-14 Thread Michael Biebl
On 14.02.2012 18:13, Camaleón wrote:

 I'm not speaking about gnome-documents but gnome. I have gnome and 
 I don't have installed many of the listed applications. 
 
 What makes this package different (and a requirement) is what I'd like to 
 know.

Seriously, what is so hard to understand.

The gnome-related metapackages in Debian are modelled after what
upstream uses in their core [1] and apps [2] set of libraries and
applications.

Simple as that.

That gnome-documents uses tracker is an implementation detail.

Michael

[1] http://ftp.gnome.org/pub/GNOME/core/3.2/
[2] http://ftp.gnome.org/pub/GNOME/apps/3.2/
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Gnome package now requires installing tracker?

2012-02-14 Thread Michael Biebl
On 14.02.2012 18:49, Tom H wrote:
 Perhaps Debian's GNOME maintainers could change the dependency to a
 file indexer and have users choose the indexer that strikes their
 fancy (I'm assuming that there are many but I only know of Beagle -
 does Google Desktop Search have a Linux version?). Someone could
 submit such an RFE but I wouldn't expect the maintainers to go for it
 (it's my opinion not a certainty!).

If such an alternate file indexer and metadata db provides the same
functionality as tracker and the same (D-Bus) interfaces, this would be
possible.
There is none though. gnome-documents relies on the functionality of
tracker, so there is no option really.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Gnome-keyring problem

2012-02-07 Thread Michael Biebl
On 07.02.2012 09:12, Camaleón wrote:
 Johann Spies jspies at sun.ac.za writes:
 
 On Mon, Feb 06, 2012 at 06:16:38PM +0200, Camaleón wrote:

 The following problem is preventing me from printing:

 WARNING: gnome-keyring:: couldn't connect to:
 /tmp/keyring-SkXSYp/pkcs11: No such file or directory
 HP_LaserJet_P3005_15CFFF is not ready

 There are two (probably the same thing) bugs recorded about this:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653011

 There's a possible bypass in that report (message #36) which basically 
 consist in starting the associated daemon at login.

 I have seen that.  I have gnome-keyring-daemon as a startup program in
 xfce but that makes no difference to the problem.
 
 Ensure the daemon/s are already started and if still no go, add your comments
 there. The bypass posted was for xfce/lxde users and at least it worked for 
 the
 reporter.
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649408

 This seems to be solved in gnome-keyring 3.2.2-2

 I have 3.2.2-2 installed and I still get the same errors about
 gnome-keyring being unable to connect to pkcs11.
 
 Then maybe this bug was not related to the issue.

Yepp, these are two different issues.
The one about pkcs11 is only affecting non-gnome (e.g. xfce).
But the bug report has all details, really. So I won't repeat them here.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: icedove 8.0-2 not opening http links in browser

2012-02-04 Thread Michael Biebl
Hi everyone,

On 20.01.2012 00:09, MRH wrote:
 Hi,
 
 After my recent update (Debian sid on amd64, icedove 8.0-2, iceweasel 
 9.0.1-1) everytime I click a link in email it asks me to choose an 
 aplication to open the link with (Launch Application). I'm aware I can 
 choose Iceweasel and tick to always use it, but I think it should (and 
 did) use a global settings (ie x-www-browser, which is actually set to 
 iceweasel).
 
 How can I fix it? I checked update-alternatives (for x-www-browser, it's 
 OK),
 icedove / config:
 network.protocol-handler.app.http = x-www-browser
 
 What do I miss? Is it a bug?

I was bitten by this bug too so I did some debugging and I think I found
the culprit.

Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658479#15

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: hi, how to set gnome3 in fallback mode?

2012-01-19 Thread Michael Biebl
On 20.01.2012 08:34, shiyao.ma wrote:
 I did a fresh installation of debian tesing on my laptop. After first 
 login, the gnome3 told me that due to hardware problem, gnome3 was in 
 fallback mode. Thus, I installed the linux-firmware-nonfree. After a 
 restart, the gnome3 was in standard mode automatically. However, I found 
 myself like the fallback mode more.  I found System settings-System 
 info-Graphics has no setting of fallback mode. It just shows that I am 
 in standard experience.
 How can I set it to fallback mode again?

- Make sure gnome-session-fallback is installed.
- Choose GNOME Classic in the login manager (gdm3)


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: install GNOME 3 in debian 6.0.3

2012-01-07 Thread Michael Biebl
On 07.01.2012 19:57, hamed hosseini wrote:
 *hi
 
 how can i install GNOME 3 in Debian 6.0.3?
 
 is GNOME 3 safe and stable for Debian 6.0.3?*

No, that is not supported and easily possible.

If you want GNOME 3, upgrade to testing or unstable.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Find which package has installed some file under /etc

2011-12-17 Thread Michael Biebl
On 18.12.2011 01:00, Vincent Lefevre wrote:
 Is there a way to find which package has installed some file
 under /etc? For conffiles, there is dlocate or dpkg -S, but
 what about the other files (installed in postinst)?

ucf is also used to manage configuration files.
As those files are not registered in the dpkg db, you need to use ucfq
to query the ucf internal database.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: for those who dislike gnome3-shell

2011-12-03 Thread Michael Biebl
On 03.12.2011 18:24, Richard wrote:
 It really is a shame that the extensions to gnome-shell haven't been added to 
 the repos.
 IMO had the deb devs done that, 80 % of the winges would not have happened.
 The only extension I'd like is the one which puts shutdown on the menu as 
 well as suspend.

http://packages.debian.org/experimental/gnome-shell-extensions

We will even enable the alternative-status-menu by default in one of the
next uploads.

And in case you are wondering, why it's currently in experimental:

It requires gnome-shell 3.2, which is currently in experimental and we
have to wait from the release team until we get the ack for libgda/evo
and gnome-desktop transitions.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Sid, GNOME 3: Alt-F2 stopped working

2011-12-01 Thread Michael Biebl
On 01.12.2011 11:58, Richard wrote:
 On Thu, 1 Dec 2011 04:30:42 -0600
 
 Michael Biebl,  1.12.2011:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649577
 
 ALT F2, enter command is functional, so is ALT F1, kill current app.
 
 So does ALT Backspace, delete last word in a xterm.
 maybe you need to update ?

The version from experimental is indeed not affected by this bug.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: dbus issue

2011-12-01 Thread Michael Biebl
First of all, it is helpful to know if you are running (an up-to-date)
squeeze, wheezy or sid system.

On 01.12.2011 15:49, lina wrote:
 (it's related to former thread, but also different)
 
 Here the problem,
 
 gdm3 restart
 
 showed me Could not connect to system bus: failed to connect to socket
 /var/run/dbus/system_bus_socket: no such file or directory
 
 actually there is no /dbus directory under /var/run
 
 I checked the dbus and related libs seems installed, or might still
 lack someone,

On wheezy and sid /run is a volatile tmpfs nowadays, and /var/run and
/var/lock are symlinks pointing to /run resp. /run/lock.

What is the output of ls -l /var/run and ls -l /var/lock ?
The /var/run/dbus directory is created by the dbus init script. Do you
start dbus in /etc/rc?.d/?
ls -ls /etc/rcS.d and /etc/rc?.d  and the output of service dbus status
will be helpful, too.




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Trouble with remote rsyslog

2011-11-30 Thread Michael Biebl
A couple of issues:

On 30.11.2011 06:03, vr wrote:
 I'm having trouble getting remote rsyslog to work.
 Can anyone look over my config and offer clues what I've done wrong 
 please?
 
 
 SENDING SERVER (99.30.25.3, Squeeze, up to date)
 
 /etc/rsyslog.conf
 $ModLoad imudp
 $UDPServerRun 514
 main.info @99.30.25.3
 mail.warn @99.30.25.3
 mail.err  @99.30.25.3
 
 /etc/default/rsyslog
 RSYSLOGD_OPTIONS=-c4

On the client, i.e. the sending host, you don't need $ModLoad imudp and
$UDPServerRun 514, that is only need for the receiving server.

And as was already mentioned, you are sending the messages to yourself


 RECEIVING SERVER (99.30.25.2, Squeeze, up to date)
 
 /etc/rsyslog.conf
 $ModLoad imudp
 $UDPServerRun 514
 
 
 /etc/default/rsyslog
 RSYSLOGD_OPTIONS=-r

The options in /etc/default/rsyslog (as documented) are outdated. Keep
the default compat level (-c 4) and use the $UDPServerRun directive, as
you already did.

A trivial example:

sender (10.20.30.40):
*.* @11.22.33.44


receiver (11.22.33.44):
$ModLoad imudp
$UDPServerRun 514
*.* /var/log/all


That's all.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Sid, GNOME 3: Alt-F2 stopped working

2011-11-30 Thread Michael Biebl
On 01.12.2011 07:29, Brian Flaherty wrote:
 For a week or so, Alt-F2 (run a command) won't run anything. If I just 
 type a command such as xterm, it says command not found. 
 


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649577

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Gnome3 in fallbback mode even with radeon/R100_cp.bin is running ok

2011-11-26 Thread Michael Biebl
On 27.11.2011 05:56, Hor Jiun Shyong wrote:
 Hi,
 
 My Gnome 3 still runs in fallback mode even after installing 
 firmware-linux-nonfree for   radeon/R100_cp.bin.   Appreciate if anyone 
 could provide some advice, thanks.  Jiun Shyong

R100 type hardware is not sufficient (missing OpenGL functionality).
IIRC the minimum required hardware is R300 and onwards.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: disable Gnome 3 screen lockout

2011-11-20 Thread Michael Biebl
On 20.11.2011 15:45, Camaleón wrote:
 On Sun, 20 Nov 2011 07:33:36 -0700, Paul Scott wrote:
 
 Upgrade to Gnome 3 has enabled a screen lockout after inactivity.  I
 used to be able to find such things.  How do I disable this.
 
 Go to System configuration → Personal sub-section → Screen and turn it 
 off from there.

Just use the builtin search.

Start gnome-control-center, type lock, et voila.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: disable Gnome 3 screen lockout

2011-11-20 Thread Michael Biebl
On 20.11.2011 15:45, Camaleón wrote:
 On Sun, 20 Nov 2011 07:33:36 -0700, Paul Scott wrote:
 
 Upgrade to Gnome 3 has enabled a screen lockout after inactivity.  I
 used to be able to find such things.  How do I disable this.
 
 Go to System configuration → Personal sub-section → Screen and turn it 
 off from there.

Just use the builtin search.

Start gnome-control-center, type lock, hit enter, et voila.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: disable Gnome 3 screen lockout

2011-11-20 Thread Michael Biebl
On 20.11.2011 16:00, Camaleón wrote:
 Start gnome-control-center, type lock, hit enter, et voila.
 
 That won't work in a localized GNOME ;-)
 
 In Spanish the term is bloquear so searching for lock returns no 
 results.

I obviously would assume that a Spanish speaking person would use the
Spanish word for lock if he runs a DE with a Spanish locale.

And localized search will of course work. I use de_DE and searching for
sperren (German for lock) does turn up the correct results.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: NIS user member of plugdev, gnome-mount of flash drive raises error [SOLVED]

2010-03-27 Thread Michael Biebl
On 27.03.2010 08:17, Joseph Lenox wrote:
 On 3/25/2010 6:18 PM, Michael Biebl wrote:

 You might try using at_console and consolekit.


 
 I tried installing policykit and using that, got identical errors as 
 without (Dbus access error).

How exactly do you users login and start their X session?
gdm, kdm, XDMCP anything else?

If the user is logged in, does he have an *active* ConsoleKit session?
Check the output of ck-list-session.

 After a lot of fiddling, I finally modified
 the hal configuration in dbus to allow those interfaces to all users 
 (copy/paste'd the relevant lines from the plugdev entry).

Opening up the hal configuration completely is dangerous so I strongly recommend
against that. Try to find out, why consolekit is not working as expected.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Squeeze Gnome Preferences Removable Drives and Media

2010-03-26 Thread Michael Biebl
On 26.03.2010 22:31, Paul E Condon wrote:
 I've been running Squeeze on my desktop computer for many weeks and
 just today noticed that Removable Drives and Media is not available
 in the Gnome Preferences menu. It is/was available in Lenny, but not
 Squeeze, at least not for me.
 
 Googling indicates this is a known issue, but seems to be ignored as
 being somehow uninteresting to GUI users, or something. I can't find
 anything that is Debian specific on this. 

In Sid/Squeeze, gnome-volume-manager no longer handles automounting of removable
drives. That is directly managed within nautilus/gvfs nowadays.
You can configure this settings in nautilus: Edit-Preferences-Media.

See also the changelog of gnome-volume-manager.

The main purpose of g-v-m in sid/squeeze remains to handle special cases like
handling  webcam  plugin events and stuff.

HTH,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: NIS user member of plugdev, gnome-mount of flash drive raises error

2010-03-25 Thread Michael Biebl
Am 25.03.2010 23:38, schrieb Joseph Lenox:
 
 I tried the pam_group approach, and id says the user is in the plugdev
 group, but I'm still getting a permissions error from DBus. Adding the exact
 user to the plugdev group on the local machine worked as far as the mounter.
 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501807

You might try using at_console and consolekit.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Why does installing gnome packages versioned 2.28+6 insist on installing gnash?

2010-03-22 Thread Michael Biebl
Am 17.03.2010 09:05, schrieb Mark Allums:
 Gnash is a noble effort.  Gnash sucks.  I want choice, and my choice is 
 Adobe Flash.  Installing Gnash screws up Flash.  Right now, I can refuse 
 to update GNOME on Squeeze any further, but the time will come when that 
 will not be a viable option.  Why does GNOME require Gnash?  And what 
 can I do to put a stop to it?
 
 
http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/meta-gnome2/debian/?rev=23128sc=1

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Change In Restarting Services

2010-03-18 Thread Michael Biebl
On 18.03.2010 09:38, Adamou Nacer wrote:
 It seems to me that the debian way to achieve this task from the 
 commandline is to use the following command:
 invoke-rc.d networking restart

invoke-rc.d is not really meant to be used by the casual system admin/user.
It was designed to be used in debian maintainer scripts.

You should better use /etc/init.d/foo action or service foo action

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: why does resolv.conf change?

2010-03-18 Thread Michael Biebl
On 18.03.2010 16:53, Clive McBarton wrote:
 My /etc/resolv.conf gets overwritten periodically. Any ideas why?
 
 I thought network-manager was the culprit and deinstaled it, but the
 problem persists.

If you are using network-manager, you can easily

Open nm-connection-editor and select the connection your are using, got to the
ipv4 settings tab
In the Method dropdown box, specify Automatic (DHCP) adressess only, and set
set your dns server and search domain to you wishes.

When you then activate that connection in nm-applet, network-manager will not
use the settings from the dhcp server but the one you've setup manually.

hth,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Rsyslog template

2010-02-02 Thread Michael Biebl
On 27.01.2010 22:14, Stan Hoeppner wrote:

 
 /usr/share/doc/rsyslog-doc/html/
 
 My Linux machines are all headless, and I've never bothered with trying to
 symlink all the various html doc directories into lighty virtual directories
 just to get access to them via a browser.  That is a huge waste of OP time.
 This penchant for html documentation is a PITA for administering headless
 servers.  Quite frankly, this really surprises me in the case or rsyslog.  The
 folks around the world most likely to be making serious use of rsyslog
 capabilities (not casual use) are the most likely to be running a datacenter
 full of headless servers without easy access to these html doc directories.
 Plain text versions of all Debian/Linux system documentation should be 
 included
 by default.  I'm guessing the rsyslog folks don't provide plain text only
 documentation, and the Debian rsyslog maintainers didn't want to take the time
 to create a plain text only version of the docs.
 
 How about the case for headless servers that don't run a web server at all?  
 How
 then does an admin access this html documentation for rsyslog?  This is a sad
 state of affairs IMO.

You can use lynx or w3m for viewing html files on the console or via SSH.
That said, the documentation of rsyslog can certainly be improved. Especially
the organization is lacking. There is a lot of documentation but not very well
structured or indexed.
Rsyslog upstream is looking for help here, especially with regard to docbook,
which would allow several output formats.
So anyone with experience in that area is most welcome.


Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Rsyslog template

2010-02-02 Thread Michael Biebl
On 27.01.2010 06:21, Stan Hoeppner wrote:
 less than a fan of rsyslog after upgrading to Lenny and finding that rsyslog 
 has
 a virtual memory footprint of over 30MB(!) compared to only a few hundred
 kilobytes for the old sysklogd.  Rsyslog is a $deity d...@mn memory hog, and
 there's no good reason for that.  Any syslogd should be miserly on resources.

You need to be careful with those numbers. That is virtual memory, which doesn't
tell you a lot, and is is basically due to rsyslog using modules.
The linux linker reserves 10Mb virtual memory per dlopened  module.
The default debian rsyslog.conf comes with 2 modules loaded = 20Mb + 10 Mb for
the rsyslog main process = 30 Mb virtual memory.

What is more interesing is the resident or writable memory.

rsyslog uses 560 Kb of resident memory on my machine.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: kdm not working after upgrade from KDE 3.5 to 4.3.4

2010-01-19 Thread Michael Biebl
Thierry Chatelet wrote:

 This is a bug in kdm squeeze and sid. You have to log twice and it will work.
 Thierry

This was actually an issue with consolekit and fixed consolekit packages are in
unstable and will transition to testing in a few days.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: syslog on Lenny

2010-01-15 Thread Michael Biebl
Boyd Stephen Smith Jr. wrote:
 On Thursday 14 January 2010 07:27:22 Roman Gelfand wrote:
 I am running a service which generates logs.  What do I need to do to
 haave these log entries also appear in syslog?
 
 That's not how syslog works.  There's isn't a process that goes through and 
 gathers logs from various services and glues them together into a unified 
 syslog.
 
 Instead there's a unified syslog service (C system call) that multiple 
 applications can use.  Each time a log is made it is tagged with a facility 
 and level.
 
 Then your syslog daemon receives all these logs.  It writes most of them out 
 to syslog, but it can also differentiate based on facility, level, and 
 content 
 of the log message.
 
 BTW.. I modified /etc/rsyslog.conf file adding 'abcf.*
 -/var/log/abc.log' line.  This didn't make a difference.
 
 This would mean that anything logged using the syslog interface (C language 
 call) that started with abcf.* would be written to /var/log/abc.log by your 
 syslog daemon.  It does not causes the syslog daemon to pull messages out of 
 /var/log/abc.log, add the abcf prefix and append them to /var/log/syslog.
 
 If you want the syslog daemon to see the messages logged by a program, that 
 program has to support using syslog and you have to configure it to write to 
 syslog (generally by specifying a facility and, optionally, a prefix), 
 possibly in addition to other logging.  Then, if you want the messages to 
 appear somewhere in addition to / instead of /var/log/syslog, you configure 
 your syslog daemon by filtering on the facility/level/content.

Thanks Boyd for the nice explanation.

I just want to add, that rsyslog actually has the ability to pull messages out
of an arbitrary file (although I wouldn't use this mechanism on a syslog log
file). See http://www.rsyslog.com/doc-imfile.html for further info

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: several udevd processes

2009-12-18 Thread Michael Biebl
Jörg-Volker Peetz wrote:
 On testing(squeeze) systems with udev version 149-1 there are running
 three udevd processes.
 Is this intended, and if yes, why?
 TIA for any hints.

This is normal. Afaik this was done to speed up processsing of (new) devices.
In previous versions, udevd spawned a new udev process everytime when a (new)
device was processed.

This processes you see now are called workers and the main udevd process hands
over the processing of devices to them instead of spawning new ones.
I think the NEWS file has some references to that.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Laptop won't resume from suspend to ram

2009-12-17 Thread Michael Biebl
Adriano Vilela Barbosa wrote:
 PS: Is there a way to know which packages migrated from sid to testing on a
 given day? If so, and given that some package upgrade was indeed what caused
 the problem, that would help me find the culprit.

dpkg writes a log in /var/log/dpkg.log. You can check there which packages have
been upgraded.
To debug the suspend to ram failure, you can run
PM_DEBUG=1 pm-suspend (as root)
and check the log file /var/log/pm-suspend.log for failures.

(You can send me private copy if you want).

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Please test experimental gvfs packages

2009-11-18 Thread Michael Biebl
Josselin Mouette wrote:
 Hi,

Hi

 since Michael Biebl fixed IDE CD support in devicekit-disks, the
 GDU-enabled version of gvfs (currently in experimental) should be usable
 again.

The packages and the versions are
gvfs_1.4.1-5+gdu
gvfs-backends_1.4.1-5+gdu
gvfs-bin_1.4.1-5+gdu (optional)
gvfs-fuse_1.4.1-5+gdu (optional)

logout/login from your current GNOME session (or reboot your machine).

 Before uploading it to unstable, I’d appreciate if some adventurous
 people could test it and report any regressions.

I'm especially interested if automounting/media detctions of cd-roms is working
properly with ide-cd. You will easily know if you are using ide-cd, if your
cd-rom device is something like /dev/hd* (whereas libata used /dev/sr* resp.
/dev/scd*).

If you have any problems, please CC me or contact me directly.
Succesfull test report are of course also welcome.

Cheers,
Michael




signature.asc
Description: OpenPGP digital signature


Re: Network Manager wants to access default keyring

2009-10-27 Thread Michael Biebl
Preston Boyington wrote:
 (commented in-line)
 
 On Mon, Oct 26, 2009 at 6:00 PM, Michael Biebl bi...@debian.org wrote:
 snipped
 You are using Debian testing, so I guess you use NM 0.7.
 
 specifically 0.7.1-1
 
 If so, you have two options:

 Mark the connection as system connection in nm-connection-editor (Available 
 to
 all users). This way the key is stored system wide (in
 /etc/NetworkManager/system-connections/). That's basically what wicd does.
 
 for whatever reason after I check the box (Available to all users) it
 doesn't seem to stick.

You most likely didn't install the policykit and policykit-gnome package (which
is a recommends of network-manager-gnome)

 The other option is, to use libpam-gnome-keyring. Set your keyring password 
 the
 same as your login password, and on login your gnome-keyring will 
 automatically
 be unlocked.
 
 I've re-created my keyring and made sure that the libpam files are
 installed.  Still the same message.
 
 After rebooting I took a more careful look at the message:
 The application 'NetworkManager Applet' (/usr/bin/nm-applet) wants to
 access the default keyring, but it is locked
 
 so is it actually talking about the little applet running in the
 taskbar not having permission?  what's the workaround for this...
 other than typing the password each time.

As already said, setting gdm to autologin will of course not work. you actually
have to type your password once.
If you are using autologin, you might just as well use a blank password for your
gnome-keyring (not that i recommend that).

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Network Manager wants to access default keyring

2009-10-27 Thread Michael Biebl
Preston Boyington wrote:
 On Mon, Oct 26, 2009 at 6:00 PM, Michael Biebl bi...@debian.org wrote:

 Mark the connection as system connection in nm-connection-editor (Available 
 to
 all users). This way the key is stored system wide (in
 /etc/NetworkManager/system-connections/). That's basically what wicd does.
 
 for whatever reason after I check the box (Available to all users) it
 doesn't seem to stick.

If you check the box, the Apply button should change its icon and have a
keyring on it. Then pressing Apply should pop up an authentication dialog,
asking you for the root password. Do you get such a dialog?

For further discussion, I guess we should take this off list.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Network Manager wants to access default keyring

2009-10-26 Thread Michael Biebl
Preston Boyington wrote:
 I have Debian Testing with the Gnome environment setup on a friends'
 laptop.  In an effort to make things easier to use I'm trying to stick
 with Network Manager because of the PPP support for the USB cellular
 broadband.
 
 Each time the computer is started (GDM auto logins to user) NM asks to
 access the default keyring.  How do I get it to automagically work
 without having to input the keyring password each time?
 
 Wicd does this automatically without this annoyance so how do I set NM
 up to work the same way?
 
 So far my searching hasn't found a good workaround.  Any help will be
 appreciated.

You are using Debian testing, so I guess you use NM 0.7.
If so, you have two options:

Mark the connection as system connection in nm-connection-editor (Available to
all users). This way the key is stored system wide (in
/etc/NetworkManager/system-connections/). That's basically what wicd does.

The other option is, to use libpam-gnome-keyring. Set your keyring password the
same as your login password, and on login your gnome-keyring will automatically
be unlocked.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: CD Drawer open/close by itself

2009-10-25 Thread Michael Biebl
Antoine Cailliau wrote:
 The problem is the following one: when I open my cd drawer (with eject
 or by pressing the button on the drawer), the drawer open and then close
 (after less than 1 sec).
 
 
 I do not know what I can do to narrow my search and locate the faulty
 part in order to solve the bug.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550316

For the time being, we disabled gdu/devicekit-disks support in gvfs again
(update to 1.4.1-2), which triggered this behaviour.


HTH,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Unable to shutdown or restart from gnome

2009-10-18 Thread Michael Biebl
Mr. Wang Long wrote:
 Hi,
 
 Recently I upgrade devicekit-power from 009-1 to 011-1 and
 gnome-power-manager from 2.26.3-1 to 2.28.0-1 (experimental). After
 that I cannot shutdown or restart or suspend from gnome: The
 shutdown item in system menu near the top-left corner disappeared,
 left only lock screen and log out. Any ideas?
 
 I upgrade gnome-power-manager to experimental because devicekit-power
 breaks  lower versions of that package.
 

You will have to wait for gnome-session 2.28 or downgrade gnome-power-manager to
2.24, the current version in unstable.

When gnome-session 2.28 is uploaded to unstable, gnome-power-manager 2.28 from
experimental will also be uploaded to unstable.

I.e, there is a reason why gnome-power-manager 2.28 is currently in 
experimental :-)

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-16 Thread Michael Biebl
Joe wrote:
 Michael Biebl wrote:
 Mitchell Laks wrote:
 Hi,

 I recently  did a sid dist-upgrade, and could no longer boot using 
 linux-image-2.6.30-2-686-bigmem kernel
 and had to boot off an old 2.6.26 kernel.
 ..

 This is a problem. 

 I guess the real problem is, that you should be more careful when doing
 dist-upgrades about which packages are removed.

 Or better use a simple upgrade which does not remove packages automatically.


 So could I ask what the correct answer actually is? 

Just wait a couple of days until this issue is sorted out properly.
Until then, just put the lvm/dmsetup package on hold and be careful when you 
uprade.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-15 Thread Michael Biebl
Mitchell Laks wrote:
 Hi,
 
 I recently  did a sid dist-upgrade, and could no longer boot using 
 linux-image-2.6.30-2-686-bigmem kernel
 and had to boot off an old 2.6.26 kernel.

..

 
 This is a problem. 
 

I guess the real problem is, that you should be more careful when doing
dist-upgrades about which packages are removed.

Or better use a simple upgrade which does not remove packages automatically.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Sysv-rc (Urgent)

2009-09-07 Thread Michael Biebl
Am 07.09.2009 15:04, schrieb David Baron:

 2. It may be a while before many debianers will in fact migrate. Some may 
 never do so. Sysv-rc is uninstallable if the safety-check comes up with 
 errors. Since, once these errors are fixed and one rally wants to go over, 
 one must run dpkg-reconfigure, why should sysv-rc be unconfigured? This 
 should 
 probably be a bug-report.
 

That is indeed a bug, and I guess it's
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545261
which you encountered. It's already been fixed and a new package has
been uploaded



Cheers,
Michael



signature.asc
Description: OpenPGP digital signature


Re: Sysv-rc (Urgent)

2009-09-06 Thread Michael Biebl
David Baron wrote:

 Purging bittorrent and the othes leaves me with obsolete init.d scripts from 
 jackd and timidity. I want these packages but not necessarily the init.d 
 scripts to start them. (In fact, Timidity now has a separate daemon package.) 
 So how do I fix this.

The correct way to disable is not to remove the symlinks (which insserv
complains about) but to rename the S?? symlinks to K?? symlinks. See also man(8)
update-r.cd

If you do that, then the upgrade check should no longer complain.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Network Manager cannot be removed

2009-08-30 Thread Michael Biebl
Stefan Monnier wrote:
 I'm not fond of wicd (I think its UI is pretty clunky), but at least
 it's not as fundamentally flawed as NM (which didn't seem to understand
 that Gnome is designed for POSIX systems which are by nature multi-user;

Can you explain what exactly you mean by that and why NM isn't multi-user.

Seems more like the usually NM bashing, sorry, but I'm willing to clear any
misconceptions about NM.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Network Manager cannot be removed

2009-08-30 Thread Michael Biebl
JoeHill wrote:
 This is going to drive me nuts.
 
 I've removed Network Manager in the past because it causes no end of trouble,
 especially because it never seems to think I'm connected to the Internet, so
 everything starts in 'offline' mode.

Assuming you are using testing/unstable:

I guess you have your network interface configured in /etc/network/interfaces.
The default configuration in /etc/NetworkManager/nm-system-settings is
managed=false, which tells NM to ignore interfaces configured in /e/n/i.

Now you can either set managed=true (and killall nm-system-settings) or remove
the interface configuration in /e/n/i and manage the connection via 
NetworkManager.

A third way is, if you want to *disable* NM without uninstalling it, to disable
the init script, so the daemon is not started at boot and none of the desktop
applications will then query NM for on/offline state.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Reliable remote logging with rsyslog on lenny

2009-08-27 Thread Michael Biebl
Cameron Hutchison wrote:

 
 How do I enable the reliable logging feature of rsyslog?

You will need to install the rsyslog and rsyslog-relp package from backports, as
in lenny there is no rsyslog-relp package, thus no relp functionality.

Cheers,
Michael

[1] http://backports.org/dokuwiki/doku.php
[2] http://packages.debian.org/lenny-backports/rsyslog

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Configuring polkit-gnome-authorization without a root password

2009-08-11 Thread Michael Biebl
louish wrote:
 On 8/9/09, Michael  wrote:
 
 (Sorry for the delayed reply.)
 
 LH wrote:
 What changes do I need to make to my Debian setup that would allow me
 to configure Authorizations without an explicit root password. I know
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536490
 
 That appears to solve the problem. But how much of a security risk is it to
 work under the admin group?

I guess you were refererring to the adm group, as there is no admin group in
a default debian setup.
It's correct, that the adm group has some special privileges in Debian, like
e.g. acess to all log files.

If you are worried about this, create your own group, like localadmins, and use
that in the PolicyKit conf file.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: 60 console-kit-daemons

2009-08-11 Thread Michael Biebl
Hugo Vanwoerkom wrote:
 Hugo Vanwoerkom wrote:
 Hi,

 Since upgrading to the latest Xorg htop shows 60 console-kit-daemons.

 Do I need all 60? What do they do?

 
 Actually there are 64 threads all the time. This describes the phenomenon:
 http://bbs.archlinux.org/viewtopic.php?id=57491
 
 Nobody noticed this? You will!
 

You might as well just have looked at the Debian BTS
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526499

This bug report also has some links to background information what the reasons
are behind the 64 threads (and possible fixes).

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Configuring polkit-gnome-authorization without a root password

2009-08-08 Thread Michael Biebl
Louis Housman wrote:
 What changes do I need to make to my Debian setup that would allow me
 to configure Authorizations without an explicit root password. I know

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536490

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: X11 without HAL: DontZap in /etc/X11/xorg.conf doesn't work anymore

2009-07-15 Thread Michael Biebl
Rick Thomas wrote:
 On Jul 15, 2009, at 1:30 PM, Asumu Takikawa wrote:
 
 setxkbmap -option terminate:ctrl_alt_bksp

 
 This is good to know.  How often does this have to be done?  Can I do  
 it once and have it survive past closing my X session?  Past logging  
 out?  Past a reboot?
 
 There was some talk earlier of a Debian-Specific patch that would  
 restore this functionality as the default option.  What has happened  
 to that?

dpkg-reconfigure console-setup

Anser Yes to:

  | By default the combination Control+Alt+Backspace does nothing.  If you   │
  │ want it can be used to terminate the X server.   │
  │  │
  │ Use Control+Alt+Backspace to terminate the X server?


(tested with 1.44)



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: mounting ntfs partition

2009-06-26 Thread Michael Biebl
Nima Azarbayjany wrote:
 Yes, you're right.  So can anyone tell me why is this message that the file
 system is unknown in printed?

Do you have /usr on a separate partition?
Because ntfs-3g on Debian is installed to /usr.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: automount - gnome-volume-manager vs. nautilus

2009-06-10 Thread Michael Biebl
Wolodja Wentland wrote:
 Hi all,
 
 I have been using gnome-volume-manager to automount USB/CD/.. media but that 
 no longer works for me. I am *not* running GNOME, but some GNOME related 

 Does anybody have good suggestions?

What kind of desktop environment are you running?

If you need a desktop agnostic automount daemon, maybe ivman is for you
(although I never used it myself).

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: automount - gnome-volume-manager vs. nautilus

2009-06-10 Thread Michael Biebl
Wolodja Wentland wrote:
 On Wed, Jun 10, 2009 at 17:12 +0200, Michael Biebl wrote:
 Wolodja Wentland wrote:
 Hi all,

 I have been using gnome-volume-manager to automount USB/CD/.. media but 
 that 
 no longer works for me. I am *not* running GNOME, but some GNOME related 
 Does anybody have good suggestions?
 
 What kind of desktop environment are you running?
 I am running xmonad - so no DE at all.
 
 If you need a desktop agnostic automount daemon, maybe ivman is for you
 (although I never used it myself).
 
 It seems like ivman is orphaned [1], so i don't think it is a good 
 alternative.

Well, if it works, why not. It should probably have been titled as RFA.
Anyways, there is also thunar (from Xfce).

You can run thunar --daemon and use thunar-volman -c for configuration.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: How to add a hibernate shortcut?

2009-04-26 Thread Michael Biebl
tchomby wrote:
 Is there a way to add a one-click panel icon and/or keyboard shortcut to 
 hibernate the computer?
 

apt-get install gnome-power-manager



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Things I'm missing/misconfiguring in KDE 4.2

2009-04-25 Thread Michael Biebl
M. Henne wrote:
 Hi all,
 
 After playing with KDE 4.2 for a while, I was able to regain
 some functionality of KDE 3.5, but I'm still missing some 
 things that I either haven't found yet or they did not exist.
 
 If they exist, can someone tell me how to get that function?
 
 1. (program starter)
 In KDE 3.5, there was a mini-application for the kicker
 that gave me an input line to enter a command and start
 a program directly. I could not find that in KDE 4.
 
 2. (math expressions)
 There was a kicker applet that was able to evaluate mathematical
 expressions that could be typed in using an input line on the
 kicker. There is such a thing in KDE 4, but it lacks a lot
 functionality (e. g., it has no history and could not 
 parse some functional inputs).

Should both be provided by krunner, which you can access by pressing ALT+F2

FWIW, krunner is much more powerful then the old ALT+F2 dialog.

 
 4. (konsole tab to window)
 In the Konsole of KDE 3.5 I was able to turn an opened tab 
 into a new Konsole window. It's not possible in Konsole of KDE 4. 

ALT+SHIFT+H ?

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: not an 8139C+ compatible chip, Try the 8139too driver instead

2009-04-23 Thread Michael Biebl
jida...@jidanni.org wrote:
 Now in 2.6.29-1-686 it just says
 8139cp :00:0f.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible 
 chip, use 8139too
 I assume use here is short for using and means I, the emitter of
 this message, will use, and not you, the person reading this message,
 should use, and thus I needn't worry about it.

blacklist the 8139too module and be happy.

echo blacklist 8139too  /etc/modprobe.d/blacklist.conf

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: not an 8139C+ compatible chip, Try the 8139too driver instead

2009-04-23 Thread Michael Biebl
Michael Biebl wrote:
 jida...@jidanni.org wrote:
 Now in 2.6.29-1-686 it just says
 8139cp :00:0f.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible 
 chip, use 8139too
 I assume use here is short for using and means I, the emitter of
 this message, will use, and not you, the person reading this message,
 should use, and thus I needn't worry about it.
 
 blacklist the 8139too module and be happy.
 
 echo blacklist 8139too  /etc/modprobe.d/blacklist.conf
 

Argh, the other way around, of course:
echo blacklist 8139cp  /etc/modprobe.d/blacklist.conf

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Debian's glacial movement--a rant

2009-04-06 Thread Michael Biebl
Freddy Freeloader wrote:

Hi

 I've never been pissed off at Debian before but I guess there is always 
 a first.

That's usually not a good way to start a discussion (admitted, you said it's a
rant, but aI'll try to answer anyway).

 I'm experiencing a bug in Gnucash that appeared a couple of days ago on 
 my system that makes Gnucash completely unusable for me.  I turned in a 
 bug report on Friday, checked on it yesterday, and by today the bug had 
 been blocked from being displayed.  It could be found by searching 
 Debian's bug tracker, but only if you know the bug id number.   If you 
 just search for bugs in Gnucash the bug does not appear to exist.
 
 The bug was closed, and blocked, because it's been fixed upstream in 
 version 2.2.9 which was released by Gnucash in February of this year. 

Older bugs that have been fixed are automatically archived, so no longer show up
by default. The bts allows you though, to show both archived and unarchived bug
reports. If you are using the web frontend, scroll down to the bottom.

 Great.   The bug has been fixed.   Why it needed to be hidden from being 
 displayed is puzzler for me, but that's the way it is.
 
 Now the bad news.
 
 Since Gnucash in both Sid and Sqeeze is now at version 2.2.6 I only have 
 to wait until Debian works through versions 2.2.7 and 2.2.8 before 
 Gnucash in Debian finally becomes usable for me again in version 
 2.2.9.   As Sid is only 9 months behind Gnucash's release schedule at 
 this point I guess the fact that all my business records for the last 
 couple of years are in Gnucash means I'll be able to start doing my 
 business accounting again sometime after the first of next year, at a 
 minimum, if I wait for Debian
 

so what is your point? Do you think the bug report was not correctly handled by
the maintainer?

Could you please point us to the relevant bug number.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Debian's glacial movement--a rant

2009-04-06 Thread Michael Biebl
Freddy Freeloader wrote:
 Michael Biebl wrote:
 Freddy Freeloader wrote:

 Hi

   
 I've never been pissed off at Debian before but I guess there is always 
 a first.
 
 That's usually not a good way to start a discussion (admitted, you said it's 
 a
 rant, but aI'll try to answer anyway).

   
 I'm experiencing a bug in Gnucash that appeared a couple of days ago on 
 my system that makes Gnucash completely unusable for me.  I turned in a 
 bug report on Friday, checked on it yesterday, and by today the bug had 
 been blocked from being displayed.  It could be found by searching 
 Debian's bug tracker, but only if you know the bug id number.   If you 
 just search for bugs in Gnucash the bug does not appear to exist.

 The bug was closed, and blocked, because it's been fixed upstream in 
 version 2.2.9 which was released by Gnucash in February of this year. 
 
 Older bugs that have been fixed are automatically archived, so no longer 
 show up
 by default. The bts allows you though, to show both archived and unarchived 
 bug
 reports. If you are using the web frontend, scroll down to the bottom.

   
 Great.   The bug has been fixed.   Why it needed to be hidden from being 
 displayed is puzzler for me, but that's the way it is.

 Now the bad news.

 Since Gnucash in both Sid and Sqeeze is now at version 2.2.6 I only have 
 to wait until Debian works through versions 2.2.7 and 2.2.8 before 
 Gnucash in Debian finally becomes usable for me again in version 
 2.2.9.   As Sid is only 9 months behind Gnucash's release schedule at 
 this point I guess the fact that all my business records for the last 
 couple of years are in Gnucash means I'll be able to start doing my 
 business accounting again sometime after the first of next year, at a 
 minimum, if I wait for Debian

 
 so what is your point? Do you think the bug report was not correctly handled 
 by
 the maintainer?
   
 Not at all.  I'm saying because of how far Debian is behind in versions 
 of Gnucash it's going to be unusable by me at least until next year if 
 Debian stays at its current time lag behind Gnucash releases.   As I 
 have all my business records stored in Gnucash this is a major problem 
 for me.
 
 This isn't aimed at any one developer.  It's just a commentary on how 
 Debian moves forward.  And, that's not always a bad thing.  In most 
 cases it's fine as it means stable is exactly that in all meanings of 
 the word, but in this instance this really bites me in a bad way.   
 About my only choices are to spend a couple of days rebuilding and 
 restoring my system with a Lenny install, or moving to a distro that has 
 the current version of Gnucash.  
 
 Part of this is also Gnucash's responsibility because 2.2.9 is built 
 against glib = 2.6.  Not many distro's are using that version of glib, 
 so it doesn't seem to me to make a whole lot of sense if they want the 
 latest versions of their software to be used.  That decision practically 
 guarantees that their a lot of their bug fixes won't be available for 
 the better part of a year to most Linux users.  
 
 You can't even compile from source because of it unless you want to 
 start making what are risky changes for most users.  I certainly 
 couldn't predict what upgrading glib to version 2.6 would do to my 
 system.  
 
 I've been using Debian now for almost 6 years, with a lot of that time 
 spent running testing or unstable on my desktop, and this is the first 
 time I've run across a bug that makes a package I depend on for my 
 business unusable for approximately a year.   I find that to be a big 
 problem. 

Who says, it will take a year. Honestly that sounds a lot like BS.

A lot of libraries were freezed during the lenny release and there are a couple
of library transitions (include libglib) currently ongoing.

My guess is, that it will take one more week or two, until the gnome transitions
have settled and after that there is a reasonable chance that you might expect
a new version of gnucash.

You also have to keep in mind, that for a business critical system, stable or
testing is likely a better option.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: remote log apache2

2009-04-04 Thread Michael Biebl
michal krajcirovic schrieb:
 Hello,
 I have a simple network architecture in which the need to remotely log 
 on apache2. On servers running the same sites for which requests are 
 sent via loadbalancers. And I want to periodically (eg every minute) the 
 logs send to a central log server.
 
 
 +--+
 | apache 1 |-\
 +--+\ ++
  | log server |
 +--+/ ++
 | apache 1 |-/
 +--+
 
 
 I tried syslog-ng, but not satisfied me too, someone used some other 
 solution that would recommend?

I'd suggest a simple central log server (using rsyslog). And on the
apache host, you log to rsyslog then forwards the message to the rsyslog
server

Configuration on the rsyslog server (/etc/rsyslog.conf)
snip
$ModLoad imudp
$UDPServerRun 514
snip
local0.* /var/log/apache_host1.log
local1.* /var/log/apache_host2.log

Configuration on the apache host / syslog client
/etc/rsyslog.conf
snip
local0.* @192.168.1.1 (ip address of your rsyslog server, choose
facility local1 on your second apache host)
snip

apache.conf

ErrorLog syslog:local0
...
CustomLog |/usr/bin/logger -p local0.info common

That's it.

See also [1]

hth,
Michael


[1] http://www.devshed.com/c/a/Apache/Logging-in-Apache/3/

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Problems bridging wpa-supplicant

2009-04-02 Thread Michael Biebl
Bob van der Moezel wrote:
 I am trying to bridge a wireless channel with a wired channel (and some KVM
 tap/tun channels for virtual servers).

 
 I am running Debian Testing, bridge-utils 1.4-5 and wpasupplicant 0.6.4-3.
 
 Any ideas to get this to work? (I sent two days without any luck).


I think you need parprouted for that to work

Michael



signature.asc
Description: OpenPGP digital signature


Re: Suspend/Resume issues - Custom scripts not running? Mouse frozen?

2009-02-20 Thread Michael Biebl
Alex Riebs wrote:
 Hi. I recently installed Debian Lenny onto my Dell Studio XPS 16 laptop. I'm
 having issues getting resume to work properly. I can suspend, but when I
 resume and compiz was running, my screen shows up with only my cursor and
 some corrupted textures. I attempted to solve this by writing a script
 /etc/acpi/suspend.d/00-compiz.sh that executes the following:
  Code:

pm-utils is the default power management suite when you are using HAL (via
gnome-power-manager or kpowersave). You should write a script for pm-utils, not
acpid.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Is there a way to recover network-manager wep keys without network manager

2009-02-18 Thread Michael Biebl
Micha Feigin wrote:
 I moved to wicd some time ago from network manger and I have a wep key to a
 network I used to work with some time ago tucked away with network-manager 
 that
 is no longer installed. Is there a way to recover that key?
 

Keys are stored in gnome-keyring (use gnome-keyring-manager or seahorse to look
at them) when you are running GNOME or kde wallet (kwalletmanager), when you are
using knetwormanager/KDE


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Question: Power Button Shutdown

2009-01-12 Thread Michael Biebl
Chris wrote:

 
 When I push the power button it does end up showing the KDE log-off dialog 
 with the normal options though - maybe something changed in KDE.
 

In case you are using kpowersave, you can change this behaviour quite easily:
right click on the kpowersave systray icon, choose Configure KPowersave,
on the General Settings tab under Button Events, configure it to your 
liking.

HTH,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Debian Stole My Name!

2008-10-11 Thread Michael Biebl
Hal Vaughan wrote:

 
 But I've learned, the hard way, NEVER file a bug report in a FOSS 
 project.  I have several times and have yet to find one where the 
 developers were appreciative of the bug report.  I'll go even farther: 
 In most cases they've been outright hostile and I've had times where 
 they've told me off to justify closing the bug.
 

If that would be true, do you think that *two* DDs would even bother to
reply to you on this list and research this issue to get it fixed?

I have learned, that in FOSS it is really important how you say things.
Remember that we are all volunteers and love what we do (and often feel
very emotional about it).

If you are getting bug reports which are insulting or call your work a
load of crap, then you are much less inclined to work on this issue.

A few kind words and appreciation can do wonders.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Debian Stole My Name!

2008-10-11 Thread Michael Biebl
Osamu Aoki wrote:
 Hi,
 
 Short answer is hal is accepted now for lenny d-i
 
 On Sat, Oct 11, 2008 at 01:05:09AM +0200, Michael Biebl wrote:
 Osamu Aoki wrote:
 Hi,

 On Fri, Oct 10, 2008 at 04:01:59PM +0800, paragasu wrote:
 maybethe debian installer do not permit you to use the username hal.
 Create any user. after the installer finish.. you can login and create
 user 'Hal' with
 adduser.. ;)
 hal package have changed ...
 hal (0.5.7.1-1) unstable; urgency=low

   [ Sjoerd Simons ]
   * New upstream release
   * debian/hal.postinst,debian/hal.postrm,debian/rules: Rename the hal 
 daemon
 user to haldaemon (was hal)
 If debian-installer is still reserving  the name hal  for the hal
 package, then this should be fixed within debian-installer.

 Please file a bug against the debian-installer package.
 
 Is this right package?  user-setup is the one I think.
 
 Let's look in...  OP was using etch installer.
 
 Available hal versions
 Oldstable   0.4.7-3sarge1
 Stable  0.5.8.1-9etch1
 Testing 0.5.11-3
 Unstable0.5.11-5
 
 As I understand, 
 0.5.7.1-1 = Tue, 15 Aug 2006
 0.5.8.1-9 = Wed, 14 Mar 2007
 
 Hmmm... this is odd.  There is no udeb either from hal package.  Let's
 see ...
 
 In pool directory of lenny installer iso, user-setup-udeb_1.20_all.udeb
 has /usr/lib/user-setup/reserved-usernames
 
 This one has haldaemon but changelog in source user-setup tells me 
 
  user-setup  (1.17) unstable; urgency=low
 ...
[ Colin Watson ]
* Fix comment attached to passwd/user-default-groups.
* hal was renamed to haldaemon in hal 0.5.7.1-1; Hal is also a reasonablyt
  common human name. Remove it from reserved-usernames.
 ...
 -- Christian Perrier [EMAIL PROTECTED]  Fri, 11 Jan 2008 18:56:46 +0100 
 
 So this is fixed bug.  I doubts they will update etch installer just for
 this fix.  If you know better, please pursue.
 

Hi Osamu,

thanks for the nice summary!

I agree with you, that given that this issue is fixed for the lenny
installer resp. user-setup and lenny is about to be released in the
foreseeable future, it's likely this bug won't be fixed anymore for etch.
I actually don't know, if a new point release with a new installer is
even planned for etch.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Debian Stole My Name!

2008-10-10 Thread Michael Biebl
Osamu Aoki wrote:
 Hi,
 
 On Fri, Oct 10, 2008 at 04:01:59PM +0800, paragasu wrote:
 maybethe debian installer do not permit you to use the username hal.
 Create any user. after the installer finish.. you can login and create
 user 'Hal' with
 adduser.. ;)
 
 hal package have changed ...
 hal (0.5.7.1-1) unstable; urgency=low
 
   [ Sjoerd Simons ]
   * New upstream release
   * debian/hal.postinst,debian/hal.postrm,debian/rules: Rename the hal daemon
 user to haldaemon (was hal)

If debian-installer is still reserving  the name hal  for the hal
package, then this should be fixed within debian-installer.

Please file a bug against the debian-installer package.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Why Hald

2008-09-23 Thread Michael Biebl
David Baron wrote:
 Hal got installed along with dbus although it apparently does not use it. 
 Libhal packages were around before.
 
 Why do I need hald running? Can it be disabled without effecting other 
 programs?
 
 I suspect that it has/causes/exasperates some problems in 2.6.26 kernels.
 

If you are a running a desktop environment like GNOME, XFCE or KDE, you
definitely should not disable hal.
Unless you don't want to have stuff like auto-mounting of removable
media, removable or hotplugged devices in general, like digicams,
network-manager etc. They all depend on hal.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: failure of openvpn to start

2008-08-28 Thread Michael Biebl
PETER EASTHOPE wrote:
 Folk,
 
 Since my update of lenny last Saturday these lines appear in the syslog.
 
 Aug 27 10:37:04 joule kernel: tun0: Disabled Privacy Extensions
 Aug 27 10:37:04 joule ovpn-myvpn[5179]: echo up tun0 1500 1544 10.4.0.1 
 10.4.0.2 init
 Aug 27 10:37:04 joule ovpn-myvpn[5179]: openvpn_execve: external program may 
 not be called due to setting of --script-security level
 Aug 27 10:37:04 joule ovpn-myvpn[5179]: script failed: external program fork 
 failed
 Aug 27 10:37:04 joule ovpn-myvpn[5179]: Exiting
 
 myvpn.conf follows. 
 
 What external program and what script-security level 
 would this refer to?  Any insights?  

 Thanks,... Peter E.
 
 # joule:/etc/openvpn/myvpn.conf
 #
 # Default protocol is udp.
 # Default port is 1194.
 # This is the static address of Dalton.
 remote 142.103.107.137
 dev tun
 # These are the local and remote endpoints of the tunnel.
 ifconfig 10.4.0.1 10.4.0.2
 verb 5
 secret /root/key
 # This is the route to cantor.
 route 172.24.1.2 255.255.255.255
 up 'echo up'
 down 'echo down'
 

You are using a up and down script.

See /usr/share/doc/openvpn/NEWS.Debian.gz for more info.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Hibernate/suspend works without quirks, but not with Gnome

2008-07-04 Thread Michael Biebl

Magnus Therning wrote:

I have a desktop system that is fully capable of hibernating and
suspending.  Both

 % pm-hibernate

and

 % pm-suspend

work beautifully.  I don't need to supply any further command line
options.  Resuming is also no problems.  Despite this
gnome-power-manager refuses to let me hibernate/suspend using the
shutdown dialogue.  Confusingly the message written to /var/log/messages
on an attempt to hibernate is:

 Jun 30 22:11:55 tatooine gnome-power-manager: (magnus) Resuming computer
 Jun 30 22:11:55 tatooine gnome-power-manager: (magnus) hibernate failed

I'm not really sure how to get this working from Gnome.  The quirks
pages don't seem to handle this situation...



What does /var/log/pm-suspend.log say, when you call suspend/hibernate 
via g-p-m?

Is your user in group powerdev?
Is your machine listed in hal-info to require quirks (lshal | grep quirk)?
What graphic adapter / graphics driver / kernel version do you use?

Cheers,
Michael

--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: prevent dpkg from (re-)starting services

2008-05-08 Thread Michael Biebl

Michael Biebl wrote:


Read the man page of invoke-rc.d : INIT SCRIPT POLICY


And /usr/share/doc/sysv-rc/README.policy-rc.d.gz


--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: prevent dpkg from (re-)starting services

2008-05-08 Thread Michael Biebl

Olaf Leidinger wrote:

Hello List!

On a file server I installed several debian (-based) distributions into
an exported directory using debootstrap. These are used as root
filesystems for diskless clients. To install new packages/updates I
chroot into the directories of the corresponding distributions and run
aptitude. The problem is, that every time I install the update of a
service (e.g. cups), the service is (started in the chrooted
environment, but I don't want to run any service in there.

Is there a way to prevent dpkg from (re-)starting these services?
Deleting them from the /etc/rc* directories is not an option, as they
are needed by the clients.

Thanks in advance!



policy-rc.d to your rescue.

Read the man page of invoke-rc.d : INIT SCRIPT POLICY

A simple /usr/sbin/policy-rc.d could look like this:

# cat /usr/sbin/policy-rc.d
#!/bin/sh
echo  2
echo All rc.d operations denied by policy 2
echo  2
exit 101

--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Gnome power manager + custom suspend script

2008-03-29 Thread Michael Biebl
David Purton wrote:
 Hi all,
 
 What is the proper way to use custom suspend scripts with gnome power
 manager?
 
 Current, I call my custom script from
 /usr/lib/hal/scripts/hal-system-power-suspend
 
 This works, but the changes get overwritten every time this file is
 upgraded...
 
 (I need a custom script, because my laptop will not suspend with
 whatever the default is. Beats me why. I use a script from here
 http://www.linux.com/feature/114220
 It's pretty generic, so why the defaut gnome one can't do this seems
 odd.
 

Use pm-utils.

See http://en.opensuse.org/Pm-utils - Creating your own hooks.
or the pm-suspend man page.

HTH,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: pm-hibernate doesn't resume (Thinkpad X61 tablet)

2008-02-16 Thread Michael Biebl
Andrew Perrin wrote:
 Greetings-
 
 I have just finished setting up my new laptop, a Lenovo Thinkpad X61 
 Tablet PC.  I am running Debian testing with a self-compiled kernel 
 2.6.24.2. Generally it works very nicely and I am pleased with it; 
 however, hibernate/resume does not work correctly. Specifically: using 
 either gnome's hibernate button or using pm-hibernate, the system 
 snapshots correctly and shuts down, but upon starting back up it just does 
 a normal reboot.
 
 The kernel has SWSUSP built in, with a default partition of /dev/sda3 
 which is an empty partition, and the kernel options in GRUB include 
 resume=/dev/sda3 .
 
 Any advice?

Do you have uswsusp installed, but your kernel is compiled without an
initramfs?
In that case it won't work. s2disk requires a initramfs to successfully
resume.
Option 1)
Compile your kernel with make-kpkg kernel_image --initrd
Option 2)
Uninstall uswsusp and use kernel swsusp.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


<    1   2   3   4   5   6   >