Bug#855890: transmission-remote-cli: Wrong interpeter used in /usr/bin/transmission-remote-cli

2017-02-22 Thread Jan Schulz
Package: transmission-remote-cli
Version: 1.7.0-1
Severity: normal

Dear Maintainer,

I use conda to use different environments. When such an environment is 
activated, 
`python` points to a binary in that environment and when I then try to start 
transmission-remote-cli it fails (in this case because it seems to be a python2 
only script and I had activated a python3 environment).

Please consider patching the /usr/bin/transmission-remote-cli to simply use 
`/usr/bin/python2` instead of `/usr/bin/env python`.

See also 
https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html#s-interpreter_loc
which explicitly mentions not using `/usr/bin/env python`.

Thanks a lot,

Jan

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages transmission-remote-cli depends on:
ii  python  2.7.13-2

Versions of packages transmission-remote-cli recommends:
ii  python-adns   1.2.1-5+b1
ii  python-geoip  1.3.2-1+b2
ii  python-ipy1:0.83-1
ii  transmission-cli  2.92-2

transmission-remote-cli suggests no packages.

-- no debconf information



Bug#855889: gnome-gmail: /usr/bin/gnome-gmail uses any available python

2017-02-22 Thread Jan Schulz
Package: gnome-gmail
Version: 2.3.1-1
Severity: normal

Dear Maintainer,

I installed gnome-gmail while also adding a anaconda python in my home. 
When having a conda environment activated, the python from the conda 
environment is used leading to a failing gnome-gmail call.

