Audacity: display broken

2020-03-03 Thread Markus Grunwald
Hello,

After a while, I wanted to edit some audio files with
audacity. Unfortunately, it is impossible because the display is broken:
The Menus work, but that's about it. The waveform display is never
updated, nor are the various meters.

I have not found any hint that someone besides me is experiencing these
issues :/ So it might be something about my setup. But that shouldn't be
so special: Its a Lenovo T570 with debian testing. I started audacity in
i3 (my usual wm) and xfce4 (just in case) but got the same results.

That's the setup:

ii  audacity   2.3.3-1  amd64fast, cross-platform audio editor
ii  audacity-data  2.3.3-1  all  fast, cross-platform audio editor 
(data)

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)

[ 34018.801] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 34018.801] (II) Module intel: vendor="X.Org Foundation"
[ 34018.801]compiled for 1.20.4, module version = 2.99.917
[ 34018.801]Module class: X.Org Video Driver
[ 34018.801]ABI class: X.Org Video Driver, version 24.0
[ 34018.801] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 34018.801] (II) intel: Driver for Intel(R) HD Graphics
[ 34018.801] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 34018.801] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 34018.802] (II) intel(0): Using Kernel Mode Setting driver: i915, version 
1.6.0 20190822

Can anyone replicate my problem? Or even better knows how to fix it?

Thanks,


--
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg


signature.asc
Description: PGP signature


Re: Giveaway-Laptop: sending system mails

2020-01-05 Thread Markus Grunwald
Hi Reco,

> NEWS.Debian.gz have this to say on the issue:


That was the hint I needed :) Thanks a lot! I sometimes read the files
in /usr/share/doc/${PACKAGE}, but not often enough, it seems.

Now I have a working E-Mail setup and the guy who got the computer is
happy with it. He doesn't even know he's using Linux instead of window$
:p

Thanks again,
--
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg


signature.asc
Description: PGP signature


Re: No sound with Pulseaudio

2020-01-05 Thread Markus Grunwald

Hello


[...] I can not get any sound and in



Pavucontrol I can only see a virtual sound output.
Does anyone have an idea to solve this problem?


I had the same experience for (almost) every new or old 
installation
that I made. Fresh install of testing or stable, never mind: each 
time,
Sound didn't work from scratch with Pulseaudio. I deinstalled it, 
and

voila, everything worked fine.

There is only one exception and that's my home theatre/gaming 
PC. I
don't remember the details now, but to get kodi run along with 
steam
nicely, I hat to get Pulseaudio to work. And in /this/ case, the 
PA
tools were a blessing because I could very easily switch between a 
7.2 and a

5.1 setup. That was necessary, because one game crashed with 7.2 臘

So whenever I do a fresh installation now, I check if Pulseaudio 
works

and if not I immediately uninstall it. It's usually not worth the
hassle.

cu
--
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg


signature.asc
Description: PGP signature


Giveaway-Laptop: sending system mails

2019-12-31 Thread Markus Grunwald
Dear List Participants,

An elder friend of mine uses his 10 year old Sony Vayo with Windows 7
mainly for browsing the net, homebanking, E-Mails. Due to several
reasons, I want to give him a Laptop with Debian Linux that I will support.

Several things should work to keep my active involvement low. One of the
basics is: I want to get mails whenever "something" happens. I think
that msmtp is the right tool for me, but correct me if I'm wrong, please.

But, there is a problem: I have to put the plain mail password in
/etc/msmtprc, because the normal user won't be there to unlock a gpg
file or give msmtp the password in any other way. That means, I want
/etc/msmtprc to be only readable by root (440). But then, users other
than root (nobody maybe?) won't be able to send mails...

I wonder if that could be solved in a better way? I don't want to miss
anything from unattended-upgrades or logcheck or apt-listchanges...

I would love to get your thoughts on that.
-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



signature.asc
Description: OpenPGP digital signature


Gnucash broken after Update

2019-12-16 Thread Markus Grunwald
Hi,

a few days ago, I ran an apt update of my debian/desting machine and got
a new gnucash version. Apt DID tell me that there was something to do to
keep gnucash working. I had no time to do that, then, but I was used to
getting the instructions per e-mail. But at the time my e-mail setup was
broken and I didn't notice. Bummer.

Now I need to use gnucash and online banking is completely broken. I
searched everywhere, found the hint in
/usr/share/doc/aqbanking-tools/README.keyfile-update, but that didn't
help...

I /think/ the message had something to do with moved configuration files
for gnucash, but am not sure.

Do you have any hint for me? I urgendly need gnucash for my homebanking...

TIA,
-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



signature.asc
Description: OpenPGP digital signature


Emacs font size off by factor 2

2019-01-05 Thread Markus Grunwald
Hello,

after the dist-upgrade yesterday, emacs font size is twice as large as
it should be.

'(default ((t (:inherit nil :stipple nil :background "#3f3f3f"
:foreground "#dcdccc" :inverse-video nil :box nil :strike-through nil
:overline nil :underline nil :slant normal :weight normal :height 128
:width normal :foundry "outline" :family "DejaVu Sans Mono"

With this setting, I got a 12pt sized default font until yesterday.
After the update, I have to use :height 64 to get the same size...

As far as I can see, no dpi settings have been changed.

Can you tell me what happened there?
-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: Why does sound encoded with mencoder crackle in debian stretch but not in buster?

2018-10-19 Thread Markus Grunwald
Hello Dan,

> Does
> -oac copy
> do the same thing?
No, that works!

Strange.


-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Why does sound encoded with mencoder crackle in debian stretch but not in buster?

2018-10-19 Thread Markus Grunwald
I'm transcoding some TV Series with mencoder. I wrote a script where the
core is:

mencoder 1.ts -o 1.avi -passlogfile /tmp/tmp.VQ6WZm1tSo/pass.log
-demuxer lavf -nosub -vf softskip,harddup -aspect 16:9 -aid 0 -oac lavc
-lavcopts acodec=ac3:abitrate=128 -ovc x264 -x264encopts
pass=1:bitrate=800:nointerlaced:force_cfr:frameref=3:mixed_refs:bframes=4:b_adapt=2:b_pyramid=normal:weight_b:weightp=1:direct_pred=auto:aq_mode=1:me=umh:me_range=16:subq=7:nombtree:psy_rd=0.8,0.2:chroma_me:trellis=1:cabac:deblock:8x8dct:partitions=p8x8,b8x8,i8x8,i4x4:nofast_pskip:nodct_decimate:threads=auto:keyint=250:keyint_min=25

This is probably the only interesting part for this post:

-oac lavc -lavcopts acodec=ac3:abitrate=128

I wrote that script on my laptop, a debian buster machine. Everything is
fine here. But when I let the script run on the machine where all the
recordings are stored (a debian stretch machine), the sound is
disturbed. Some kind of ~6Hz crackle. Video is ok.

IMHO it has to do with some different version of a binary or library.
That's why I tried it with different audio encoder:

-oac mp3lame -lameopts preset=medium

Still the same.

The versions for mencoder differ a tiny bit on both machines:

ii  mencoder   2:1.3.0-6amd64MPlayer's Movie Encoder
ii  mencoder   2:1.3.0-8+b4 amd64MPlayer's Movie Encoder

But the differences seem quite minor:

https://metadata.ftp-master.debian.org/changelogs//main/m/mplayer/mplayer_1.3.0-8_changelog

Any ideas how I get that working on the stretch machine?
-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: Dovecot and zlib: Mails arrive compressed

2018-09-04 Thread Markus Grunwald
Hello,

> Stupid question: How do you acces your emails?
> 1. Using dovecot imap
> 2. reading mbox(maildir?) files by thunderbird?

Not a stupid question at all: via dovecot imap


-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Dovecot and zlib: Mails arrive compressed

2018-09-03 Thread Markus Grunwald
Hello,

to save some precious space on my server, I wanted to enable zlib
compression in dovecot. I followed these instructions:

https://wiki2.dovecot.org/Plugins/Zlib

The relevant parts of my dovecot.conf

protocol imap {
 # Support for dynamically loadable plugins. mail_plugins is a space
separated
  # list of plugins to load.
  mail_plugins = $mail_plugins imap_zlib
...
}

plugin {
  # Used by both the Sieve plugin and the ManageSieve protocol
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  zlib_save_level = 6 # 1...9
  zlib_save = gz # gz or bz2
}

protocol lda {
  # Support for dynamically loadable plugins. mail_plugins is a space
separated
  # list of plugins to load.
  mail_plugins = $mail_plugins sieve zlib
  mail_plugin_dir = /usr/lib/dovecot/modules
  ...
}

doveconf -n showed no error, I restarted dovecot.
Now when I receive a new mail, it is compressed - but it stays
compressed :( Meaning: It arrives in Thunderbird, but it's not readable.
If I look at the mail sources in Thunderbird, it looks like zlib
compressed text...

What have I missed?

-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



What's missing for wake on wlan?

2018-07-30 Thread Markus Grunwald
Hello,

While wake on lan works well on my T570 with debian buster, I'm not able
get wake on WLAN working...

% sudo iw phy0 wowlan show
WoWLAN is enabled:
 * wake up on disconnect
 * wake up on magic packet

% /sbin/ifconfig wlp4s0 | grep ether
ether e4:70:b8:fb:25:89  txqueuelen 1000  (Ethernet)


So I send the machine to suspend-to-ram and try to wake it up with:

wakeonlan e4:70:b8:fb:25:89

But nothing happens...

I'm using Wicd 1.7.4

Any ideas?
-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: xdg-open drives me crazy

2018-07-27 Thread Markus Grunwald
Hello Curt,

> xdg-mime default chromium.desktop text/html
> xdg-mime default chromium.desktop x-scheme-handler/http
> xdg-mime default chromium.desktop x-scheme-handler/https
> xdg-mime default chromium.desktop x-scheme-handler/about

That did the trick! Thank you very much :)

cu
-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: xdg-open drives me crazy

2018-07-26 Thread Markus Grunwald
Hello,

> It looks in your output like you are using Xfce - what is set in
> "Preferred Applications" under Web Browser?

Xfce is only installed on the computer. I'm using i3.

-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: xdg-open drives me crazy

2018-07-26 Thread Markus Grunwald
Hello,

> Look at update-alternatives


Thanks for the hint, but the alternatives are configured correctly:

# ll /usr/bin/x-www-browser
lrwxrwxrwx 1 root root 31 Jul 22  2009 /usr/bin/x-www-browser ->
/etc/alternatives/x-www-browser

# ll /etc/alternatives/x-www-browser
lrwxrwxrwx 1 root root 17 Mär 28 21:21 /etc/alternatives/x-www-browser
-> /usr/bin/chromium
# ll /usr/bin/chromium
-rwxr-xr-x 1 root root 3754 Jun 19 14:13 /usr/bin/chromium


-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



xdg-open drives me crazy

2018-07-26 Thread Markus Grunwald
Hello,

A few programs that I use, in turn use xdg-open. With web-pages, it gets
it completely wrong, no matter what I do:

% xdg-settings get default-web-browser
chromium.desktop
% echo $BROWSER
chromium


 % grep -i bin /usr/share/xfce4/helpers/chromium.desktop
/usr/share/applications/chromium.desktop
/usr/share/xfce4/helpers/chromium.desktop:X-XFCE-Binaries=chromium;chromium-browser;
/usr/share/applications/chromium.desktop:Exec=/usr/bin/chromium %U


But what does that damn thing open? Firefox...

What can I do ...?

-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg



Wine doesn't start

2018-03-28 Thread Markus Grunwald
Hello,