It would be nice if /usr/bin/gnome-gmail could use the full path of the system 
python interpreter /usr/bin/python or as it simply does 
`/usr/share/gnome-gmail/gnomegmail.py`, it could also simply put the py file 
itself into the path (the py file already has teh right hashbang: 
`#!/usr/bin/python -tt`.

Thanks a lot!

Jan

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-gmail depends on:
ii  gir1.2-gtk-3.0 3.22.7-2
ii  gir1.2-notify-0.7  0.7.7-1
ii  gir1.2-secret-10.18.5-2
ii  gir1.2-wnck-3.03.20.1-3
ii  gtk-update-icon-cache  3.22.7-2
ii  python-gi  3.22.0-2
ii  python-six 1.10.0-3
pn  python:any 

gnome-gmail recommends no packages.

gnome-gmail suggests no packages.

-- no debconf information



Bug#377548: Fails mounting some parts in a n-in-1 device

2011-08-12 Thread Jan Schulz

Hi,

Unfortunately I'm currently without the usbmount using box, so I can't 
test anything.


In git.katzien.de/usbmount.git (only available via git, not via 
webinterface) are my latest attempts to fix some bugs in and add some 
features to usbmount. This three commits may help with that problem, as 
the mountpoint strategy is changed:


  * [ac0c22cc] Add mountpoints based on vendor+model names. Patch
adapted from Andreas Pakulat, thanks! (Closes: #321694)
  * [030096bf] new strategy for mountpoints: handle it completely in
usbmount, no preinstalled mountpoints nessesary. Oldstyle /media/usbX
is still the default.
  * [4117d02b] Don't install the default mountpoints and remove them in
postinst, when upgrading from an older version

I've still locking enabaled, but the mountpoints are unique 
(vender_model_deviceidXXX), so adding multiple partitions (with 
different devideIDs) should not result in races even with locking 
removed. But that interpretation is from looking at the code after 
almost a year...


Kind regards,

Jan


On 12.08.2011 09:26, Hagen Fuchs wrote:

Package: usbmount
Severity: normal

Hello Jan,

I have just looked at #403209 and the patch proposed there seems to me
to lead straight into race conditions upon finding a free mount point
(see there for further reference).

The problem you described sounds almost as if you had the #403209-patch
applied, but I assume there's a different problem at work.  I will try
to find and reactivate an old USB-IDE and partition it heavily in order
to try and reproduce your report.

Your patch, by the way, looks good to me!  usbmount only needs to lock right
before search a free mount point and putting logically related code in a
separate function is almost always a good idea.  So, yeah, I think we
should use that.

Best Regards,
   Hagen Fuchs








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



Bug#592323: /etc/cron.weekly/apt-xapian-index: cron job exits with error

2010-11-06 Thread Jan Schulz

On 06.11.2010 17:14, Enrico Zini wrote:

I asked Xapian upstreams, and they'd like to see a C++ backtrace. It
should be obtainable in this way:

# gdb --args python /usr/sbin/update-apt-xapian-index --update --quiet
(gdb) catch throw
(gdb) run
[it will stop just before throwing the exception]
(gdb) where

The where command should print the C++ backtrace.


linus:/home/jan# gdb --args python /usr/sbin/update-apt-xapian-index 
--update --quiet

GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
http://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as i486-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) catch throw
Function __cxa_throw not defined.
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/python /usr/sbin/update-apt-xapian-index 
--update --quiet

[Thread debugging using libthread_db enabled]
Catchpoint 1 (exception thrown), 0xb750d515 in __cxa_throw ()
   from /usr/lib/libstdc++.so.6
(gdb) where
#0  0xb750d515 in __cxa_throw () from /usr/lib/libstdc++.so.6
#1  0xb74a3eef in std::__throw_length_error(char const*) ()
   from /usr/lib/libstdc++.so.6
#2  0xb74e9d82 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::assign(char const*, unsigned int) () from 
/usr/lib/libstdc++.so.6
#3  0xb7622f7b in FlintCursor::get_key(std::basic_stringchar, 
std::char_traitschar, std::allocatorchar *) const () from 
/usr/lib/libxapian.so.22

#4  0xb7623c7f in FlintCursor::next() () from /usr/lib/libxapian.so.22
#5  0xb761ed55 in ?? () from /usr/lib/libxapian.so.22
#6  0xb758f7ab in Xapian::PostingIterator::operator++() ()
   from /usr/lib/libxapian.so.22
#7  0xb7752e17 in ?? () from 
/usr/lib/python2.6/dist-packages/xapian/_xapian.so

#8  0x080e1968 in PyEval_EvalFrameEx ()
#9  0x080e2507 in PyEval_EvalCodeEx ()
#10 0x0816b80c in ?? ()
#11 0x0806232a in PyObject_Call ()
#12 0x0806a311 in ?? ()
#13 0x0806232a in PyObject_Call ()
#14 0x080b14d3 in ?? ()
#15 0x080b16d9 in ?? ()
#16 0x08169041 in ?? ()
#17 0x080dce2c in PyEval_EvalFrameEx ()
#18 0x080e18b0 in PyEval_EvalFrameEx ()
---Type return to continue, or q return to quit---

Hope you can do something with this, I've no idea whats happening here :-)

Greetings,

Jan





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



Bug#596626: linux-image-2.6: Please support Linksys WUSB600N v2 WiFi USB stick

2010-09-12 Thread Jan Schulz
Package: linux-image-2.6
Severity: wishlist


Please support the linksys WUSB600N _v2_ WifI USB Stick in kernel
2.6.35 onwards.

The stick is based on the ralink RT3572 chip and should be supported
as of 2.6.35:
http://comments.gmane.org/gmane.linux.redhat.fedora.general/377427

Up to 2.6.32 this chip was supported by the RT3572USB driver available
from http://www.ralinktech.com/support.php?s=2, but stoped compiling
with the upgrade to 2.6.35 :-(

The PCI ID is 1737:0079.

Thanks for your work on the debian kernel!

Jan


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (99, 
'maverick-updates'), (99, 'maverick')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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



Bug#593977: /usr/bin/sb_notesfilter.py: sb_notesfilter.py does not work on linux

2010-08-22 Thread Jan Schulz
Package: spambayes
Version: 1.0.4-5.1
Severity: normal
File: /usr/bin/sb_notesfilter.py

Hello,

I get an Error when running the sb_notesfilter.py command:

linus:/home/jan# sb_notesfilter.py
/usr/lib/python2.6/dist-packages/spambayes/tokenizer.py:19: DeprecationWarning: 
the sets module is deprecated
  from sets import Set
Traceback (most recent call last):
  File /usr/bin/sb_notesfilter.py, line 151, in module
import win32com.client
ImportError: No module named win32com.client
linus:/home/jan#

For me it looks like tis programm is not intended to run on linux if
it relies on windows COM.

Kind regards,

Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (99, 
'maverick-updates'), (99, 'maverick')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages spambayes depends on:
ii  python2.6.5-13   interactive high-level object-orie
ii  python-central0.6.16 register and build utility for Pyt

spambayes recommends no packages.

spambayes suggests no packages.

-- no debconf information



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



Bug#377548: usbmount: Still present: happens also with normal disks with 3+ partitions

2010-08-16 Thread Jan Schulz
Package: usbmount
Version: 0.0.21
Severity: normal

The problems still happens: I plugged in a normal (IDE) disk via an USB case 
and not all partitions were mounted :-(

The patch from #403209 seems to work just fine...

Kind regards,

Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (99, 
'maverick-updates'), (99, 'maverick')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usbmount depends on:
ii  dpkg  1.15.8.4   Debian package management system
ii  lockfile-progs0.1.15 Programs for locking and unlocking
ii  udev  161-1  /dev/ and hotplug management daemo
ii  util-linux2.17.2-3.1 Miscellaneous system utilities

Versions of packages usbmount recommends:
ii  ntfs-3g 1:2010.3.6-1 read-write NTFS driver for FUSE
pn  pmount  none   (no description available)

usbmount suggests no packages.

-- Configuration Files:
/etc/usbmount/usbmount.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/usbmount/usbmount (from usbmount package)



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



Bug#592555: forked-daapd does not start

2010-08-11 Thread Jan Schulz
Hello,

Julien BLACHE jbla...@debian.org wrote on 11.08.2010 12:27:04:
 Downgrade libavahi-client3 to 0.6.26 and see #590760.

Thanks, that fixed the issue!

Kind regards,

Jan

Bug#592323: /etc/cron.weekly/apt-xapian-index: cron job exits with error

2010-08-10 Thread Jan Schulz
Hello,

Enrico Zini enr...@enricozini.org wrote on 10.08.2010 10:37:08:
 Hello, thank you for reporting this. It looks like a Xapian error, which
 is hard to debug from a python backtrace, so we should try to reproduce
 the bug in a more convenient debugging situation.
 
 Do you get the same error outside of cron, by running, as root:
 
   /usr/sbin/update-apt-xapian-index --update --quiet

Yes:
linus:/home/jan# /usr/sbin/update-apt-xapian-index --update --quiet
Traceback (most recent call last):
  File /usr/sbin/update-apt-xapian-index, line 102, in module
indexer.incrementalUpdate()
  File /usr/lib/pymodules/python2.6/axi/indexer.py, line 629, in 
incrementalUpdate
self.updateIndex(dbpath)
  File /usr/lib/pymodules/python2.6/axi/indexer.py, line 594, in 
updateIndex
unchanged, outdated, obsolete = self.compareCacheToDb(cache, db)
  File /usr/lib/pymodules/python2.6/axi/indexer.py, line 566, in 
compareCacheToDb
for (idx, m) in enumerate(db.postlist()):
  File /usr/lib/python2.6/dist-packages/xapian.py, line 5534, in next
self._iter.next()
RuntimeError: basic_string::assign
linus:/home/jan#

Ciao,

Jan

Bug#592555: forked-daapd does not start

2010-08-10 Thread Jan Schulz
Package: forked-daapd
Version: 0.12~git0.11-125-gca72ee5-1
Severity: normal


/etc/init.d/forked-daapd returns successfully, but forked-daapd is not
started. The log and also a manual start contain this:

linus:/home/jan# forked-daapd -d 5 -D config,main,mdns,misc,scan,event -f
main: Forked Media Server Version 0.11 taking off
main: Initialized with gcrypt 1.4.5
main: mDNS init
mdns: Initializing Avahi mDNS
mdns: Avahi state change: Client connecting
main: Initializing database
mdns: Adding service browser for type _raop._tcp
mdns: Failed to create service browser: Bad state
main: Player thread failed to start
main: File scanner deinit
main: Database deinit
main: mDNS deinit
main: Exiting.
linus:/home/jan#

I tries searching the net for the mdns failure, but found nothing with
daapd :-( Any help would be appreciated...

Kind regards and thanks for this software!

Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (99, 
'maverick-updates'), (99, 'maverick')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages forked-daapd depends on:
ii  adduser 3.112add and remove users and groups
ii  avahi-daemon0.6.27-1 Avahi mDNS/DNS-SD daemon
ii  libantlr3c-3.2-03.2-1ANTLR v3 parser generator C runtim
ii  libasound2  1.0.23-1 shared library for ALSA applicatio
ii  libavahi-client30.6.27-1 Avahi client library
ii  libavahi-common30.6.27-1 Avahi common library
ii  libavcodec524:0.5.2-2ffmpeg codec library
ii  libavformat52   4:0.5.2-2ffmpeg file format library
ii  libavl1 0.3.5-3  AVL tree manipulation library - ru
ii  libavutil49 4:0.5.2-2ffmpeg utility library
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libconfuse0 2.7-1Library for parsing configuration 
ii  libevent-core-1.4-2 1.4.13-stable-1  An asynchronous event notification
ii  libflac81.2.1-3  Free Lossless Audio Codec - runtim
ii  libgcrypt11 1.4.5-2  LGPL Crypto library - runtime libr
ii  libgpg-error0   1.6-1library for common error values an
ii  libmxml12.6-1small XML parsing library (runtime
ii  libplist1   1.3-1Library for handling Apple binary 
ii  libsqlite3-03.7.0-1.1SQLite 3 shared library
ii  libswscale0 4:0.5.2-2ffmpeg video scaling library
ii  libtag1c2a  1.6.3-1  TagLib Audio Meta-Data Library
ii  libtagc01.6.3-1  TagLib Audio Meta-Data Library (C 
ii  libunistring0   0.9.3-1  Unicode string library for C
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

forked-daapd recommends no packages.

forked-daapd suggests no packages.

-- Configuration Files:
/etc/forked-daapd.conf changed:
general {
# Username
uid = daapd
logfile = /var/log/forked-daapd.log
# Database location
db_path = /var/cache/forked-daapd/songs3.db
# Available levels: fatal, log, warning, info, debug, spam
loglevel = spam
# Admin password for the non-existent web interface
admin_password = unused
}
library {
# Name of the library as displayed by the clients
# %h: hostname, %v: version
name = My Music on %h
# TCP port to listen on. Default port is 3689 (daap)
port = 3689
# Password for the library. Optional.
# Directories to index
directories = { /media/ }
# Directories containing compilations
# Matches anywhere in the path (not a regexp, though)
# Should iTunes metadata override ours?
itunes_overrides = true
# Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, 
aif, wav
# Formats that should never be transcoded
# Formats that should always be transcoded
}
audio {
# AirTunes name - used in the speaker list in Remote
nickname = linusmusic
# Audio device name for local audio output
}
# AirTunes password


-- no debconf information



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



Bug#592323: /etc/cron.weekly/apt-xapian-index: cron job exits with error

2010-08-09 Thread Jan Schulz
Package: apt-xapian-index
Version: 0.38
Severity: normal
File: /etc/cron.weekly/apt-xapian-index

I get the following error in my daily logwatch output:

/etc/cron.weekly/apt-xapian-index:
Traceback (most recent call last):
  File /usr/sbin/update-apt-xapian-index, line 102, in module
indexer.incrementalUpdate()
  File /usr/lib/pymodules/python2.6/axi/indexer.py, line 629, in 
incrementalUpdate
self.updateIndex(dbpath)
  File /usr/lib/pymodules/python2.6/axi/indexer.py, line 594, in updateIndex
unchanged, outdated, obsolete = self.compareCacheToDb(cache, db)
  File /usr/lib/pymodules/python2.6/axi/indexer.py, line 566, in 
compareCacheToDb
for (idx, m) in enumerate(db.postlist()):
  File /usr/lib/python2.6/dist-packages/xapian.py, line 5534, in next
self._iter.next()
RuntimeError: basic_string::assign
run-parts: /etc/cron.weekly/apt-xapian-index exited with return code 1

I've no idea what's happening here, so any help appreciated...

Kind regards,

Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (99, 
'maverick-updates'), (99, 'maverick')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-xapian-index depends on:
ii  python2.6.5-12   interactive high-level object-orie
ii  python-apt0.7.96.1   Python interface to libapt-pkg
ii  python-debian 0.1.18 Python modules to work with Debian
ii  python-support1.0.9  automated rebuilding support for P
ii  python-xapian 1.0.20-1   Xapian search engine interface for

apt-xapian-index recommends no packages.

Versions of packages apt-xapian-index suggests:
pn  app-install-data  none (no description available)
pn  python-xdgnone (no description available)

-- no debconf information



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



Bug#592367: usbmount leaves udev conf files around after upgrade

2010-08-09 Thread Jan Schulz
Package: usbmount
Version: 0.0.21
Severity: normal

Just to keep this recorded: the .21 version will leave the oldstyle 
/etc/udev/ files around after upgrades. They should be removed after 
checking that the files were not altered. The symlink should be removed 
in that case as well.

There are patches in git.katzien.de/usbmount.git (not yet cleaned up) 
which do this. The problem ist, that they are based on .20 and not .21, 
which has teh conffile already removed. I migt be the case that the hash 
for the files is no longer in the dpkg database and so needs to be manualy
checked if updated from .21.

As it is only a may in policy 10.7.3, I haven't set the Severity:
to serious but only to normal. IMO the .21 should no go into testing,
as this would mean that stable users would have that problem when
updating to squeeze+1.

Kind regards,

Jan


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (99, 
'maverick-updates'), (99, 'maverick')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usbmount depends on:
ii  dpkg  1.15.8.3   Debian package management system
ii  lockfile-progs0.1.15 Programs for locking and unlocking
ii  udev  160-1  /dev/ and hotplug management daemo
ii  util-linux2.17.2-3.1 Miscellaneous system utilities

Versions of packages usbmount recommends:
ii  ntfs-3g 1:2010.3.6-1 read-write NTFS driver for FUSE
pn  pmount  none   (no description available)

usbmount suggests no packages.

-- Configuration Files:
/etc/usbmount/usbmount.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/usbmount/usbmount (from usbmount package)



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



Bug#587311: does not mount ntfs drives with ntfs-3g after following README

2010-08-03 Thread Jan Schulz
Hello!

Rogério Brito rbr...@ime.usp.br wrote on 03.08.2010 17:06:46:
 OK. I am going to upload a new version of usbmount in some hours. If you
 happen to be on-line and you have some comments, feel free to e-mail me.

sorry, wasn't there until now and just had a quick look via git diff.

 Right. May I ask you to create a branch where you would put the commits 
that
 you want me to pull from? I see that you have some good modifications 
there,
 but I would prefer to merge things that are conceptually related.

Ok, I will add a branch and put in there my changes and try to stage them 
feature after feature.

 Due to the incompatible changes in the configuration that the system may
 already have, I choose to defer those changes. 

Actually, the default should be pretty similar: instead of getting the 
first usb stick on /media/usb1 you will get it on /media/usb0.

 The relocation of the udev
 rules will be on the next version, though.

Up to now I just had a look at the git diff to my branch, but I'm pretty 
sure that the old style /etc/... rules will stay and so overwriting the 
/lib... ones (at least if I remember the udev docs correctly). You need to 
add some cleanup code to deban/{post|pre}inst* - see my changes to the 
debian/post|pre}{inst|rm}* files and the predepends on dpkg. I'm not sure 
what happens if the old version misses the conffile and so has (maybe?) no 
reference to the checksum. Probably you need to add your own checksum 
checking for the removal (see udev package scripts for some examples)
 
Kind regards,

Jan

Bug#591083: e2fsck.conf(5) should clarify whether ext4 fs are also controlled by it

2010-07-31 Thread Jan Schulz
Package: e2fsprogs
Version: 1.41.12-2
Severity: minor
File: /usr/share/man/man5/e2fsck.conf.5.gz

e2fsck.conf(5) states in its description:
---
e2fsck.conf  is  the configuration file for e2fsck(8).  It controls the 
default behavior of  e2fsck(8)  while  it  is  checking  ext2  or  ext3
filesystems.
---

The manpage for fsck.ext4 (- efsck(8)) seems to be the same for all 
fsck.extX so I guess that in ext4 should be added to the above description.
If not, the manpage of fsck.ext4 should be seperated.

Thanks a lot for your work!

Kind regards,

Jan

-- System Information:
Debian Release: squeeze/sid
Architecture: i386 (i586)

Versions of packages e2fsprogs depends on:
ii  e2fslibs  1.41.12-2  ext2/ext3/ext4 file system librari
ii  libblkid1 2.17.2-3.1 block device id library
ii  libc6 2.11.2-2   Embedded GNU C Library: Shared lib
ii  libcomerr21.41.12-2  common error description library
ii  libss21.41.12-2  command-line interface parsing lib
ii  libuuid1  2.17.2-3.1 Universally Unique ID library
ii  util-linux2.17.2-3.1 Miscellaneous system utilities

e2fsprogs recommends no packages.

Versions of packages e2fsprogs suggests:
pn  e2fsck-static none (no description available)
pn  gpart none (no description available)
pn  partednone (no description available)

-- no debconf information



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



Bug#587311: does not mount ntfs drives with ntfs-3g after following README

2010-07-26 Thread Jan Schulz
Package: usbmount
Version: 0.0.20
Severity: normal

Ok, after some more syslog reading, I found out, that I don't need this 
patches: it seems it is enough to do two things to *mount* the ntfs stick:
1. install ntfs-3g
2. add 'ntfs' to the supported filesystems (fuseblk is not enought/ right!)

There is probably still the problem when unmounting: as the mount line states 
fuseblk, it probably needs to be added to the FILESYSTEMS too: 

if [ -x /usr/bin/ntfs-3g ] then
   FILESYSTEMS = ${FILESYSTEMS} fuseblk
fi

right in front of the umount code. 

Please pull

http://git.katzien.de/usbmount.git

for the latest patches.

Jan Schulz (3):
  On remove, if ntfs-3g is present, add fuseblk to FILESYSTEMS ...
  Add ntfs-3g to Recommends:
  Document the new ntfs-3g and fuse behaviour in the README 

I will probably add some more patches (naming and creating of mountpoints) to 
this git repository.

Kind regards,

Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usbmount depends on:
ii  lockfile-progs0.1.15 Programs for locking and unlocking
ii  udev  160-1  /dev/ and hotplug management daemo
ii  util-linux2.17.2-3.1 Miscellaneous system utilities

Versions of packages usbmount recommends:
pn  pmountnone (no description available)

usbmount suggests no packages.

-- Configuration Files:
/etc/usbmount/usbmount.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/usbmount/usbmount (from usbmount package)



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



Bug#587311: does not mount ntfs drives with ntfs-3g after following README

2010-07-26 Thread Jan Schulz
Hello,

Rogério Brito rbr...@gmail.com wrote on 26.07.2010 23:06:38:
  2. add 'ntfs' to the supported filesystems (fuseblk is not enought/ 
right!)
 Only ntfs and not ntfs-3g?

Yes: it seems that mount will use any helper in /sbin/mount.filesystem 
if present for the filesystem. ntfs-3g installs symlinks from mount.ntfs 
- mount.ntfs-3g - /usr/bin/ntfs-3g so that works out of the box :-)

  if [ -x /usr/bin/ntfs-3g ]; then
  ^ This needed a fix there... fixed in latest 
git

 I, unfortunately, don't have any typical ntfs filesystem to test. Do
 you happen to have one?

I just formated a stick with ntfs... :-)

 I will try to review the patches and send you some feedback.

Thanks!

I've just uploaded a newer version. It includes some changes to the 
mountpoint strategy (no preconfigured mountpoints, all dynamically handled 
- incompatible config changes + maintainerscript migration) and moving 
the udev rules to the new /lib/udev location. The git log is a little 
rough as I'm currently learnig git as well... Haven't yet figured out how 
to clean up a branch or amend to an older commit...

Be aware that I haven't tested upgrades probably :-/

Kind regards,

Jan

Bug#508699: fails to mount USB drives after cold start of the system

2010-07-25 Thread Jan Schulz
Package: usbmount
Version: 0.0.20
Severity: normal
Tags: patch

I've written a new init.d file for coldplugging, using udevadm trigger, which
seems to be the right way to coldplug after system start.

See attched file...

Kind regards,

Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usbmount depends on:
ii  lockfile-progs0.1.15 Programs for locking and unlocking
ii  udev  160-1  /dev/ and hotplug management daemo
ii  util-linux2.17.2-3.1 Miscellaneous system utilities

Versions of packages usbmount recommends:
pn  pmountnone (no description available)

usbmount suggests no packages.

-- Configuration Files:
/etc/usbmount/usbmount.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/usbmount/usbmount (from usbmount package)
#!/bin/bash
### BEGIN INIT INFO
# Provides:  usbmount-start
# Required-Start:udev $local_fs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Automatically mount USB drives after a cold start
### END INIT INFO

## This script mounts all partitions of USB drives which
## have already been recognized by the kernel AND by udevd,
## but are not yet mounted.

## install with update-rc.d usbmount-start start 99 S

. /lib/lsb/init-functions


case $1 in
start)
log_action_begin_msg Coldplugging usbmount devices
failed=
if ! udevadm trigger --action=add --sysname-match='sd*'; then
   failed=sd*
fi
if ! udevadm trigger --action=add --sysname-match='ub*'; then
   failed=${failed} ub*
fi

if [ x${failed} = x ]; then
   log_action_end_msg 0
else
   log_action_end_msg 1 ${failed## }
fi
;;

*)
echo Usage: /etc/init.d/$0 start
exit 1

esac


Bug#587311: does not mount ntfs drives with ntfs-3g after following README

2010-07-25 Thread Jan Schulz
Package: usbmount
Version: 0.0.20
Severity: normal
Tags: patch

see http://git.katzien.de/usbmount.git for a updated usbmount and 
usbmount.conf file or attached patches.

Kind regards,

Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usbmount depends on:
ii  lockfile-progs0.1.15 Programs for locking and unlocking
ii  udev  160-1  /dev/ and hotplug management daemo
ii  util-linux2.17.2-3.1 Miscellaneous system utilities

Versions of packages usbmount recommends:
pn  pmountnone (no description available)

usbmount suggests no packages.

-- Configuration Files:
/etc/usbmount/usbmount.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/usbmount/usbmount (from usbmount package)
From c30cd309d06a9f07d1d2cf3f06bc8b94f7764140 Mon Sep 17 00:00:00 2001
From: Jan Schulz j...@gmx.net
Date: Sun, 25 Jul 2010 23:33:05 +0200
Subject: [PATCH 1/2] Add ntfs-3g as a configureable driver for ntfs filesystems

---
 usbmount  |   13 +
 usbmount.conf |5 +
 2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/usbmount b/usbmount
index 88ae01b..6e9f413 100755
--- a/usbmount
+++ b/usbmount
@@ -48,6 +48,7 @@ MOUNTPOINTS=
 FILESYSTEMS=
 MOUNTOPTIONS=
 FS_MOUNTOPTIONS=
+USE_NTFS3G=
 VERBOSE=no
 
 if [ -r /etc/usbmount/usbmount.conf ]; then
@@ -134,6 +135,11 @@ if [ $1 = add ]; then
options=$MOUNTOPTIONS${options:+,$options}
fi
 
+   # use ntfs3g fuse driver is user asked for it
+if test $fstype == ntfs  expr $USE_NTFS3G : [yY]  
/dev/null; then
+$fstype = ntfs-3g
+fi
+
# Mount the filesystem.
log info executing command: mount -t$fstype 
${options:+-o$options} $DEVNAME $mountpoint
mount -t$fstype ${options:+-o$options} $DEVNAME 
$mountpoint
@@ -181,6 +187,13 @@ if [ $1 = add ]; then
 fi
 elif [ $1 = remove ]; then
 
+# if we utilize ntfs-3g, we need to add the fuseblk fstype to allow 
+# proper unmounting
+if [ `expr $USE_NTFS3G : [yY]` -eq 1 ]; then
+FILESYSTEMS=$FILESYSTEMS fuseblk
+fi
+
+
 # A block or partition device has been removed.
 # Test if it is mounted.
 while read device mountpoint fstype remainder; do
diff --git a/usbmount.conf b/usbmount.conf
index 97f7ccc..8acd526 100644
--- a/usbmount.conf
+++ b/usbmount.conf
@@ -16,6 +16,11 @@ MOUNTPOINTS=/media/usb0 /media/usb1 /media/usb2 /media/usb3
 # contain a filesystem type which is in this list.
 FILESYSTEMS=vfat ext2 ext3 ext4 hfsplus
 
+# Use the ntfs3g driver for ntfs filesystems.
+# You need to add ntfs the list if FILESYSTEMS and also install the
+# ntfs-3g package!
+USE_NTFS3G=no
+
 #
 # WARNING!  #
 #   #
-- 
1.7.1

From c60df6c2bab4a6c6e6411c3b78048376bb5e85ff Mon Sep 17 00:00:00 2001
From: Jan Schulz j...@gmx.net
Date: Sun, 25 Jul 2010 23:35:00 +0200
Subject: [PATCH 2/2] Add ntfs-3g to Recommends:

---
 debian/control |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/control b/debian/control
index c7e98a1..01e75a6 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Homepage: http://usbmount.alioth.debian.org/
 Package: usbmount
 Architecture: all
 Depends: udev, lockfile-progs, util-linux ( 2.16), ${misc:Depends}
-Recommends: pmount
+Recommends: pmount, ntfs-3g
 Description: automatically mount and unmount USB mass storage devices
  This package automatically mounts USB mass storage devices (typically
  USB pens) when they are plugged in, and unmounts them when they are
-- 
1.7.1



Bug#589982: googlecl: Authentfication does not work without modification of the URL

2010-07-22 Thread Jan Schulz
Package: googlecl
Version: 0.9.8-1
Severity: normal
Tags: upstream

Starting google picasa list (or any other command I tried) resulted in a wrong
authentification URL. I had to manually replace the last hd=googlemail.com 
with hd=default.

When I visited the default adress I only got an error like this domain 
does not use google apps (translated roughly from german).

It might be a problem that I have a @googlemail.com address as my primary 
emailadress and two other names: a none-google emailadress and a picasa name.

Using the none-google adress as a username didn't work neither and the 
picasa name (without @somthing.xx) resultet in a error ala you granted 
access for googlemail email address, but we need access for pacasa name. 
Please logout the old name and relogin with the new one.

Kind regards,

Jan 



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages googlecl depends on:
ii  python2.6.5-9interactive high-level object-orie
ii  python-gdata  2.0.8-1.1  Google Data Python client library
ii  python-support1.0.9  automated rebuilding support for P

googlecl recommends no packages.

googlecl suggests no packages.

-- no debconf information



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



Bug#587310: reportbug: Reportbug fails with stacktrace when adding tags

2010-06-27 Thread Jan Schulz
Package: reportbug
Version: 4.12.3
Severity: important



-- Package-specific info:
** Environment settings:
INTERFACE=text

** /root/.reportbugrc:
reportbug_version 4.12.3
mode advanced
ui text
realname Jan Schulz
email j...@gmx.net
no-check-uid


After trying to add a tag I get the following stacktrace:
---
Submit this report on usbmount (e to edit) [Y|n|a|c|e|i|l|m|p|q|d|t|s|?]? t
Traceback (most recent call last):
  File /usr/bin/reportbug, line 2084, in module
main()
  File /usr/bin/reportbug, line 1034, in main
return iface.user_interface()
  File /usr/bin/reportbug, line 2017, in user_interface
severity, charset=charset, tags=tags)
  File /usr/bin/reportbug, line 319, in handle_editing
ntags = debianbts.get_tags(severity, mode)
NameError: global name 'mode' is not defined
j...@linus:~$

Kind regards,

Jan

-- Package-specific info:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt   0.7.25.3   Advanced front-end for dpkg
ii  python2.6.5-5An interactive high-level object-o
ii  python-reportbug  4.12.3 Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils none (no description available)
pn  debsums   none (no description available)
pn  dlocate   none (no description available)
ii  emacs22-bin-common22.3+1-1.2 The GNU Emacs editor's shared, arc
ii  file  5.04-2 Determines file type using magic
ii  gnupg 1.4.10-4   GNU privacy guard - a free PGP rep
ii  nullmailer [mail-transport-ag 1:1.04-1.2 simple relay-only mail transport a
pn  python-gtk2   none (no description available)
pn  python-gtkspell   none (no description available)
pn  python-urwid  none (no description available)
pn  python-vtenone (no description available)
pn  xdg-utils none (no description available)

-- no debconf information



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



Bug#587311: usbmount does not mount ntfs drives with ntfs-3g after following README

2010-06-27 Thread Jan Schulz
Package: usbmount
Version: 0.0.20
Severity: normal
Tags: patch


I followed the readme and added fuseblk to the list of filesystems. fuse and 
ntfs-3g are istalled, fuse kernel module is loaded. 

Plugging in a ntfs drive does not mount the drive :-(

I found some reports on the web that you have to patch usbmount to have that 
happening:
http://buffalo.nas-central.org/index.php/Udev_provides_a_means_of_dynamically_creating_devices_in_/dev

I added the patch (slightly modified: just change the fstype variable instead 
of duplicating the mount line) and after adding ntfs to my filesystem variable 
it works.

Kind regards,

Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages usbmount depends on:
ii  lockfile-progs0.1.15 Programs for locking and unlocking
ii  udev  157-1  /dev/ and hotplug management daemo
ii  util-linux2.17.2-3.1 Miscellaneous system utilities

Versions of packages usbmount recommends:
pn  pmountnone (no description available)

usbmount suggests no packages.

-- Configuration Files:
/etc/usbmount/usbmount.conf changed:
ENABLED=1
MOUNTPOINTS=/media/usb0 /media/usb1 /media/usb2 /media/usb3
 /media/usb4 /media/usb5 /media/usb6 /media/usb7
FILESYSTEMS=vfat ext2 ext3 ext4 hfsplus ntfs
USB_NTFS3G=yes
MOUNTOPTIONS=noexec,nodev,noatime,nodiratime
FS_MOUNTOPTIONS=
VERBOSE=yes


-- no debconf information



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



Bug#508699: Can still replicate

2010-06-26 Thread Jan Schulz

Hi,

I've installed usbmount without recommends (so without pmount - don't 
like hal) and mounting USB discs on coldstart fails/ doesn't happen.


This is a small server without any desktop system and handpicked packages.

usbmount Version: 0.0.20

If there is anything I can help

Kind regards,

Jan



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



Bug#575433: This is needed to pass PCI Compliance Checks

2010-06-03 Thread Jan Schulz-Hofen | ROCKET RENTALS
I came across this due to a recent PCI compliance check I did using
Comodo's HackerGuardian. I believe they use some nessus-based security
scanner which detects possible vulnerabilities by (among other things)
looking at banners and version numbers. Usually, I can point Comodo's
support staff to the CVE page on security-tracker.debian.org and if
it's marked as fixed in lenny, they agree to set the issue as false
positive for me. In this case, I cannot point them to
http://security-tracker.debian.org/tracker/CVE-2009-3245 because it's
still marked as vulnerable.

No matter the actual severity of this, I'd assume a number of people
need to have PCI compliance scans performed (you have to do that at
least quarterly to be able to accept and store credit card data), and
they are pretty standard, so I guess a fix in stable would benefit a
larger audience. I'd be willing to help, but I have never
build/patched/submitted a Debian package before :(



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



Bug#342341: [SPAM?]: Bug#342341: eclipse: too many unneeded dependencies

2005-12-17 Thread Jan Schulz

Hi You,

Michael Koch wrote:
 If there is a constructive patch which is not too hard to maintain and
 is not too intrusive to change Eclipse' behavior drastically I will
 apply it for sure.

AFAIK, there is a easy patch to debian/rules: Just change one debhelper 
call to add the dependencies of one .so-file as a Recommends:. I had 
this in my 2.1 packaging:


From 
http://www.linex.org/sources/linex/debian/dists/cl/eclipse-2.1/source/eclipse_2.1.3-4.diff.gz


dpkg-shlibdeps -dDepends \
debian/libswt2.1-gtk2-jni/usr/lib/jni/libswt-gtk-2136.so 
debian/libswt2.1-gtk2-jni/usr/lib/jni/libswt-pi-gtk-2136.so \

-dSuggests \
debian/libswt2.1-gtk2-jni/usr/lib/eclipse/libswt-gnome-gtk-2136.so \
-Tdebian/libswt2.1-gtk2-jni.substvars
dpkg-shlibdeps -dDepends \
debian/libswt2.1-motif-jni/usr/lib/jni/libswt-motif-2136.so  \
-dSuggests \
debian/libswt2.1-motif-jni/usr/lib/eclipse/libswt-gnome-motif-2136.so \
debian/libswt2.1-motif-jni/usr/lib/eclipse/libswt-kde-motif-2136.so \
-Tdebian/libswt2.1-motif-jni.substvars
dpkg-shlibdeps \
-dDepends debian/libeclipse-jni/usr/lib/eclipse/libcore_2_1_0a.so \
debian/libeclipse-jni/usr/lib/eclipse/libupdate.so \
-dSuggests debian/libeclipse-jni/usr/lib/eclipse/eclipse \
-Tdebian/libeclipse-jni.substvars

From the light of this discussion, I would change Suggests: to 
Recommends:, which would let aptitude do the right thing in any case and 
I would add the Mozilla and whatever Deps to the sdk Package, so that 
apt-get install eclipse will also do the right thing.


If you don't want mozilla, you will have to remove eclipse and install 
the RCP or JDT packages and get what you want. That way, in *most* 
cases, the right thing will happen and it will bepossible to remove the 
mozilla and gnome libs.


Maybe that makes everybody happy :-)

Jan



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



Bug#294258: kdebase-kio-plugins: Use pmount when unmounting (and mounting)

2005-02-08 Thread Jan Schulz
Package: kdebase-kio-plugins
Version: 4:3.3.2-1
Severity: wishlist

I use gnome-volume-manager and it uses pmount to mount new devices like my
USB Stick. As this combination does not sync /etc/fstab, I'm unable to
umount this device in kde via the background menu.

Please use pumount in /usr/bin/kio_devices_mounthelper.

Thanks!

It also seems that pmount is the prefered mounting method for the upcoming
3.4 media:// kio slave, so change this woule be really nice.
http://wiki.kde.org/tiki-index.php?page=DBUS

Nice greetings, Jan

-- System Information:
Debian Release: 3.1
  APT prefers experimental
  APT policy: (990, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)


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