to play some old games, I wanted to start wine, but it always fails with
errors like that in the attached gna.txt :(

Not even winecfg is starting (I created gna.txt with starting winecfg).

It used to work so well a while ago...


That's what I have installed (debian testing, upgraded today):

 % dpkg -l wine\* | egrep '^ii'
ii  wine 3.0-1  all  Windows API
implementation - standard suite
ii  wine32:i386  3.0-1  i386 Windows API
implementation - 32-bit binary loader
ii  wine64   3.0-1  amd64Windows API
implementation - 64-bit binary loader
ii  winetricks   0.0+20180217-1 all  package manager for
Wine to install software easily



Can you help me with that, please?

-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg
000d:err:module:load_builtin_dll failed to load .so lib for builtin 
L"version.dll": /usr/lib/wine/../i386-linux-gnu/wine/version.dll.so: failed to 
map segment from shared object
000d:err:module:import_dll Loading library version.dll (which is needed by 
L"C:\\windows\\system32\\user32.dll") failed (error c07a).
000d:err:module:import_dll Library user32.dll (which is needed by 
L"C:\\windows\\system32\\ole32.dll") not found
000d:err:module:import_dll Library ole32.dll (which is needed by 
L"C:\\windows\\system32\\windowscodecs.dll") not found
000d:err:module:load_builtin_dll failed to load .so lib for builtin 
L"version.dll": /usr/lib/wine/../i386-linux-gnu/wine/version.dll.so: failed to 
map segment from shared object
000d:err:module:import_dll Loading library version.dll (which is needed by 
L"C:\\windows\\system32\\user32.dll") failed (error c07a).
000d:err:module:import_dll Library user32.dll (which is needed by 
L"C:\\windows\\system32\\ole32.dll") not found
000d:err:module:import_dll Library ole32.dll (which is needed by 
L"C:\\windows\\system32\\oleaut32.dll") not found
000d:err:module:load_builtin_dll failed to load .so lib for builtin 
L"version.dll": /usr/lib/wine/../i386-linux-gnu/wine/version.dll.so: failed to 
map segment from shared object
000d:err:module:import_dll Loading library version.dll (which is needed by 
L"C:\\windows\\system32\\user32.dll") failed (error c07a).
000d:err:module:import_dll Library USER32.dll (which is needed by 
L"C:\\windows\\system32\\oleaut32.dll") not found
000d:err:module:import_dll Library oleaut32.dll (which is needed by 
L"C:\\windows\\system32\\windowscodecs.dll") not found
000d:err:module:load_builtin_dll failed to load .so lib for builtin 
L"version.dll": /usr/lib/wine/../i386-linux-gnu/wine/version.dll.so: failed to 
map segment from shared object
000d:err:module:import_dll Loading library version.dll (which is needed by 
L"C:\\windows\\system32\\user32.dll") failed (error c07a).
000d:err:module:import_dll Library user32.dll (which is needed by 
L"C:\\windows\\system32\\ole32.dll") not found
000d:err:module:import_dll Library ole32.dll (which is needed by 
L"C:\\windows\\system32\\propsys.dll") not found
000d:err:module:load_builtin_dll failed to load .so lib for builtin 
L"version.dll": /usr/lib/wine/../i386-linux-gnu/wine/version.dll.so: failed to 
map segment from shared object
000d:err:module:import_dll Loading library version.dll (which is needed by 
L"C:\\windows\\system32\\user32.dll") failed (error c07a).
000d:err:module:import_dll Library user32.dll (which is needed by 
L"C:\\windows\\system32\\ole32.dll") not found
000d:err:module:import_dll Library ole32.dll (which is needed by 
L"C:\\windows\\system32\\oleaut32.dll") not found
000d:err:module:load_builtin_dll failed to load .so lib for builtin 
L"version.dll": /usr/lib/wine/../i386-linux-gnu/wine/version.dll.so: failed to 
map segment from shared object
000d:err:module:import_dll Loading library version.dll (which is needed by 
L"C:\\windows\\system32\\user32.dll") failed (error c07a).
000d:err:module:import_dll Library USER32.dll (which is needed by 
L"C:\\windows\\system32\\oleaut32.dll") not found
000d:err:module:import_dll Library oleaut32.dll (which is needed by 
L"C:\\windows\\system32\\propsys.dll") not found
000d:err:module:import_dll Library propsys.dll (which is needed by 
L"C:\\windows\\system32\\windowscodecs.dll") not found
000d:err:module:load_builtin_dll failed to load .so lib for builtin 
L"version.dll": /usr/lib/wine/../i386-linux-gnu/wine/version.dll.so: failed to 
map segment from shared object
000d:err:module:import_dll Loading library version.dll (which is needed by 
L"C:\\windows\\system32\\user32.dll") failed (error c07a).
000d:err:module:import_dll Library user32.dll (which is needed by 
L"C:\\windows\\system32\\shlwapi.dll") not found
000d:err

How to use Debian for a HTPC/Gaming combination?

2018-03-03 Thread Markus Grunwald
Hello,

Currently, I'm using libreelec as distribution for the HTPC in my home
cinema. It does its job very good, but is inflexible. For example, I
would like to use the same computer as a steam machine or to play other
games using wine or, of course, native linux games which is not possible
witch libreelec.

To do that, I would like to use Debian. I know, use and administer
Debian machines since potato and I think its flexibility is great. In
fact, I only used libreelec because it had a driver for the quite new
nvidia graphics card and Debian didn't - at least not in last summer.

Now I've seen that Debian supports my graphics card and I would like to
start my HTPC/Gaming PC from scratch. What I would like to have:

- Very quick (and maybe beautiful, for the WAF ;) ) start up.
- No surplus services.
- Some minimal window manager
- Boot to Kodi (or Steam) and easy switch to the other.

I know that Linux is not the optimal gaming OS. Never mind. There is a
good bit idealism involved :)

Now, I could get this running, but I never installed a Debian machine
with focus on the first two items. I hope to get your help and advice
especially on the quick and lean start up. Any further Ideas are greatly
appreciated ;)

As I said, some amount of Idealism is involved. So advice like "use
windows" or maybe "use another Linux distribution" will not be very helpful.

Oh, by the way: the hardware is more or less fixed for now, and it is
old (except for the SSD and the Graphics card). So no monster
performance for the games, but it does the HTPC job excellently. But I
will upgrade the machine in the future. Yet, I think the exact hardware
spec is not so important for this topic...

Let's see, how far we get and thanks for your input!

cu
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



Thunderbird font broken

2018-01-12 Thread Markus Grunwald
Hello,

Thunderbird seems to handle fontsizes different than all the other
programs I'm using. I had to install the extension "Theme Font & Size
Changer for Thunderbird" (62.0) to fix that broken behaviour, then all
was fine.

Until yesterday. I started Thunderbird and the UI-Fonts were   H U G E
again :( The Icon for the Theme Font & Size Changer is gone. I tried to
reinstall the  extension, no success. I restored ~/.mozilla and
~/.icedove (where .thunderbird links to) from backup, still no success.

Can you help me to get a non-screaming thunderbird again?
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



signature.asc
Description: OpenPGP digital signature


T570 Powerkey doesn't work

2018-01-04 Thread Markus Grunwald
Hello,

as far as I understand, pressing the power key on my Lenovo T570 should
produce some output in the journal like this:

Mär 31 18:04:47 my_computer systemd-logind[1402]: Power key pressed.

On my laptop, this doesn't work - I see nothing in the journal.
Hibernating doesn't work, neither but that's the reason, I think...

Is there something special that I have to do?

cu
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



signature.asc
Description: OpenPGP digital signature


Re: After upgrade jessie -> stretch : php problems

2018-01-04 Thread Markus Grunwald
Hello,

after you told me that cli and http don't have to use the same php
(sigh), I have a workaround:

17 3 * * * www-dataphp5 -f
/srv/www/the-grue.de/owncloud/htdocs/cron.php


Now I explicitly call php5 instead of php and all is fine... But this is
only a workaround, I think.

cu
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



signature.asc
Description: OpenPGP digital signature


Re: After upgrade jessie -> stretch : munin/perl

2018-01-04 Thread Markus Grunwald
Hello,

I remembered that I installed a nicer theme a good while ago. This seems
to have messed up some templates. So I apt-get purged munin, deleted the
rest of /etc in /etc/munin and re-installed munin.

This left me with a 404 in www.the-grue.de/munin :(

I learned that the apache configuration of munin is now included in the
package. So I adjusted the settings in /etc/apache:

./conf-enabled/munin.conf
./conf.d/munin


Now I have a working www.the-grue.de/munin again :)
But: With this config, /all/ of my sites show munin as well :( like:

www.maennerchor-kirchseeon.de/munin

This doesn't belong there. What is the best (most forward compatible)
way to fix this?

-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



signature.asc
Description: OpenPGP digital signature


After upgrade jessie -> stretch : munin/perl

2018-01-04 Thread Markus Grunwald
Hello,

Today I tackled the upgrade from jessie to stretch on my "production"
server (hosts a few websites).

Almost all went smoothly, but a few problems remain. One is this: My
munin doesn't work anymore and I get these errors from its cron job:

HTML::Template->new() : Cannot open included file
partial/logo_navigation.tmpl : file not found. at
/usr/share/perl5/HTML/Template.pm line 2458.
HTML::Template->new() : Cannot open included file
partial/logo_navigation.tmpl : file not found. at
/usr/share/perl5/HTML/Template.pm line 2458.


logo_navigation.tmpl is there and munin should be able to read it:


% sudo -u munin cat /etc/munin/templates/partial/logo_navigation.tmpl


  
...

% ll /etc/munin/templates/partial/logo_navigation.tmpl
-rw-r--r-- 1 root root 629 Jun  9  2016
/etc/munin/templates/partial/logo_navigation.tmpl

I don't know what's wrong :(

cu
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg

markus@the-grue % dpkg -l \*php\* | egrep '^ii'
ii  dh-php5   0.2 all  
debhelper add-on to handle PHP PECL extensions
ii  libapache2-mod-php5   5.6.30+dfsg-0+deb8u1amd64
server-side, HTML-embedded scripting language (Apache 2 module)
ii  libnusoap-php 0.9.5-3 all  SOAP 
toolkit for PHP
ii  libphp-adodb  5.20.9-1all  ADOdb is 
a PHP database abstraction layer library
ii  libphp-phpmailer  5.2.14+dfsg-2.3 all  full 
featured email transfer class for PHP
ii  php-apc   4.0.7-1 all  APC User 
Cache for PHP 5 (transitional package)
ii  php-cli   1:7.0+49all  
command-line interpreter for the PHP scripting language (default)
ii  php-common1:49all  Common 
files for PHP packages
ii  php-gd1:7.0+49all  GD 
module for PHP [default]
ii  php-mdb2  2.5.0b5-2   all  database 
abstraction layer
ii  php-mdb2-driver-mysql 1.5.0b4-2   all  mysql 
MDB2 driver
ii  php-mysql 1:7.0+49all  MySQL 
module for PHP [default]
ii  php-pear  1:1.10.1+submodules+notgz-9 all  PEAR 
Base System
ii  php-tcpdf 6.2.12+dfsg2-1  all  PHP 
class for generating PDF files on-the-fly
ii  php-xml   1:7.0+49all  DOM, 
SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii  php-zip   1:7.0+49all  Zip 
module for PHP [default]
ii  php5  5.6.30+dfsg-0+deb8u1all  
server-side, HTML-embedded scripting language (metapackage)
ii  php5-apcu 4.0.7-1 amd64APC User 
Cache for PHP 5
ii  php5-cgi  5.6.30+dfsg-0+deb8u1amd64
server-side, HTML-embedded scripting language (CGI binary)
ii  php5-cli  5.6.30+dfsg-0+deb8u1amd64
command-line interpreter for the php5 scripting language
ii  php5-common   5.6.30+dfsg-0+deb8u1amd64Common 
files for packages built from the php5 source
ii  php5-curl 5.6.30+dfsg-0+deb8u1amd64CURL 
module for php5
ii  php5-dev  5.6.30+dfsg-0+deb8u1amd64Files 
for PHP5 module development
ii  php5-gd   5.6.30+dfsg-0+deb8u1amd64GD 
module for php5
ii  php5-geoip1.1.0-2 amd64GeoIP 
module for php5
ii  php5-gmp  5.6.30+dfsg-0+deb8u1amd64GMP 
module for php5
ii  php5-json 1.3.6-1 amd64JSON 
module for php5
ii  php5-mcrypt   5.6.30+dfsg-0+deb8u1amd64MCrypt 
module for php5
ii  php5-mysql5.6.30+dfsg-0+deb8u1amd64MySQL 
module for php5
ii  php5-readline 5.6.30+dfsg-0+deb8u1amd64Readline 
module for php5
ii  php5-sqlite   5.6.30+dfsg-0+deb8u1amd64SQLite 
module for php5
ii  php7.0-cli7.0.19-1amd64
command-line interpreter for the PHP scripting language
ii  php7.0-common 7.0.19-1amd64
documentation, examples and common module for PHP
ii  php7.0-gd 7.0.19-1amd64GD 
module for PHP
ii  php7.0-json   7.0.19-1amd64JSON 
module for PHP
ii  php7.0-mysql  7.0.19-1amd64MySQL 
module for PHP
ii  php7.0-opcache7.0.19-1amd64Zend 
OpCache module for PHP
ii  php7.0-readline   

After upgrade jessie -> stretch : php problems

2018-01-04 Thread Markus Grunwald
Hello,

Today I tackled the upgrade from jessie to stretch on my "production"
server (hosts a few websites).

Almost all went smoothly, but a few problems remain. One is this: The
cron job of my owncloud installation reports this:

-
No database drivers (sqlite, mysql, or postgresql) installed.


PHP is configured to populate raw post data. Since PHP 5.6 this will
lead to PHP throwing notices for perfectly valid code.
To fix this issue set always_populate_raw_post_data to
-1 in your php.ini

PHP modules have been installed, but they are still listed as missing?
Please ask your server administrator to restart the web server.
-

I have absolutely no clue about php and surely didn't touch any of these
packages (besides installing them because I need them for owncloud and
drupal).

I have searched /etc for all php.ini files and changed
always_populate_raw_post_data as requested, without success.

php modules for mysql are installed.

Now I have no idea what is still wrong, because I still get the error
messages (as mail from the cronjob which floods my mail :( )

Maybe of interest: that's part of the phpinfo() output:

PHP Version 5.6.30-0+deb8u1
Directive   Local Value Master Value
allow_url_fopen On  On
allow_url_include   Off Off
always_populate_raw_post_data   -1  -1


Installed packages regarding php: as textfile in the attachments to keep
the formatting...

I would be very glad, if you could help me.
Also, please have a look at my other problem with munin (doh)

cu
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg
markus@the-grue % dpkg -l \*php\* | egrep '^ii'
ii  dh-php5   0.2 all  
debhelper add-on to handle PHP PECL extensions
ii  libapache2-mod-php5   5.6.30+dfsg-0+deb8u1amd64
server-side, HTML-embedded scripting language (Apache 2 module)
ii  libnusoap-php 0.9.5-3 all  SOAP 
toolkit for PHP
ii  libphp-adodb  5.20.9-1all  ADOdb is 
a PHP database abstraction layer library
ii  libphp-phpmailer  5.2.14+dfsg-2.3 all  full 
featured email transfer class for PHP
ii  php-apc   4.0.7-1 all  APC User 
Cache for PHP 5 (transitional package)
ii  php-cli   1:7.0+49all  
command-line interpreter for the PHP scripting language (default)
ii  php-common1:49all  Common 
files for PHP packages
ii  php-gd1:7.0+49all  GD 
module for PHP [default]
ii  php-mdb2  2.5.0b5-2   all  database 
abstraction layer
ii  php-mdb2-driver-mysql 1.5.0b4-2   all  mysql 
MDB2 driver
ii  php-mysql 1:7.0+49all  MySQL 
module for PHP [default]
ii  php-pear  1:1.10.1+submodules+notgz-9 all  PEAR 
Base System
ii  php-tcpdf 6.2.12+dfsg2-1  all  PHP 
class for generating PDF files on-the-fly
ii  php-xml   1:7.0+49all  DOM, 
SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii  php-zip   1:7.0+49all  Zip 
module for PHP [default]
ii  php5  5.6.30+dfsg-0+deb8u1all  
server-side, HTML-embedded scripting language (metapackage)
ii  php5-apcu 4.0.7-1 amd64APC User 
Cache for PHP 5
ii  php5-cgi  5.6.30+dfsg-0+deb8u1amd64
server-side, HTML-embedded scripting language (CGI binary)
ii  php5-cli  5.6.30+dfsg-0+deb8u1amd64
command-line interpreter for the php5 scripting language
ii  php5-common   5.6.30+dfsg-0+deb8u1amd64Common 
files for packages built from the php5 source
ii  php5-curl 5.6.30+dfsg-0+deb8u1amd64CURL 
module for php5
ii  php5-dev  5.6.30+dfsg-0+deb8u1amd64Files 
for PHP5 module development
ii  php5-gd   5.6.30+dfsg-0+deb8u1amd64GD 
module for php5
ii  php5-geoip1.1.0-2 amd64GeoIP 
module for php5
ii  php5-gmp  5.6.30+dfsg-0+deb8u1amd64GMP 
module for php5
ii  php5-json 1.3.6-1 amd64JSON 
module for php5
ii  php5-mcrypt   5.6.30+dfsg-0+deb8u1amd64MCrypt 
module for php5
ii  php5-mysql5.6.30+dfsg-0+deb8u1amd64MySQL 
module for php5
ii  php

Migrate an old debian to a new machine

2017-12-23 Thread Markus Grunwald
Hello,

For 10 Years, I've been working with my trusted old T61 (still with
"IBM" logo...). Now I'm waiting for a new T570.

The last migrations of my Debian installations were just dd'ing a full
disk image from machine OLD to NEW and then resize the partitions with
gparted (I hate new installations... something's lost every time.)

These migrations were always done on BIOS machines. I have almost no
experience with UEFI. Now my question is: will this work with the new
machine as well? Or do I have to do something else because of UEFI (or
something else that's different on a modern T570)?

Thanks for your input,
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



signature.asc
Description: OpenPGP digital signature


Re: Loosing my mind with sending an E-Mail...

2017-10-06 Thread Markus Grunwald
Hello,

> I'm loosing my mind. Why is that email disappearing?


Well, lost my mind. Thunderbird treated it as spam (doh!)
-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



Loosing my mind with sending an E-Mail...

2017-10-06 Thread Markus Grunwald
Hello,

I'd like to send an E-Mail via commandline:

/bin/echo "Die Speisekammertuer steht offen Ist" | /usr/bin/mailx -s
"Offene Tuer" "mar...@irgendwo.de"

This mail is sent to my server, processed with postfix, dovecot and
sieve and I receive it in my E-Mail program. Fine.

This E-Mail just disappears:

/bin/echo "Die Speisekammertuer steht offen Ist das" | /usr/bin/mailx -s
"Offene Tuer" "mar...@irgendwo.de"

The difference is only the one additional word " das".

The logentry in dovecot for both mails is just the same:

2017-10-06 23:51:27 lda(mar...@irgendwo.de): Info: sieve:
msgid=unspecified: stored mail into mailbox 'INBOX'
2017-10-06 23:51:32 lda(mar...@irgendwo.de): Info: sieve:
msgid=unspecified: stored mail into mailbox 'INBOX'

I'm loosing my mind. Why is that email disappearing?

Both sender and server are debian jessie. mailx is heirloom-mailx, but
with bsd-mailx or even MIME::Lite in perl it's the same.

-- 
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



Re: Nitrokey: OpenPGP card not working

2017-07-17 Thread Markus Grunwald
Hello

> Thank you very much for the hint! Unfortunately, my output looks
> different, the scdaemon is missing (quel surprise!):
>
> Is there some special configuration to activate it?

Ouch. Found it:

markus@haktar % rgrep scd ~/.gnupg
/home/markus/.gnupg/gpg-agent.conf:disable-scdaemon

No idea how that got there...

--
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg


pgpgp0cWMVQeq.pgp
Description: Digitale Signatur von OpenPGP


Re: Nitrokey: OpenPGP card not working

2017-07-17 Thread Markus Grunwald
Hello,

> > I did so, amongst other reasons, because of its OpenPGP card support,
> > but I don't manage to get it working:
>
> I have a Nitrokey Pro and it definitely works in Debian 9. But indeed,
> you need get your scdaemon working. It all depends on it. Gpg-agent
> should load scdaemon automatically.
>
>
> $ systemctl --user status gpg-agent
>
> ● gpg-agent.service - GnuPG cryptographic agent and passphrase cache
>Loaded: loaded (/usr/lib/systemd/user/gpg-agent.service; static; vendor 
> preset: enabled)
>Active: active (running) since Sun 2017-07-16 15:31:38 EEST; 5h 32min ago
>  Docs: man:gpg-agent(1)
>  Main PID: 1630 (gpg-agent)
>CGroup: /user.slice/user-1000.slice/user@1000.service/gpg-agent.service
>├─1630 /usr/bin/gpg-agent --supervised
>└─1632 scdaemon --multi-server
>

Thank you very much for the hint! Unfortunately, my output looks
different, the scdaemon is missing (quel surprise!):

 % systemctl --user status gpg-agent
● gpg-agent.service - GnuPG cryptographic agent and passphrase cache
   Loaded: loaded (/usr/lib/systemd/user/gpg-agent.service; static; vendor pres
   Active: active (running) since Wed 2017-07-12 21:07:38 CEST; 4 days ago
 Docs: man:gpg-agent(1)
 Main PID: 1749 (gpg-agent)
   CGroup: /user.slice/user-1000.slice/user@1000.service/gpg-agent.service
   └─1749 /usr/bin/gpg-agent --supervised

Is there some special configuration to activate it?

cu
--
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



Nitrokey: OpenPGP card not working

2017-07-16 Thread Markus Grunwald
Hello,

Recently, I bought a Nitrokey Storage: https://www.nitrokey.com

I did so, amongst other reasons, because of its OpenPGP card support,
but I don't manage to get it working:

markus@haktar % gpg --card-status
gpg: error getting version from 'scdaemon': Not supported
gpg: OpenPGP card not available: Not supported

Unfortunately, the troubleshooting on their homepage doesn't help me:
https://www.nitrokey.com/documentation/frequently-asked-questions#openpgp-card-not-available

2 markus@haktar % ps ax | grep keyring
 1491 ?Sl 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
 1923 ?Sl 0:00 /usr/bin/gnome-keyring-daemon --start --foreground 
--components=secrets

markus@haktar % pkill -f gnome-keyring-daemon

markus@haktar % ps ax | grep keyring
19454 pts/2S+ 0:00 grep --color=auto keyring

2 markus@haktar % gpg --card-status
gpg: error getting version from 'scdaemon': Not supported
gpg: OpenPGP card not available: Not supported

So, that's not enough. I have the scdaemon installed:
markus@haktar % dpkg -l \*scdaemon\*
ii  scdaemon  2.1.18-8  amd64   
  GNU privacy guard - smart card support

But it seems, it is not loaded:

markus@haktar % ps ax | grep [s]cd  # nothing found

lsusb lists it:
markus@haktar % lsusb | grep 4109
Bus 002 Device 009: ID 20a0:4109 Clay Log

markus@haktar % grep 4109 /lib/udev/rules.d/60-scdaemon.rules
ATTR{idVendor}=="20a0", ATTR{idProduct}=="4109", ENV{ID_SMARTCARD_READER}="1", 
ENV{ID_SMARTCARD_READER_DRIVER}="gnupg"

I have no idea what's wrong - please help me.


P.S. : I almost forgot: It's an up to date debian testing.
--
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg


pgp6x3VLr5ptk.pgp
Description: Digitale Signatur von OpenPGP


Re: Tuning boot time of my server

2017-04-08 Thread Markus Grunwald
Hello Erwan,

> Debian
> boot time with or without systemd can be neglected, especially for
> servers who boot not more than twice a year.

That's why I wrote:

> > just for sports, I tried to minimise the boot time of my server, which
> > is running systemd. I have one mayor blocker:

--
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



Tuning boot time of my server

2017-04-08 Thread Markus Grunwald
Hello,

just for sports, I tried to minimise the boot time of my server, which
is running systemd. I have one mayor blocker:

 % systemd-analyze blame
 10.746s srv-share-backup.mount
 10.258s nfs-kernel-server.service
  3.311s mysql.service
  1.444s apache2.service
  1.344s epgd.service
  1.012s privoxy.service


/srv/share/backup lives on a Western Digital WD RED, and this device
takes ages to spin up. So I'd rather /not/ spin this disk, if it is
not necessary - which it isn't. That's why I've set up an automount
unit for it.
Now I don't understand why it is mounted on booting. /srv/share/backup
is exported via NFS, which might be the reason for the slow
nfs-kernel-server.service. But I have other exports on WD REDs as
well, and they are not mounted while booting.

So why is srv-share-backup.mount started at boot-time? It's not wanted
or directly enabled:

% find /etc/systemd -type l -iname \*.mount
/etc/systemd/system/local-fs.target.requires/-.mount
/etc/systemd/system/local-fs.target.wants/boot.mount
/etc/systemd/system/dev-disk-by\x2duuid-10ad4727\x2d658c\x2d4559\x2d90b3\x2dfd966f8dbf96.device.wants/boot.mount

Can you give me a hint? I've attached the tiny output of
"systemd-analyze plot " for your reference.

--
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg


zem-boot.svg.xz
Description: application/xz


Re: Chromium: all apps gone, reinstalling fails

2017-02-13 Thread Markus Grunwald
Hello Sven,

> Quoting from News.Debian of chromium:
>
> chromium-browser (55.0.2883.75-4) unstable; urgency=medium
>
>   * External extensions are now disabled by default.

> My advise: please install apt-listchanges if you follow Testing/Unstable
> to get notifications of such important changes.

Many thanks, Svan! I'll do this right now.

--
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



Chromium: all apps gone, reinstalling fails

2017-02-12 Thread Markus Grunwald
Hello,

Just now I noticed, that all the apps/extensions from my chromium are
gone :(
I tried to reinstall them, but everything that I get is a non-helpfull
message that installing the app didn't work...

% dpkg -l chromium\* | egrep '^ii'
ii  chromium  55.0.2883.75-6 amd64web broser
ii  chromium-l10n 55.0.2883.75-6 all  web browser - language packs


Panic?
--
Markus Grunwald
http://www.the-grue.de/~markus/markus_grunwald.gpg



Re: new pc and swap

2016-10-30 Thread Markus Grunwald
Servus Pascal,

> > I once read that it was possible to swap to a named file, rather than a
> > swap partition.
> > Is that possible with Jessie?

Creating (and using) a swapfile is easy, no problem in Jessie:

sudo mkswap /swap.0
sudo swapon /swap.0
grep swap /etc/fstab
/swap.0 swapswapdefaults0

> Swap to a file is possible but IIRC hibernate to a file is not possible.

It is. In fact, I do it on my machine. Configuring it is not so easy,
but again: google is your friend.

Unfortunately, a few weeks ago, hibernating stopped working reliably
here. I wrote to this list a few days ago, without any response :(

So, hibernating to a swapfile (or a separate hibernation file) is
possible, but it doesn't seem to be a good idea. I would recommend a
swap partition. On my T61 with 4GB RAM and 128GB SSD, I have a 5GB
swapfile. As gparted works very reliably, misjudging the size of the
partition is only a small problem...

So I consider switching from swapfile to a swappartition.

cu
--
Markus Grunwald



Re: new pc and swap

2016-10-30 Thread Markus Grunwald
Hello Pol,

> Does swap still useful?

It migh be. Don't forget that you need some swap space if you want to
hibernate your System!

(You can configure extra hibernation space. I never managed to get
that right...)

--
Markus Grunwald



Middle mouse button stopped panning in gimp

2016-10-22 Thread Markus Grunwald
Hello,

Usually I could press the middle mouse button (of my synaptics
touchpad) to pan an image around in gimp. This stopped working today
:(

What can I do?

% gimp --version
GNU Image Manipulation Program Version 2.8.18

ii  gimp  2.8.18-1  amd64   
  GNU Image Manipulation Program

cu
--
Markus Grunwald



Re: Resume From Hibernation Failing With Automatic Reboot - Debian Testing

2016-10-13 Thread Markus Grunwald
Hello Sicelo,

> I am running Debian Testing, and for the last two weeks or so, it is
> impossible to successfully resume the system from hibernation.

Sorry that I can't help you, but I have the same problem. Although, I
can provide an error from the logfile:

Okt 12 19:13:22 haktar kernel: PM: Starting manual resume from disk
Okt 12 19:13:22 haktar kernel: PM: Hibernation image partition 8:2 present
Okt 12 19:13:22 haktar kernel: PM: Looking for hibernation image.
Okt 12 19:13:22 haktar kernel: PM: Image not found (code -22)
Okt 12 19:13:22 haktar kernel: PM: Hibernation image not present or could not 
be loaded.

I'm hibernating to a swapfile and double-checked that the grub
commandline is correct.

> The hardware is a ThinkPad X40 (yes, old), running Debian testing with
> the 4.7.0-1-686 #1 SMP Debian 4.7.5-1 kernel. It has 1GB RAM, and a 60GB
> SSD.

Mine is a Thinkpad T61:
Linux haktar 4.7.0-1-amd64 #1 SMP Debian 4.7.5-1 (2016-09-26) x86_64 GNU/Linux
4GB RAM
-rw--- 1 root root 5,0G Jan 31  2016 /swap.0
GRUB_CMDLINE_LINUX_DEFAULT="init=/bin/systemd resume=/dev/sda2 
resume_offset=4898816"

cu
--
Markus Grunwald

Fragen zur Mail? http://www.the-grue.de/mail_und_co
http://www.the-grue.de/~markus/markus_grunwald.gpg



Installing mariadb fails in post-install script

2016-10-08 Thread Markus Grunwald
le_priv='\''Y'\'', Lock_tables_priv='\''Y'\'', 
Execute_priv='\''Y'\'', ' '  Repl_slave_priv='\''Y'\'', 
Repl_client_priv='\''Y'\'', Create_view_priv='\''Y'\'', ' '  
Show_view_priv='\''Y'\'', Create_routine_priv='\''Y'\'', 
Alter_routine_priv='\''Y'\'', ' '  Create_user_priv='\''Y'\'', 
Event_priv='\''Y'\'', Trigger_priv='\''Y'\'',' '  ssl_cipher='\'''\'', 
x509_issuer='\'''\'', x509_subject='\'''\'';'
+ replace_query='USE mysql;
 SET sql_mode='\'''\'';
 REPLACE INTO user SEThost='\''localhost'\'', 
user='\''debian-sys-maint'\'', password=password('\''ovVKCuwwrT9XbSrm'\''),
Select_priv='\''Y'\'', Insert_priv='\''Y'\'', Update_priv='\''Y'\'', 
Delete_priv='\''Y'\'',Create_priv='\''Y'\'', Drop_priv='\''Y'\'', 
Reload_priv='\''Y'\'', Shutdown_priv='\''Y'\'',Process_priv='\''Y'\'',  
File_priv='\''Y'\'', Grant_priv='\''Y'\'', References_priv='\''Y'\'',
Index_priv='\''Y'\'', Alter_priv='\''Y'\'', Super_priv='\''Y'\'', 
Show_db_priv='\''Y'\'',Create_tmp_table_priv='\''Y'\'', 
Lock_tables_priv='\''Y'\'', Execute_priv='\''Y'\'',
Repl_slave_priv='\''Y'\'', Repl_client_priv='\''Y'\'', 
Create_view_priv='\''Y'\'',Show_view_priv='\''Y'\'', 
Create_routine_priv='\''Y'\'', Alter_routine_priv='\''Y'\'',
Create_user_priv='\''Y'\'', Event_priv='\''Y'\'', Trigger_priv='\''Y'\'',   
ssl_cipher='\'''\'', x509_issuer='\'''\'', x509_subject='\'''\'';'
++ /bin/echo -e 'USE mysql;\n' 'CREATE TABLE IF NOT EXISTS plugin (name 
char(64) COLLATE utf8_bin NOT NULL DEFAULT '\'''\'', ' '  dl char(128) COLLATE 
utf8_bin NOT NULL DEFAULT '\'''\'', ' '  PRIMARY KEY (name)) ENGINE=MyISAM 
DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='\''MySQL plugins'\'';'
+ install_plugins='USE mysql;
 CREATE TABLE IF NOT EXISTS plugin (name char(64) COLLATE utf8_bin NOT NULL 
DEFAULT '\'''\'',dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '\'''\'',   
 PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin 
COMMENT='\''MySQL plugins'\'';'
+ echo 'USE mysql;
 ALTER TABLE user CHANGE Password Password char(41) character set latin1 
collate latin1_bin DEFAULT '\'''\'' NOT NULL;'
+ /usr/sbin/mysqld --bootstrap --user=mysql --disable-log-bin 
--skip-grant-tables --default-storage-engine=myisam
+ logger -p daemon.err -t mysqld_safe -i
dpkg: error processing package mariadb-server-10.0 (--configure):


--
Markus Grunwald
http://www.the-grue.de

Fragen zur Mail? http://www.the-grue.de/mail_und_co
http://www.the-grue.de/~markus/markus_grunwald.gpg



Re: Recommendation: Backup system

2016-10-03 Thread Markus Grunwald
Hello Teemu,

> > rsync, whilst an awesome piece of software, is not, on its own, a
> > backup system.
>
> Yes. With some scripting I think "rsync" with "--link-dest" is quite
> ideal for incremental backups. Unchanged files are created as hard links
> for the previous backup files. Every backup generation is just a normal
> and complete file system tree.

I haven't followed this thread closely, but:

To everybody who ponders using rsync for backup, I strongly suggest a
closer look at "dirvish". I'm using it to backup servers, laptops,
raspberries. It is not hard to configure, uses rsync with hard links
for "incremental" backups and keeps older versions of the backups.

--
Markus Grunwald

Fragen zur Mail? http://www.the-grue.de/mail_und_co
http://www.the-grue.de/~markus/markus_grunwald.gpg



Old gpg password when using gpg-agent

2016-10-01 Thread Markus Grunwald
Hello,

After I have changed the password for my gpg key, there is something
very strange:

When I try to sign my mail, the new password is rejected, while the
old one is still valid. Even after I killed the gpg-agent, rebooted my
machine or sacrificed a cpu to the gods of linux...

When I sign a file from commandline, it works just fine:

 % gpg --sign test.txt

 You need a passphrase to unlock the secret key for
 user: "Markus Grunwald <mar...@the-grue.de>"
 4096-bit RSA key, ID 79D7E890, created 2012-05-31

This is somehow scary, because it means my mail program has some
copy/cache/whatever which seems to be my key, but can be unlocked with
the wrong password...

My mail program is sylpheed-claws:

 % dpkg -l claws-mail | egrep '^ii'
 ii  claws-mail 3.14.0-1+b1  amd64Fast, lightweight and
 user-friendly GTK+2 based email client


I even configured claws to use the key 79D7E890 manually, but still
the old password is valid.



I hope you have a hint what could be wrong...
--
Markus Grunwald

Fragen zur Mail? http://www.the-grue.de/mail_und_co
http://www.the-grue.de/~markus/markus_grunwald.gpg



Re: No system d after update wheezy -> jessie?

2015-09-28 Thread Markus Grunwald
Hello,

> Did you use "aptitude upgrade" when upgrading your system from wheezy to
> jessie?


Yes, I did. I'm using aptitude since it was the preferred method ages ago and
didn't see any reason to change this.

Well, now it has changed ;)

Thanks for your help!
-- 
Markus Grunwald
https://www.the-grue.de

Fragen zur Mail? https://www.the-grue.de/mail_und_co
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: After update to debian jessie: 404 on all drupal sub-pages

2015-09-28 Thread Markus Grunwald
Hello,

The drupal guys have found out, that apaches mod_rewrite is not working any
more.

This uses rewrite and fails:
http://www.goldschmiede-grunwald.de/impressum

This doesn't use rewrite and works:
http://www.goldschmiede-grunwald.de/?q=impressum

mod_rewrite is enabled. What could be wrong?

-- 
Markus Grunwald
https://www.the-grue.de

Fragen zur Mail? https://www.the-grue.de/mail_und_co
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: After update to debian jessie: 404 on all drupal sub-pages

2015-09-28 Thread Markus Grunwald

That helped:
https://www.drupal.org/node/2143621

-- 
Markus Grunwald
https://www.the-grue.de

Fragen zur Mail? https://www.the-grue.de/mail_und_co
https://www.the-grue.de/~markus/markus_grunwald.gpg



Re: No system d after update wheezy -> jessie?

2015-09-28 Thread Markus Grunwald
Hello Brian,

> Actually, the decision was the opposite of this. A dist-upgrade will
> install systemd-sysv unless steps are taken to prevent it happening.

I'm the original poster. I did nothing to prevent systemd-sysv being installed
(no pinning, no hold or the like), yet there's no systemd after my update...

Strange, really.
-- 
Markus Grunwald
https://www.the-grue.de

Fragen zur Mail? https://www.the-grue.de/mail_und_co
https://www.the-grue.de/~markus/markus_grunwald.gpg



After update to debian jessie: 404 on all drupal sub-pages

2015-09-27 Thread Markus Grunwald
Hello,

when updating from wheezy to jessie, I had some trouble. I followed the release
notes, but since I'm not a php developer, I didn't understand everything. Now,
there's trouble:

The release notes mention something about php 5.6, but as a simple user of
drupal I don't understand the meaning:
https://www.debian.org/releases/stable/amd64/release-notes/ch-informatio...

First, I thought all is fine, as these drupal pages of mine worked ok:

http://www.goldschmiede-grunwald.de/
http://www.maennerchor-kirchseeon.de/

Today came the panic, as I recognized that every drupal-page below / gives me a
404, for example:

http://www.goldschmiede-grunwald.de/impressum
http://www.maennerchor-kirchseeon.de/impressum

Pages that are not drupal-related work ok, too:
http://www.goldschmiede-grunwald.de/gna.php
http://www.maennerchor-kirchseeon.de/download/

Owncloud, another php software works perfectly on the same server.

Static pages from the same server are ok, too:
https://www.the-grue.de/mail_und_co/komischer_anhang.html

I put the log output of my apache to debug level, but everything I see is just
the 404 message:

178.26.130.51 - - [27/Sep/2015:14:51:49 +0200] "GET /impressum HTTP/1.1" 404
518 "http://www.goldschmiede-grunwald.de/; "Mozilla/5.0 (X11; Linux x86_64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.107 Safari/537.36"

I already tried for a few hours, but now I've completely run out of ideas.
Could you please help me?
-- 
Markus Grunwald
https://www.the-grue.de

Fragen zur Mail? https://www.the-grue.de/mail_und_co
https://www.the-grue.de/~markus/markus_grunwald.gpg



No systemd after update wheezy -> jessie?

2015-09-27 Thread Markus Grunwald
Hello,

after the update from wheezy to jessie, there is no systemd running on my
machine. I had the impression, that systemd is installed automatically...?

% dpkg -l \*systemd\* | egrep \^ii
ii  libsystemd0:amd64215-17+deb8u2 amd64systemd utility library

% ps ax | grep system
 3441 ?Ss 0:00 /usr/bin/dbus-daemon --system
16669 pts/1S+ 0:00 grep --color=auto system

% ps ax | head -n 2
  PID TTY  STAT   TIME COMMAND
1 ?Ss 0:02 init [2] 

 % dpkg -S /sbin/init
sysvinit-core: /sbin/init

I have to add that  the machine is a vserver where I have influence on the
kernel

% cat /proc/cmdline
root=/dev/xvda1
ip=95.129.55.223:127.0.255.255:95.129.55.193:255.255.255.192:vsrv28769.customer.xenway.de:eth0:off
 

-- 
Markus Grunwald
https://www.the-grue.de

Fragen zur Mail? https://www.the-grue.de/mail_und_co
https://www.the-grue.de/~markus/markus_grunwald.gpg



group membership missing after update

2011-11-21 Thread Markus Grunwald
Hello,

after many years without any (debian testing related) trouble, I need
your help again: After my last safe-upgrade, I'm not member of any
groups when I open a shell...

-I login to my i3 windowmanager
-open a console
-output of groups is markus - and that's all :s
-after a su - markus, or ssh localhost, or switch to the text console,
all is normal...

An strace groups shows, that /etc/groups isn't even touched...

I have no Idea what wrong there and hope for your help.
TIA
-- 
Markus Grunwald


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2021141055.0b8f9...@pc-cm-gru-virtlinux1.pt.local



Re: nfs permission problem

2009-08-30 Thread Markus Grunwald
Hello Frank,
 I was working with nfs for years, but I have not the slightest idea what
 the problem is here...
 
 I know this :)

Yes, NFS sometimes seems to cause stange problems ...

 Just a thought... has the group wir the same gid on the server?

Yes, gid is 1008 on both computers. I think I mentioned it somewhere in
my post.

  Whats in
 the logs if you get the error? Does it work if you mount without autofs?

Which log? I found no message in /var/log/messages, syslog or daemon.log...
I didn't try to mount without autofs, but I'll catch up on this.

Thanks for your help!
-- 
Markus Grunwald http://the-grue.de

Registered Linux User Nr 101577
http://counter.li.org

gpg/pgp fingerprint: 7E01F5FE15CEDD0A
(gpg --recv-keys 7E01F5FE15CEDD0A)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



nfs permission problem

2009-08-29 Thread Markus Grunwald
Hello,

there is a strange permission problem with a NFS share on my system.
Somehow, it is not recognized that my user markus is in the group
wir, when I do changes on a NFS mount. If I do the changes local on
the server, everything is fine... Let me go into the details:

That's me on the server:

mar...@server:~$ echo $UID
1000
mar...@server:~$ groups
markus adm mail dialout cdrom floppy audio www-data src video plugdev
users fuse wir

mar...@server:~$ grep markus /etc/passwd /etc/group
/etc/passwd:markus:x:1000:1000:Markus Grunwald,,,:/home/markus:/bin/bash
/etc/group:markus:x:1000:
/etc/group:wir:x:1008:markus,bibi

An that's me on the nfs client:

mar...@haktar % echo $UID
1000
mar...@haktar % groups
markus dialout cdrom floppy audio dip src video plugdev games netdev
powerdev scanner fuse nvram smbusers wir
mar...@haktar % grep markus /etc/passwd /etc/group
/etc/passwd:markus:x:1000:1000:markus,,,:/home/markus:/bin/zsh
/etc/group:markus:x:1000:
/etc/group:wir:x:1008:markus,bibi

So everything matches.
The nfs share is exported like this on server:

mar...@server:~$ grep media /etc/exports
/srv/share/media192.168.0.0/16(sync,rw,no_root_squash,no_subtree_check)

On the client, it is mounted with the automounter:

mar...@haktar % mount | grep /srv/share/media
server:/srv/share/media on /var/autofs/net/server/srv/share/media type
nfs (rw,nosuid,nodev,hard,intr,sloppy,addr=192.168.178.21)


This is the data I want to change, as seen on the server:

mar...@server$ pwd
/srv/share/media/pictures/Originale


mar...@server$ ls -ld 2009-08-29_1251536114/
drwxrwx--- 2 markus wir 4096 29. Aug 10:58 2009-08-29_1251536114/
mar...@server:$ ls -ldn 2009-08-29_1251536114/
drwxrwx--- 2 1000 1008 4096 29. Aug 10:58 2009-08-29_1251536114/

mar...@server:$ ls -l 2009-08-29_1251536114/dsc08183.jpg
-rw--- 1 markus markus 2349369 29. Aug 10:55
2009-08-29_1251536114/dsc08183.jpg

mar...@server:$ ls -ln 2009-08-29_1251536114/dsc08183.jpg
-rw--- 1 1000 1000 2349369 29. Aug 10:55
2009-08-29_1251536114/dsc08183.jpg


Now I want to change the ownership of the jpg file, on the client:
mar...@haktar % chown markus.wir dsc08183.jpg
chown: changing ownership of `dsc08183.jpg': Operation not permitted

Hmm. On the sever:

mar...@server:$ chown markus.wir dsc08183.jpg
mar...@server:$ echo $?
0
mar...@server:$ ls -l dsc08183.jpg
-rw--- 1 markus wir 2349369 29. Aug 10:55 dsc08183.jpg
mar...@server:$ ls -ln dsc08183.jpg
-rw--- 1 1000 1008 2349369 29. Aug 10:55 dsc08183.jpg


I was working with nfs for years, but I have not the slightest idea what
the problem is here...

Could you please help me?

-- 
Markus Grunwald http://the-grue.de

Registered Linux User Nr 101577
http://counter.li.org

gpg/pgp fingerprint: 7E01F5FE15CEDD0A
(gpg --recv-keys 7E01F5FE15CEDD0A)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Differences in gnome speed

2009-02-10 Thread Markus Grunwald
Hello,

my wife and me both use the gnome desktop environment of our up to date
lenny system. When my wife starts her session, everything is up and
working in a few seconds. When I log in, the login process takes much
longer (about 20 seconds, more or less) and I have to wait ages when I
click on the foot menu (or press Alt-F2) for the first time. After the
first time, the menu opens quickly.

The difference between my wife's and my session is that I have customized
much more settings than my wife. Almost all she has done is changed the
background picture and maybe the windowmanager theme and that's it. I have
added some menu items to the foot some time ago, but later I have undone
these changes.

I would like to find out what I have done that my foot menu opens so
slowly. Is there a way to wipe out all my menu customisations without
loosing all the other gnome settings I've changed ?

Thanks,
-- 
Markus Grunwaldhttp://the-grue.de

Registered Linux User Nr 101577
http://counter.li.org




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



libsane-extras: epson perfection 4490 PHOTO doesn't work on amd64

2007-12-26 Thread Markus Grunwald
Hello,

After making sure that the epson 4490 photo is supported by linux (debian 
package libsane-extras, epkowa backend) I bought this fine scanner. Works like 
a charm on ... you know ;)

But on my debian lenny tp61 (Linux haktar 2.6.22.5gru #4 SMP Sun Nov 18 
17:58:05 CET 2007 x86_64 GNU/Linux) with 64 bit linux, I can't get the scanner 
to work. I followed the instructions in 
/usr/share/doc/libsane-extras/README.Debian, added myself to the scanner group 
and tried scanimage -L, but the scanner didn't appear.

lsusb shows the scanner:

[EMAIL PROTECTED]:/usr/lib$ lsusb | grep -i epson
Bus 002 Device 003: ID 04b8:0119 Seiko Epson Corp. Perfection 4490 Photo

lshal shows something about the scanner, too, mainly that the device is located 
at  /dev/bus/usb/002/003

I straced scanimage but didn't find anything special. Maybe I overlook 
something. All I see is that the firmware, located in 
/usr/share/iscan/esfw54.bin isn't touched. Hmm

I tried installing the packages from 
http://www.avasys.jp/english/linux_e/dl_scan.html without success. I tried to 
compile the sources, but the frontend will compile only for IA32.

As you can imagine, google didn't help me, neither. So I am out of ideas and 
have to double boot for the first time since almost 4 years. Have to get used 
to windows again :(

I hope that you can help me

-- 
Markus Grunwald

Registered Linux User Nr 101577  gpg/pgp fingerprint: 7E01F5FE15CEDD0A
http://counter.li.org(gpg --recv-keys 7E01F5FE15CEDD0A)
 icq 314331831


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: libsane-extras: epson perfection 4490 PHOTO doesn't work on amd64

2007-12-26 Thread Markus Grunwald
Hello,

on http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.3 I found 
out, that my 64 bit sane won't work with the binary only libraries from epson. 
They propose to install 32 bit sane...

I have the ia32 libs installed, but how can I install 32 bit debian packages 
with (or without...) aptitude ?

-- 
Markus Grunwald

Registered Linux User Nr 101577  gpg/pgp fingerprint: 7E01F5FE15CEDD0A
http://counter.li.org(gpg --recv-keys 7E01F5FE15CEDD0A)
 icq 314331831


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Apt Pinning: Way of no return ?

2007-03-07 Thread Markus . Grunwald
  What if I don't like kdevelop from unstable and want kdevelop from 
testing 
  again ? How can I undo all the changes that may have been made while 
  installing kdevelop from unstable ?

 AFAIK, remove kdvelop, change the pin, then reinstall it, or you can
 leave the pin and specify the specific version you want with apt-get.

Doesn't sound bad. Any experiences from people who have already done this 
?

Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200

PRÜFTECHNIK Condition Monitoring GmbH
Sitz Ismaning / HRB 145655 München 
Geschäftsführer: Johann Lösl, Roland Schühle

Ein Unternehmen der PRÜFTECHNIK-Gruppe



Apt Pinning: Way of no return ?

2007-03-06 Thread Markus . Grunwald
Hello,

As you might have read here, I have a little trouble getting kdevelop from 
unstable into testing. Apt pinning seems to be quite an easy solution. I 
read (among others) http://wiki.debian.org/AptPinning, it looks quite 
easy.

But as cautious admin, I still have one question (maybe I didn't exactly 
understand the man page ... ):

What if I don't like kdevelop from unstable and want kdevelop from testing 
again ? How can I undo all the changes that may have been made while 
installing kdevelop from unstable ? Will a simple aptitude install -t 
testing kdevelop work ? I suspect I'll have to adjust 
/etc/apt/preferences ...

Many thanks for your patience...

Markus Grunwald
Softwaredevelopment

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200

PRÜFTECHNIK Condition Monitoring GmbH
Sitz Ismaning / HRB 145655 München 
Geschäftsführer: Johann Lösl, Roland Schühle

Ein Unternehmen der PRÜFTECHNIK-Gruppe



How to get newer kdevelop in my etch installation ?

2007-03-05 Thread Markus . Grunwald
Hello,

currently, I have a problem with frozen etch: In mid november, I filed a 
bug report to kdevelop (the bug was about debugging problems) which was 
fixed at the end of january. Thanks to the maintainer for that !

But the bug is fixed in kdevelop 4:3.4.0-1 which won't come into etch 
(Quote from debian-release) :
As this is a new minor upstream release, we will not unfreeze this 
package.

Great. So I have a bugfix for a problem that really drives us crazy here 
but it won't come into the etch distribution. As I see it, I have these 
possibilities:

1) Don't insist on etch (stable). Just stay with testing and wait until 
testing isn't frozen anymore.
  I won't do this because of several reasons (takes too long, I don't want 
testing any more and so on )
2) Use apt pinning.
  I have no experience with this. Won't that mean that in the long run I 
will draw the whole KDE stuff from testing into stable ?
3) Compile from source.
  Hmmm. No problem. Would (IMHO) mean to install lots of *-dev packages, 
but that's ok...
4) Anything I didn't think of...

Now I'm sure that some people here have similar problems. What would you 
do, what advice can you give ?

Regards,

Markus Grunwald
Softwaredevelopment

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200

PRÜFTECHNIK Condition Monitoring GmbH
Sitz Ismaning / HRB 145655 München 
Geschäftsführer: Johann Lösl, Roland Schühle

Ein Unternehmen der PRÜFTECHNIK-Gruppe



Re: How to get newer kdevelop in my etch installation ?

2007-03-05 Thread Markus . Grunwald
Hello,

  2) Use apt pinning.
I have no experience with this. Won't that mean that in the long run 
I 
  will draw the whole KDE stuff from testing into stable ?
 
 Actually, apt-pinning is a lot easier than you think. Just google
 apt-pinning and the first result should be a HowTo for apt-pinning.

Ok, I'm just starting to read the howto(s). I still wonder what will 
happen on later upgrades, when kdevelop will depend on new kde libraries. 
As I understand it, they will come in, too. Of course, I could just hold 
kdevelop after I got it from unstable ...


Regards,

Markus Grunwald
Softwaredevelopment

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200

PRÜFTECHNIK Condition Monitoring GmbH
Sitz Ismaning / HRB 145655 München 
Geschäftsführer: Johann Lösl, Roland Schühle

Ein Unternehmen der PRÜFTECHNIK-Gruppe



Re: Can't get to a console from gdm screen

2007-02-16 Thread Markus . Grunwald
Hello,

 According to http://www.debianhelp.org/node/1619:

Thanks, I'll try this on the weekend.

Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Can't get to a console from gdm screen

2007-02-15 Thread Markus . Grunwald
Hello,

I have a problem on a debian etch machine: When the gdm screen comes, 
Ctrl-Alt-Fn doesn't take me to any console. I have to log in as user, then 
it works. Is this some special kind of security setting ???

I have this problem since a long, long time and could live with it, but 
now one of my colleagues has the same problem and asks for advice...

TIA,

Markus Grunwald
Softwaredevelopment

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Bug in cups-pdf or in samba ?

2007-01-19 Thread Markus . Grunwald
Hello,

I'm about to write a bug report to cups-pdf, yet I'm not really sure if it 
is the right address. Do you know the following problem?

I use cups-pdf together with samba. cups-pdf works just fine on the linux 
pc, but there is a problem, when the printer is accessed via samba. Since 
the windows users have account names like markus.grunwald and the linux 
server uses other names ( gru in my case ), I have to map the users with 
the smbusers file. This works perfectly, except when using cups-pdf. 
cups-pdf thinks, his ${USER} is the unmapped markus.grunwald, so that I 
can't use ${HOME} or ${USER} for the pdf files.

Samba seems to do the right thing:
  pc-cm-grunwald (172.17.5.34) connect to service PDF Drucker initially as 
user gru (uid=510, gid=100) (pid 22585)

Do you have any comments or suggestions before I reportbug cups-pdf ?

Many thanks,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



where is the bash documentation in info format ?

2007-01-18 Thread Markus . Grunwald
Hello,

until a few weeks ago, I was able to view the bash documentation in info 
format. As I wanted to look at it today, I noticed that the info files for 
bash are gone...

I apt-cache searched for bash and info and found nothing that contains the 
info files...

Where has the information gone and how can I get it back ?

TIA,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: where is the bash documentation in info format ?

2007-01-18 Thread Markus . Grunwald
Hello,

 It looks like another case of the Debian/GNU policy conflict.
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357260

Oh dear
As a engineer, all this legal stuff is quite !%£$ for me :(

'The first thing we do, let's kill all the lawyers'
 (Henry VI, Act IV, Scene II)

Many thanks for your information, Tyler !


Markus Grunwald
Softwaredevelopment

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Scilab in etch ?

2006-12-14 Thread Markus . Grunwald
Hello,

Is there a chance that we will get scilab in etch ?
We work quite a lot with it and it would be much nicer to install a .deb 
then to install it from source...

cu

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Samba mountpoint hangs after server crash

2006-12-11 Thread Markus . Grunwald
Hello,

We have some trouble with samba together with a flaky windows NT 4.0 
Server: Quite often the server crashes and can't be reached again until it 
is rebooted. We mount some smb shares from that server and when the server 
crashes, we can't access the shares until root unmounts and remounts these 
shares.

This is a bit annoying, since root is not always available and has better 
things to do then remounting smb shares ;) I know, the best thing would be 
to fix the server, but nobody maintains this old machine...

Does the bug that is mentioned in the manpage Mounts  sometimes stop 
working. ... strike here ? I don't think so, because the mountpoint 
doesn't stop just like that, but because the server dies.

Some additional data:
Distribution: Debian testing
Kernel: 2.6.17-2-686

dpkg -l smb\*
ii  smbclient  3.0.23d-1  a 
LanManager-like simple client for Unix
ii  smbfs  3.0.23d-1  mount and umount 
commands for the smbfs (for kernels = than 2.2.x)

log.smbmount shortly after the server failed:
[2006/12/09 06:26:33, 1] libsmb/cliconnect.c:cli_connect(1369)
  Error connecting to xxx.xxx.xxx.xxx (Keine Route zum Zielrechner)
[2006/12/09 06:26:33, 0] client/smbmount.c:do_connection(155)
  23909: Connection to server failed
[2006/12/09 06:27:03, 1] libsmb/cliconnect.c:cli_connect(1369)
  Error connecting to xxx.xxx.xxx.xxx (Keine Route zum Zielrechner)
[2006/12/09 06:27:03, 0] client/smbmount.c:do_connection(155)
  969: Connection to server failed

Best regards,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Latest xemacs (testing) and speedbar

2006-03-13 Thread Markus . Grunwald
Hello,

I updated my xemacs21 packages and now my speedbar throws an error:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  normalize-menu-item-name(nil)
  easy-menu-remove((Speedbar [Update speedbar-refresh t] [Auto 
Update speedbar-toggle-updates :active (not speedbar-update-flag-disable) 
:style toggle :selected speedbar-update-flag] [Use Images 
speedbar-toggle-images :style toggle :selected speedbar-use-images] - 
(Displays [Files ... :style radio :selected ...] [Quick Buffers ... 
:style radio :selected ...] [Buffers ... :style radio :selected ...] 
[Class Browser ... :style radio :selected ...] [Analyze ... :style 
radio :selected ...]) [Customize... speedbar-customize t] [Detach 
speedbar-detach (and speedbar-frame ...)] [Close dframe-close-frame t] 
[Quit delete-frame t]))
  speedbar-reconfigure-keymaps()
  speedbar-frame-mode(1)
  dframe-get-focus(speedbar-frame speedbar-frame-mode #compiled-function 
nil ...(6) [speedbar-update-flag t speedbar-timer-fn] 1)
  #compiled-function nil ...(9) [speedbar-reset-scanners 
dframe-get-focus speedbar-frame speedbar-frame-mode #compiled-function 
nil ...(6) ... 1] 4 
(/usr/share/xemacs21/site-lisp/speedbar/speedbar.elc . 32220) nil()
  call-interactively(speedbar-get-focus)


What's wrong there ?


TIA

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



ddns : client 127.0.0.1 updating zone : update failed: 'name not in use' prerequisite not satisfied (YXDOMAIN)

2006-02-26 Thread Markus Grunwald
Hello,

I am somewhat new to the dhcp/dns combination so I hope you can help me a bit
with something that I don't understand.

I have a server (named server - those of you who know the German C't
magazine know the C't debian server distribution ) that serves dhcp and dns.
So the clients ask dhcp for an IP address and tells dhcp to add their hostname
to the dns. When a client asks for a hostname, dns knows the IP and can tell it
to the clients. Am I right so far ?

OK, now my problem is this:

One client that I would like to name eddie is allmost never assigned the
correct ip address in dns:

[EMAIL PROTECTED]:  nslookup eddie
Server: 192.168.1.2
Address:192.168.1.2#53

Name:   eddie.zuhause.xx
Address: 192.168.1.80

Eddie: # ifconfig
eth0  Protokoll:Ethernet  Hardware Adresse 00:10:4B:BB:98:95
  inet Adresse:192.168.1.75  Bcast:0.0.0.0  Maske:255.255.0.0

Hmm :(

I understand, that dns still has the assignment eddie==192.168.1.80. Even if
dhcp tells it 192.168.1.75 wants to be named eddie, dns says But eddie has
already the ip 192.168.1.80. So dhcp doesn't update the name. At least I read
this from the error message:

ddns :  client 127.0.0.1 updating zone : update failed: 'name not in use'
prerequisite not satisfied (YXDOMAIN)

But what goes wrong here ? Shouldn't dhcp tell dns that 192.168.1.80 isn't
valid any more when it assigns 192.168.1.75 to eddie ?

What do I have to do to get it working correctly ?

N.B.: I have another client, zaphod that doesn't have this problem...

TIA
-- 
Markus Grunwald

Registered Linux User Nr 101577  gpg/pgp fingerprint: 7E01F5FE15CEDD0A
http://counter.li.org(gpg --recv-keys 7E01F5FE15CEDD0A)
 icq 314331831


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Missing /etc/pam.d/passwd

2006-02-17 Thread Markus . Grunwald
Hello,

On one of my debian testing machines, the /etc/pam.d/passwd is missing:

[EMAIL PROTECTED] ls -1 /etc/pam.d/
apache2
...
common-account
common-auth
common-password
common-session
...
other
ppp
samba
...
xscreensaver

The passwd package is installed:

[EMAIL PROTECTED] dpkg -l passwd | egrep ^ii
ii  passwd 4.0.14-4   change and administer password and group 
dat

It should contain the /etc/pam.d/passwd file:

[EMAIL PROTECTED] dpkg -L passwd | grep pam\.d
/etc/pam.d
/etc/pam.d/passwd
/etc/pam.d/chfn
/etc/pam.d/chsh

But even after I do aptitude reinstall passwd, nothing changes...
What is wrong there ? 
It doesn't seem to cause any errors since I can use the passwd command as 
usual...
Oh, and before you ask: I know that the file just contains @include 
common-password, but I would like to know why the file is missing...

Best regards,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: cvs problem (bug?): default user ignored

2006-02-02 Thread Markus . Grunwald
Hello,

[EMAIL PROTECTED] wrote on 31.01.2006 17:36:07:

 We have a csv repository, where every file should belong to 
 cvsuser.cvsgroup. This works fine for every user, except for me: If I 
 check in or tag a file, that file belongs to _me_ (gru.users) 
 afterwards...

Ok, I (partially) solved that problem: my password in the CVSROOT/config 
was wrong (blush). So, as I read in README.Debian:

The new PAM support changes this order to:

CVSROOT/passwd (always checked)
PAM (optional, enabled by default)
/etc/passwd (optional, disabled by default)
 
Since cvs couldn't authenticate me with CVSROOT/passwd, it went on and 
authenticated me with pam. That leads to the problem:

 Since PAM is used, too, I added that to CVSROOT/config:
 DefaultPamUser=cvsuser

I didn't change other defaults, so I should have been authenticated via 
PAM, but the DefaultPamUser was ignored.
Why ? 
How can I find out if PAM really was used ?
If PAM was used, it seems that the use of DefaultPamUser is buggy...

Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



cvs problem: default user ignored

2006-01-31 Thread Markus . Grunwald
Hello,

We have a csv repository, where every file should belong to 
cvsuser.cvsgroup. This works fine for every user, except for me: If I 
check in or tag a file, that file belongs to _me_ (gru.users) 
afterwards...

The CVSROOT/passwd contains a line that looks the same for every user:
gru:$1$passwordhash:cvsuser

Since PAM is used, too, I added that to CVSROOT/config:
DefaultPamUser=cvsuser


Now I am completely lost. I have no Idea, why cvs behaves different when I 
check something in...


Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



How to patch kernel with new kernel version scheme ?

2005-11-12 Thread Markus Grunwald
Hello,

How do I patch my 2.6 kernel with the new (four numbers) kernel version
scheme ? Cound't find that in the archives ( or was too dumb to use the cor=
rect
search terms...).

To be concrete: which patch do I need to get from 2.6.13.4 to 2.6.14 ?

TIA

-- 
Markus Grunwald

Registered Linux User Nr 101577  gpg/pgp fingerprint: 7E01F5FE15CEDD0A
http://counter.li.org(gpg --recv-keys 7E01F5FE15CEDD0A)
 icq 314331831


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How to downgrade libc6 ?

2005-11-11 Thread Markus . Grunwald
Hello,

today, I aptitude installed apache2, which took a new libc6 with it.
Now I can't link against one of my libs anymore:

/usr/local/lib/libcpdbg.a(cpdebug.o)(.text+0x374): In function 
`dbgSprintx':
: undefined reference to `__ctype_b'
./lib_x86/libtabe.a(tabe_zuyin.o)(.text+0x7c): In function 
`tabeZozyKeyToZuYinIndex':
: undefined reference to `__ctype_tolower'

I might be able to recompile it, but this could take a long time so I may 
be forced to go back to the elder libc6 - unfortunately, I don't know 
how...

Please help me, or I am in deep trouble...

TIA 
Markus Grunwald


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



No network access while booting

2005-10-31 Thread Markus Grunwald
Hello,

Since the last apt-get dist-upgrade (or the kernel update to 2.6.13.4, which
was roughly at the same time) I have some network trouble during the init
process:

From /var/log/boot:

Mon Oct 31 11:04:42 2005: Cannot find/run boinc executable  
Mon Oct 31 11:04:42 2005: Starting GNOME Display Manager: gdm.
Mon Oct 31 11:04:42 2005: Running ntpdate to synchronize clock
+ /usr/sbin/ntpdate -b -s -u pool.ntp.org Mon Oct 31 11:05:23 2005: Error :
Temporary failure in name resolution

boinc is not found, because the nfs server containing the boinc directory can't
be reached. From /var/log/messages:
Oct 31 11:04:40 eddie kernel: nfs: server marvin not responding, timed out
Oct 31 11:04:42 eddie kernel: nfs: server marvin not responding, timed out

The according links in /etc/rc5.d are:
S99boinc
S99gdm
S99ntpdate
S99rmnologin
S99stop-bootlogd

When I logged in, all the trouble is gone. I can manually
do /etc/rc5.d/S99boinc and /etc/rc5.d/ntpdate and all is fine. 

I have no Idea what to do to make things normal again... can you please help
me ?

TIA
-- 
Markus Grunwald

Registered Linux User Nr 101577  gpg/pgp fingerprint: 7E01F5FE15CEDD0A
http://counter.li.org(gpg --recv-keys 7E01F5FE15CEDD0A)
 icq 314331831


pgpdNpQZxFzRO.pgp
Description: PGP signature


Re: Common Users And Passwords For Multiple Computers

2005-09-19 Thread Markus . Grunwald
Hello,

 I'm trying to set up a about half a dozen linux boxes for my company.
 I wanted to know how I can set one machine to maintain an user and
 password list that would be accessible to all of the computers.

Thi should help:

http://www.metaconsultancy.com/whitepapers/ldap-linux.htm

Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: Minimize diskaccess on a light server

2005-09-16 Thread Markus . Grunwald
Hello,

 Does anyone have any hints on how to proceed? Maybe install
 laptop-mode-tools? What about a way to track disc access?

Just one hint when you have discovered which files are frequently 
accessed: If they needn't be persistent, you could link them to a file on 
tmpfs (/usr/src/linux/Documentation/filesystems/tmpfs.txt ).

Unfortunately, I don't know how to track disc access...

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



kernel: smbfs: Unrecognized mount option (noauto|remount)

2005-09-12 Thread Markus . Grunwald
Hello,

When I mount a smbfs share that has the noauto option, /var/log/messages 
shows this error:
kernel: smbfs: Unrecognized mount option noauto

Something similar happens when I try to remount a smbfs share, 
s/noauto/remount/.

I suspect this is because this paragraph from man mount:

Mount options for smbfs
   [...] and the current version of  mount  (2.12)  does
   not know anything about smbfs.

Am I right ? What can I do if I don't want to mount a share at boottime ?

BTW: debian testing
$ uname -a
Linux PT-AGCMLX1 2.6.12.3gru #4 SMP Fri Aug 19 14:39:54 CEST 2005 i686 
GNU/Linux

The line in fstab:
\\server\share/mnt/mountpoint smbfs 
noauto,credentials=pwdfile,fmask=777,gid=100,codepage=cp437  0 0

Thanks for your comments,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



fhs: where to mount other PCs ?

2005-09-12 Thread Markus . Grunwald
Hello,

According to fhs, where should I mount network shares, e.g. a share for 
data exchange within a company ? /mnt is for temporary use only, but I 
don't know a better place...

cu

Markus Grunwald


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: fhs: where to mount other PCs ?

2005-09-12 Thread Markus . Grunwald
Hello,

 acctually you can mount them anywhere you want. i bet /mnt or /home .
 just dont mount them to /etc or /sbin or something, that would be 
 too  weird...

I know I can mount everything where I want -- technically speaking. But 
the sense of the fhs (http://www.pathname.com/fhs/pub/fhs-2.3.html) is 
that things are a bit more standard so that people can easier switch 
between distributions and find things easier on fhs compliant systems.

In my example, the fhs says, that the /mnt directory should be used only 
for temporary mounts by root. To mount a cdrom drive on /mnt/cdrom is bad 
according to the fhs - /media is the right place. So I want to find the 
right place for my exchange shares ...

cu
Markus Grunwald


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



bash history too short ?

2005-09-07 Thread Markus . Grunwald
Hello,

I have a difference in the size of my .bash_history and the $HISTSIZE 
variable:

[EMAIL PROTECTED] wc -l /home/gru/.bash_history 
2217 /home/gru/.bash_history
[EMAIL PROTECTED] echo $HISTSIZE
4000

I could only explain this if I wouldn't type new commands, but many 
commands that I use got lost and I don't know why. Do I understand the 
$HISTSIZE setting wrong ?


Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: missing gnome menu items

2005-09-06 Thread Markus . Grunwald
Hello,

Angelo Bertolli [EMAIL PROTECTED] wrote on 02.09.2005 17:27:25:

 Hi, I was wondering if anyone else has experienced missing gnome menu 
 items.

Not much help, but I have the same problem as you...

Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



OT: perlcc problems

2005-09-06 Thread Markus . Grunwald
Hello,

When trying to compile a perl program with perlcc, the compiled program 
dies with an error, while the original is ok:

[EMAIL PROTECTED] ./foomatic-rip-c 
Modification of a read-only value attempted at foomatic-rip line 8.

I googled for this error but got nothing helpfull. It seems error existed 
back in perl 5.8.3 and should have been fixed...
Can anybody give me some hints how to get this working ?

[ btw: i need a foomatic-rip binary because my embedded device has no 
perl... ]


Markus Grunwald
Softwaredevelopment

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: email clients with reply-to-list feature

2005-08-26 Thread Markus . Grunwald
Hello, 

 I would like to make a list of email clients which have a
  reply-to-list feature either built-in or as an add on. This is what I
  know so far from reading the archives. I am hoping that others would
  comment about whether their favorite email client has this feature or 
not.
 
  1) mutt - Yes.
  2) mozilla-thunderbird - no
  3) outlook express - no
 
 kmail - yes
 sylpheed-claws - yes
 Evolution - yes

Even my most-hated (www.dreckstool.de seems to be down for a while...) 
lotus notes has a reply-to-all button. I just think it is very unpractical 
that I have to delete the To: adress and therefore insert the CC adress...

regards

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



quota questions

2005-08-22 Thread Markus . Grunwald
Hello,

I went through the quota-mini-howto to install quota on out system. It 
seems to work but I have one question that the howto didn't mention:

How does the user get information about his/her quota state, especially if 
his $HOME grows bigger than the soft limit ?
Hmm. Is warnquota the only possibility ?

Thanks,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Kernel 2.4.30: lvm suddently stopped working :(

2005-08-19 Thread Markus . Grunwald
Hello,

It seems my message never arrived in the list, so I repost it...


Today we rebooted a debian testing server (no updates made for a long time 
- never change a running system) and suddently lvm stopped working. It 
worked yesterday...

SERVER:~# vgscan
vgscan -- LVM driver/module not loaded?

I _know_ lvm is built into the kernel, not as a module. But /proc/lvm 
doesn't exist and the following doesn't look good either

SERVER:~# strace vgscan
[...]
open(/dev/lvm, O_RDONLY)  = -1 ENODEV (No such device)
[...]

No such device - how is this possible if the driver is built into the 
kernel ?

I have this config :

# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
CONFIG_MD_MULTIPATH=m
CONFIG_BLK_DEV_LVM=y


Some time later: OK, now I compiled lvm as a module, modprobed it and all 
is fine.
Well, nearly all. I really need to know why lvm stopped working in the 
first place...

Many thanks,

Markus Grunwald


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Kernel 2.4.30: lvm suddently stopped working :(

2005-08-12 Thread Markus . Grunwald
Hello,

Today we rebootet a debian testing server (no updates made for a long time 
- never change a running system) and suddently lvm stopped working. It 
worked yesterday...

SERVER:~# vgscan
vgscan -- LVM driver/module not loaded?

I _know_ lvm is built into the kernel, not as a module. But /proc/lvm 
doesn't exist and the following doesn't look good either

SERVER:~# strace vgscan
[...]
open(/dev/lvm, O_RDONLY)  = -1 ENODEV (No such device)
[...]

No such device - how is this possible if the driver is built into the 
kernel ?

I have this config :

# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
CONFIG_MD_MULTIPATH=m
CONFIG_BLK_DEV_LVM=y


Some time later: OK, now I compiled lvm as a module, modprobed it and all 
is fine.
Well, nearly all. I really need to know why lvm stopped working in the 
first place...

Many thanks,

Markus Grunwald


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



openssl has 2gb limit ?

2005-08-03 Thread Markus . Grunwald
Hello,

today I tried to encrypt a 3.2Gb file with openssl:

openssl enc -aes256 -e -salt -pass file:filename.pwd -in filename -out 
filename.openssl

It aborted with the error:
Die maximale Dateigröße ist überschritten = Maximum file size is 
exceeded

filename.openssl is then exactly 2Gb big...

I thought the 2gb limit is a relict ? Should I report a bug ?

Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: USB Pen / Thumb / Keyring Drive

2005-07-26 Thread Markus . Grunwald
Hello,

 I was just given a small USB pen drive and would like to get it working 
with 
 Debian.
 What I would like it something that will just automagically mount 
 the drive.

I never have done it, but there seems to be a good page at:

http://www.debian-administration.org/articles/126

Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: smbclient has 2GB limit ?

2005-07-21 Thread Markus . Grunwald
Hello all,

many thanks for your help. I will try CIFS as soon as I have the
opportunity to patch my 2.4 kernel.

cu

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



smbclient has 2GB limit ?

2005-07-20 Thread Markus . Grunwald
Hello,

While running a backup we were astonished that the samba client seems to 
have a 2GB limit (debian testing): We can copy files of any size from 
windows to a windows server without problems. But when we mount a share of 
this server via smbmount, cp or dd stop at the 2GB limit.

I would consider this a major bug, but can only hardly beleave this... Any 
suggestions ?

Thanks,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



quota for reiserfs in kernel 2.4.30

2005-07-15 Thread Markus . Grunwald
Hello,

I have a server using reiserfs for /home. I would like to use quota, but 
as I saw, quota support is not included for reiserfs in 2.4.x kernels 
(btw: I don't use a debian kernel). I found some patches from the SuSE 
people, but they are only for 2.4.13 to 2.4.25 while I use 2.4.30 ...

Is it possible (and safe!) to use one of these patches for my kernel ? 
Messing around with the filesystem doesn't sound very good...

Many thanks,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



How to use md5 passwords ?

2005-07-15 Thread Markus . Grunwald
Hello,

I thought I would use MD5 Passwords because of this line in 
/etc/pam.d/common-passwd:

password   required   pam_unix.so nullok obscure min=4 max=8 md5

But today I discovered that the format in /etc/shadow is crypt, because it 
is like $1$salt$hash !

What did I do wrong ?

Thanks,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



HP A4365A Tablet and X11

2005-07-13 Thread Markus . Grunwald
Hello,

I'm about to get an old HP A4365A graphic tablet, but don't know how to 
use it with X11. I found a nice WACOM HOWTO, but it doesn't seem to be the 
right one for this tablet.

It has a RS232 connector and a pen with two buttons. Any help how to use 
it with X11 would be great, thanks!

Best regards,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



In combination with cygwin: clipboard doesn't work

2005-07-11 Thread Markus . Grunwald
Hello,

We are connecting from our windows machines to a debian testing machine 
via cygwin:

C:\cygwin\usr\X11R6\bin\XWin.exe :0 -clipboard -nodecoration -query 
debian-server

The debian-server was a SuSE machine in earlier times. Since we changed it 
to debian some months ago, the clipboard exchange between windows and the 
x11 session doesn't work anymore. This is quite annoying and we have no 
idea how to fix this. Can anyone help ?

When connecting the same way to a SuSE machine, the clipboard is working.

XWin's output concerning the clipboard is the following (its the same for 
SuSE and debian):

winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client un
til fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client un
til fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client un
til fourth call.
winInitClipboard ()
winProcQueryTree - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard client already launched, returning.
winClipboardProc - XOpenDisplay () returned and successfully opened the 
display.

Best regards,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: Solved: In combination with cygwin: clipboard doesn't work

2005-07-11 Thread Markus . Grunwald
Hello,

 Since we changed it to debian some months ago, the clipboard exchange 
between windows and the 
 x11 session doesn't work anymore.

Just found the solution: It seems gdm kills some clients started by the 
init scripts and one of them has to do with the clipboard... So the 
solution is to change the line

#KillInitClients=true

to 

KillInitClients=false

and restart gdm. Tadaa, clipboard wirks again :) Of course, this had 
nothing to do with the change SuSE - debian, but with the change xdm - 
gdm...

Best regards,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200





Re: what is using my swap

2005-06-09 Thread Markus . Grunwald
Hello,

 I have a program that suspect is cause my swap to grow to almost a 
 gig, but it would be nice to verify without restarting a very 
 mission critical program.

Start top and press M. Top sorts the processes by memory consumption 
now. If you have 2GB RAM + 2GB Swap, a program that eats 1GB, it should be 
the topmost entry...

cu

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



What happened to non-us.debian.org/debian-non-US/dists/testing

2005-06-07 Thread Markus . Grunwald
Hello,

Yesterday, my apt-get update failed:

Failed to fetch 
http://non-us.debian.org/debian-non-US/dists/testing/non-US/main/binary-i386/Packages.gz
 
 404 Not Found

What happened ? First victim of sarge getting stable ?

cu

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



foreign fonts for X11 ?

2005-05-20 Thread Markus . Grunwald
Hello,

We have one SuSE (8.2 ?) machine here, where I can see all kinds of 
foreign fonts in X11 (e.g. chinese, japanese, greek and so on). I didn't 
manage to teach this to the new debian machines that I set up. We need 
this urgently, because our software is very international. Until now, we 
can test this only on this one SuSE machine, which I wantet to turn into a 
debian machine soon...

Could you help me find out why my debian machines cant display foreign 
fonts ?

Many thanks,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



cvs pserver drives me crazy :(

2005-05-20 Thread Markus . Grunwald
Hello,

Can someone please explain to me, why cvs-pserver isn't working on my 
debian testing box ?
I configured cvs with dpkg-reconfigure cvs to use /srv/cvs for the 
repository and to use cvspserver.

This happens when I try to login:

[EMAIL PROTECTED] cvs  -d :pserver:[EMAIL PROTECTED]:/srv/cvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/srv/cvs
CVS password: 
/srv/cvs: no such repository

/var/log/syslog says:

May 20 16:06:28 PT-AGCMLX1 cvs-pserver[18724]: connect from 172.17.5.44 
(172.17.5.44)
May 20 16:06:28 PT-AGCMLX1 cvs: login refused for /srv/cvs

I inserted strace in the cvspserver- line of inetd.conf. According to its 
output, /etc/passwd is read, but neither /etc/shadow nor 
/srv/cvs/CVSROOT/passwd

I have no idea whats going wrong here...

cu

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Bash script problem

2005-05-17 Thread Markus . Grunwald
Hello,

I have a problem with a bash script. The script (example) is very simple:

script.sh---
#!/bin/bash

echo hello
ssh PT-AGCMLX1 while true; do date; sleep 10s; done 


When I start script.sh, look up its pid via ps and kill it, the ssh keeps 
running:

 9311 pts/4S+ 0:00 /bin/bash ./script.sh
 9312 pts/4S+ 0:00 ssh PT-AGCMLX1 while true; do date; sleep 10s; 
done

 kill 9311

 9312 pts/4S  0:00 ssh PT-AGCMLX1 while true; do date; sleep 10s; 
done


How can I change my script so that it kills all its child processes, if it 
is killed itself ? I tried to use the trap function of bash, but it 
never used the correct pid...

Many thanks for your help,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Re: Bash script problem

2005-05-17 Thread Markus . Grunwald
Hello,

 
  I have a problem with a bash script. The script (example) is very 
simple:
  
  #!/bin/bash
  
  echo hello
  ssh PT-AGCMLX1 while true; do date; sleep 10s; done 
 [..] 
  How can I change my script so that it kills all its child processes, 
if it 
  is killed itself ? I tried to use the trap function of bash, but it 
  never used the correct pid...
 
 Have you tried to use exec ssh PT-... instead? 

No, I didn't know that. It's interesting, but unfortunately I can't use 
that. I need to be able to kill the script via killall script.sh and 
after the exec, script.sh isn't there anymore. I could use 'exec -a 
script.sh', but the killall command won't work either...

But thanks for the 'exec' tip, I learned something new :)

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200




Re: setting default compiler version

2005-05-12 Thread Markus . Grunwald
Hello,

  I wish g++ was handled as an alternative too.
  
  That does seem a good idea. Is there any reason that nobody's filed it 

  as a wishlist bug?
 
 I wanted to give you a chance. :p

Not much hope:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=115353

cu

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200



Strange error on burning cdrom

2003-06-19 Thread Markus Grunwald
Hello,

suddenly, I can't burn CDs without a strange error message anymore. 
I have no idea why, so I hope you can help me, because I don't like
error messages without reason.

Now the details:

Shortly before something went wrong I burned the first pile of CDs for
my thesis with this command perfectly fine (i.e. without error Message):

[EMAIL PROTECTED]:  cdrecord speed=4 diplomarbeit-01.img 

If I do it now, this is the result (I added the -v because I hoped to
get more relevant information, but the error message at the end is
exactly the same without -v). I marked the offending place with  | :

---


[EMAIL PROTECTED]:  cdrecord speed=4 -v diplomarbeit-01.img 
Cdrecord 2.01a10 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg
Schilling TOC Type: 1 = CD-ROM
scsidev: '4,0'
scsibus: 0 target: 4 lun: 0
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.7'
atapi: 0
Device type: Removable CD-ROM
Version: 2
Response Format: 2
Capabilities   : SYNC LINKED 
Vendor_info: 'PLEXTOR '
Identifikation : 'CD-R   PX-W1210S'
Revision   : '1.02'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R Drive buf size : 2394336 = 2338 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data 2 MB
Total size:2 MB (00:17.09) = 1282 sectors
Lout start:3 MB (00:19/07) = 1282 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 6
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type C, low Beta category (C-) (6)
  ATIP start of lead in:  -11231 (97:32/19)
  ATIP start of lead out: 335100 (74:30/00)
Disk type:Short strategy type (Phthalocyanine or similar)
Manuf. index: 27
Manufacturer: Prodisc Technology Inc.
Blocks total: 335100 Blocks current: 335100 Blocks remaining: 333818
RBlocks total: 343921 RBlocks current: 343921 RBlocks remaining: 342639
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Turning BURN-Free off
Performing OPC...
Starting new track at sector: 0
Track 01:2 of2 MB written (fifo 100%) [buf  97%]   5.2x.
Track 01: Total bytes read/written: 2621440/2621440 (1280 sectors).
Writing  time:   10.420s
Average write speed   2.6x.
Fixating...
Fixating time:   61.237s
 | cdrecord: Input/output error. plextor get speedlist: scsi sendcmd: no
error | CDB:  EB 00 00 00 00 00 00 00 00 0A 00 00
 | status: 0x2 (CHECK CONDITION)
 | Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 20 00 00 00
 | Sense Key: 0x5 Illegal Request, Segment 0
 | Sense Code: 0x20 Qual 0x00 (invalid command operation code) Fru 0x0
 | Sense flags: Blk 0 (not valid) 
resid: 10
cmd finished after 0.001s timeout 40s
cdrecord: fifo had 42 puts and 42 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

---


I _can_ read data from the cd without problem. But I don't like the
line

cdrecord: Input/output error. plextor get speedlist: scsi sendcmd: no
error

I didn't have this error earlier and strangely enough, I don't have
this error if I copy CDs on the fly with cdrdao:

cdrdao copy --speed 10  --on-the-fly

Works perfectly fine, while I get exactly the same error if I burn a
cd image with cdrdao...

I have another cd writer in my system. If I do the same with the other
writer, I get exactly the same error, too...

Further information about my system:

Linux Kernel 2.4.18
cat /etc/debian_version 
testing/unstable

My scsi host adapter:
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.4
Adaptec 29160 Ultra160 SCSI adapter
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

The cd writer I used with the example above:
  Vendor: PLEXTOR   Model: CD-R   PX-W1210S  Rev: 1.02
  Type:   CD-ROM ANSI SCSI revision: 02
(scsi0:A:4): 20.000MB/s transfers (20.000MHz, offset 16)

The other writer:
  Vendor: PLEXTOR   Model: CD-R   PX-W8220T  Rev: 1.01
  Type:   CD-ROM ANSI SCSI revision: 02
(scsi0:A:6): 10.000MB/s transfers (10.000MHz, offset 8)

I really hope you can help me.

Many thanks in advance,

-- 
Markus Grunwald

Registered Linux User Nr 101577
http://counter.li.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



  1   2   >