Bug#639770: Apt-move is useless with fast systems

2016-05-30 Thread Martin Hodges
Addition of /bin sync on its own line after line 1221 appears to fix the fifo 
problem.

The process would always choke is run from the command line. The run during 
the cron job would usually run correctly, assumingly as the machine was under 
heavier load.

Also observed that the crashing was more likely with increasing 'capacity' of 
the server hardware.

Devuan 1.0 Jessie.
Dual Core E8400  @ 3.00GHz
awk -> mawk
apt-move 4.2.27-3
-- 
M



Bug#639770: apt-move: fails to open fifo-file and hangs

2014-09-18 Thread Martin Hodges
Hi,
I have had this bug on and off since it started in 2011. Crash on line 
1232.

It is worse on faster machines with local fast disks. Slower cpus, single cpus 
and remote (nfs) disks help.
I recently 'upgraded' the home server to a Core 2 Duo 3GHz with a 4 disk RAID5 
and it hangs every time. This is not good since I have 'apt-move update' as 
part of my daily cron jobs and hanging kills the execution of the other 
parts.

I can reduce the severity of the bug by restricting the process to one cpu 
using taskset. The process fails but completes.

Apt-move is actually a complex (for me) bash script using GNU sed (documented 
as a requirement) and awk... There are two commonly used awks: mawk and gawk.

Using gawk:
root@nede1:/usr/bin# taskset -c 0 apt-move packages

Creating Packages files...
Building: lenny dists/lenny/main/binary-i386 Packages
awk: /usr/share/apt-move/get2:5: (FILENAME=- FNR=207) fatal: print 
to standard output failed (Broken pipe)
sort: write failed: standard output: Broken pipe
sort: write error
Unknown error: dopackages: 2.

Using mawk:
root@nede1:/usr/bin# taskset -c 0 apt-move packages

Creating Packages files...
Building: lenny dists/lenny/main/binary-i386 Packages
awk: write failure (Broken pipe)
awk: close failed on file /dev/stdout (Broken pipe)
sort: write failed: standard output: Broken pipe
sort: write error
Unknown error: dopackages: 2.

apt-move,v 1.115 2006/01/14 04:05:23 herbert Exp $
uname -a
Linux nede1 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
achitecture i386
Debian release wheezy.





-- 
M


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



Bug#721865: hostapd: regdomain updated after channel setting is performed

2013-09-04 Thread Martin Hodges
Package: hostapd
Version: 1:1.0-3+b1
Severity: normal
Tags: l10n

Dear Maintainer,
Stumbled across while migrating the home server from lenny to Wheezy.

I live in Norway and few people use channel 13, so I do.

Only listing modules in /etc/modules did not help.
In addition: Calling 'iw set reg NO' in /etc/network/interfaces under section 
for wlan0 helped.

when the error is present:
The call to CRDA seems to comes after the channel setting is performed.
Trying to set to CH13 before changing the country to Norway will not work

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hostapd depends on:
ii  initscripts   2.88dsf-41
ii  libc6 2.13-38
ii  libnl-3-200   3.2.7-4
ii  libnl-genl-3-200  3.2.7-4
ii  libssl1.0.0   1.0.1e-2
ii  lsb-base  4.1+Debian8+deb7u1

hostapd recommends no packages.

hostapd suggests no packages.

-- Configuration Files:
/etc/default/hostapd changed:
DAEMON_CONF=/etc/hostapd/hostapd.conf


-- 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#646625: autofs5: auto.net and -hosts do not handle nfs4 shares

2011-10-25 Thread Martin Hodges
Package: autofs5
Version: 5.0.4-3.2
Severity: important

Autofs does not mount nfs4 shares as nfs4 with the supplied files in the autofs
package.
There is no indication in the man files that -hosts and auto.net only mount as
nfs3 (or lower).

auto.net has a misleading lines with nfs4 as part of the options.
This line does not work as the shares are parsed with the nfs4 root included in
the paths.
If the line with just nfs is used, and if the client machine has rpc.statd
running, the shares are mounted as nfs3 which can have interesting side effects
with file ownership.

The script supplied in bug #533893 works.

/var/log/daemon.log from autofs restart, after ls /net/nede
auto.net with nfs4 line active.

Oct 25 20:26:52 hooch automount[3583]: Starting automounter version 5.0.4,
master map /etc/auto.master
Oct 25 20:26:52 hooch automount[3583]: using kernel protocol version 5.01
Oct 25 20:26:52 hooch automount[3583]: lookup_nss_read_master: reading master
file /etc/auto.master
Oct 25 20:26:52 hooch automount[3583]: parse_init: parse(sun): init gathered
global options: (null)
Oct 25 20:26:52 hooch automount[3583]: lookup_read_master: lookup(file): read
entry /net
Oct 25 20:26:52 hooch automount[3583]: master_do_mount: mounting /net
Oct 25 20:26:52 hooch automount[3583]: automount_path_to_fifo: fifo name
/var/run/autofs.fifo-net
Oct 25 20:26:52 hooch automount[3583]: lookup_nss_read_map: reading map file
/etc/auto.net
Oct 25 20:26:52 hooch automount[3583]: parse_init: parse(sun): init gathered
global options: (null)
Oct 25 20:26:52 hooch automount[3583]: mounted indirect on /net with timeout
300, freq 75 seconds
Oct 25 20:26:52 hooch automount[3583]: st_ready: st_ready(): state = 0 path
/net
Oct 25 20:26:52 hooch automount[3583]: ghosting enabled
Oct 25 20:26:59 hooch automount[3583]: handle_packet: type = 3
Oct 25 20:26:59 hooch automount[3583]: handle_packet_missing_indirect: token
20, name nede, request pid 3591
Oct 25 20:26:59 hooch automount[3583]: attempting to mount entry /net/nede
Oct 25 20:26:59 hooch automount[3583]: lookup_mount: lookup(program): looking
up nede
Oct 25 20:26:59 hooch automount[3583]: lookup_mount: lookup(program): nede -
-fstype=nfs4,hard,intr,nodev,nosuid,async  #011/nfs4 nede:/nfs4  #011/nfs4/home
nede:/nfs4/home  #011/nfs4/mirror nede:/nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun): expanded entry:
-fstype=nfs4,hard,intr,nodev,nosuid,async  #011/nfs4 nede:/nfs4  #011/nfs4/home
nede:/nfs4/home  #011/nfs4/mirror nede:/nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun): gathered
options: fstype=nfs4,hard,intr,nodev,nosuid,async
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun):
dequote(/nfs4) - /nfs4
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun): gathered
options: fstype=nfs4,hard,intr,nodev,nosuid,async
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun):
dequote(nede:/nfs4) - nede:/nfs4
Oct 25 20:26:59 hooch automount[3583]: add_offset_entry: parse(sun): added
multi-mount offset /nfs4 - -fstype=nfs4,hard,intr,nodev,nosuid,async
nede:/nfs4
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun):
dequote(/nfs4/home) - /nfs4/home
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun): gathered
options: fstype=nfs4,hard,intr,nodev,nosuid,async
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun):
dequote(nede:/nfs4/home) - nede:/nfs4/home
Oct 25 20:26:59 hooch automount[3583]: add_offset_entry: parse(sun): added
multi-mount offset /nfs4/home - -fstype=nfs4,hard,intr,nodev,nosuid,async
nede:/nfs4/home
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun):
dequote(/nfs4/mirror) - /nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun): gathered
options: fstype=nfs4,hard,intr,nodev,nosuid,async
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun):
dequote(nede:/nfs4/mirror) - nede:/nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: add_offset_entry: parse(sun): added
multi-mount offset /nfs4/mirror - -fstype=nfs4,hard,intr,nodev,nosuid,async
nede:/nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: mount_multi_triggers: mount offset
/net/nede/nfs4 at /net/nede
Oct 25 20:26:59 hooch automount[3583]: mount_autofs_offset: calling mount -t
autofs -s  -o fd=7,pgrp=3583,minproto=5,maxproto=5,offset automount
/net/nede/nfs4
Oct 25 20:26:59 hooch automount[3583]: mounted offset on /net/nede/nfs4 with
timeout 300, freq 75 seconds
Oct 25 20:26:59 hooch automount[3583]: mount_autofs_offset: mounted trigger
/net/nede/nfs4 at /net/nede/nfs4
Oct 25 20:26:59 hooch automount[3583]: dev_ioctl_send_ready: token = 20
Oct 25 20:26:59 hooch automount[3583]: mounted /net/nede
root@hooch:~#

The share root has not been stripped from the share paths.

server: nede, Lenny with backports 2.6.32 kernel.
client; hooch, squeeze

Suggest that the nfs4 line be removed from auto.net and a auto.nfs4 file
included in the package.



-- System Information:

Bug#506986: (no subject)

2009-02-18 Thread Martin Hodges
Duplicate of bug#475169 [kaddressbook] KAdressbook doesn't handle UTF8 when 
the contacts are stored in an IMAP folder
-- 
Best Regards

Martin Hodges
Senior design engineer
Network Electronics ASA 
 
Tel: +47 3348 9461
Fax: +47 3348 9998
Mobile: +47 4150 4206
www.network-electronics.com 
--
Caring for your signal transport needs
--



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



Bug#336161: Apt-move skips all files in repository

2005-10-28 Thread Martin Hodges
Package: apt-move
Version:4.2.24-1

Apt-move no longer moves files from /var/cache/apt/archives
to my local repository. The program appears to run with the following output.
I am unsure when the program ceased to move files but there are files in the 
archive from August 1st 2005 (libedit2_2.9.cvs.2~0518-2.2_i386.deb)

kjellern:/apt-move update
Updating from local Packages files...

Moving files...
Skipping files:
/var/cache/apt/archives/apt-utils_0.6.42.1_i386.deb
/var/cache/apt/archives/apt_0.6.42.1_i386.deb
/var/cache/apt/archives/bash_3.0-17_i386.deb
/var/cache/apt/archives/bsdutils_1%3a2.12p-8_i386.deb
/var/cache/apt/archives/ca-certificates_20050804_all.deb
/var/cache/apt/archives/cpp_4%3a4.0.2-1_i386.deb
/var/cache/apt/archives/curl_7.15.0-3_i386.deb
/var/cache/apt/archives/debhelper_4.9.13_all.deb
/var/cache/apt/archives/debianutils_2.15_i386.deb
/var/cache/apt/archives/desktop-base_0.3.16_all.deb
/var/cache/apt/archives/fdutils_5.5-20050303-2_i386.deb
/var/cache/apt/archives/file_4.15-2_i386.deb
/var/cache/apt/archives/fping_2.4b2-to-ipv6-12_i386.deb
/var/cache/apt/archives/g++_4%3a4.0.2-1_i386.deb
/var/cache/apt/archives/gcc_4%3a4.0.2-1_i386.deb
/var/cache/apt/archives/gs-esp_8+8.15rc4.dfsg.1-2.1_i386.deb
/var/cache/apt/archives/info_4.8-1_i386.deb
/var/cache/apt/archives/kino-dvtitler_0.2.0-1.1_i386.deb
/var/cache/apt/archives/kinoplus_0.3.5-1.1_i386.deb
/var/cache/apt/archives/less_392-1_i386.deb
/var/cache/apt/archives/libacl1_2.2.32-1_i386.deb
/var/cache/apt/archives/libattr1_2.4.25-1_i386.deb
/var/cache/apt/archives/libcdio6_0.76-1_i386.deb
/var/cache/apt/archives/libcurl3_7.15.0-3_i386.deb
/var/cache/apt/archives/libedit2_2.9.cvs.20050518-2.2_i386.deb
/var/cache/apt/archives/libgpgme11_1.1.0-1_i386.deb
/var/cache/apt/archives/libgphoto2-2_2.1.6-5.2_i386.deb
/var/cache/apt/archives/libgphoto2-port0_2.1.6-5.2_i386.deb
/var/cache/apt/archives/libgtk2-perl-doc_1%3a1.101-1_all.deb
/var/cache/apt/archives/libgtk2-perl_1%3a1.101-1_i386.deb
/var/cache/apt/archives/libiso9660-4_0.76-1_i386.deb
/var/cache/apt/archives/libmagic1_4.15-2_i386.deb
/var/cache/apt/archives/libneon23_0.23.9.dfsg.3-6_i386.deb
/var/cache/apt/archives/liborbit2-dev_1%3a2.12.4-1_i386.deb
/var/cache/apt/archives/liborbit2_1%3a2.12.4-1_i386.deb
/var/cache/apt/archives/libpcre3-dev_6.4-1.0.1_i386.deb
/var/cache/apt/archives/libpcre3_6.4-1.0.1_i386.deb
/var/cache/apt/archives/librecode0_3.6-12_i386.deb
/var/cache/apt/archives/libruby1.8_1.8.3-2_i386.deb
/var/cache/apt/archives/libsensors3_1%3a2.9.2-4_i386.deb
/var/cache/apt/archives/libsmpeg0_0.4.5+cvs20030824-1.5.1_i386.deb
/var/cache/apt/archives/libssl-dev_0.9.8a-2_i386.deb
/var/cache/apt/archives/libssl0.9.7_0.9.7g-5_i386.deb
/var/cache/apt/archives/libssl0.9.8_0.9.8a-2_i386.deb
/var/cache/apt/archives/libtext-charwidth-perl_0.04-3_i386.deb
/var/cache/apt/archives/libtext-iconv-perl_1.4-2_i386.deb
/var/cache/apt/archives/libtext-wrapi18n-perl_0.06-3_all.deb
/var/cache/apt/archives/libtiff4_3.7.4-1_i386.deb
/var/cache/apt/archives/libvcdinfo0_0.7.21-2_i386.deb
/var/cache/apt/archives/libvte-common_1%3a0.11.15-2_all.deb
/var/cache/apt/archives/libvte4_1%3a0.11.15-2_i386.deb
/var/cache/apt/archives/linux-kernel-headers_2.6.13+0rc3-2_i386.deb
/var/cache/apt/archives/linux-source-2.6.12_2.6.12-6_all.deb
/var/cache/apt/archives/lm-sensors_1%3a2.9.2-4_i386.deb
/var/cache/apt/archives/login_1%3a4.0.13-1_i386.deb
/var/cache/apt/archives/module-init-tools_3.2-pre9-2_i386.deb
/var/cache/apt/archives/mount_2.12p-8_i386.deb
/var/cache/apt/archives/openssh-client_1%3a4.2p1-5_i386.deb
/var/cache/apt/archives/openssh-server_1%3a4.2p1-5_i386.deb
/var/cache/apt/archives/openssl_0.9.8a-2_i386.deb
/var/cache/apt/archives/passwd_1%3a4.0.13-1_i386.deb
/var/cache/apt/archives/portmap_5-16_i386.deb
/var/cache/apt/archives/rdesktop_1.4.1-1.0.1_i386.deb
/var/cache/apt/archives/ruby1.8_1.8.3-2_i386.deb
/var/cache/apt/archives/ssh_1%3a4.2p1-5_all.deb
/var/cache/apt/archives/telnet_0.17-32_i386.deb
/var/cache/apt/archives/tex-common_0.8_all.deb
/var/cache/apt/archives/texinfo_4.8-1_i386.deb
/var/cache/apt/archives/util-linux_2.12p-8_i386.deb
/var/cache/apt/archives/vcdimager_0.7.21-2_i386.deb
/var/cache/apt/archives/wget_1.10.2-1_i386.deb
/var/cache/apt/archives/x-ttcidfont-conf_20_all.deb
/var/cache/apt/archives/xloadimage_4.1-15_i386.deb
/var/cache/apt/archives/xmms_1.2.10+cvs20050809-4_i386.deb
/var/cache/apt/archives/xpdf-common_3.01-2_all.deb
/var/cache/apt/archives/xpdf-utils_3.01-2_i386.deb
/var/cache/apt/archives/xserver-xorg_6.8.2.dfsg.1-6_i386.deb
/var/cache/apt/archives/yelp_2.10.0-3_i386.deb
Moving Files:

Removing obsolete packages...
removing:  pool/main/l/linux-2.6/linux-source-2.6.12_2.6.12-6_all.deb
removing:  pool/main/x/xorg-x11/xserver-xorg_6.8.2.dfsg.1-6_i386.deb

Creating Packages files...
Building: testing dists/testing/main/binary-i386 Packages
Building: testing dists/testing/contrib/binary-i386 Packages
Building: testing dists/testing/non-free/binary-i386 Packages
Building: 

Bug#336161: Apt-move skips all files in repository

2005-10-28 Thread Martin Hodges
After trying a bit more I found that the skipped files are present in the 
mirror repository but apt-move apparently does not believe they are.

apt-get clean ;removes the files from /archives

apt-move sync ;downloads them again, copies them to the mirror but then does 
not delete them. 

apt-move update; skips the files.

apt-move exclude ;returns
The following files are EXCLUDED from the mirror:

All done, exiting.

After the apt-move sync ;I have the main openoffice files sitting in 
the /archives directory and the mirror archive. I also seem to have several 
copies of certain packages.

M.


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



Bug#281227: kontact crashes on start

2005-07-25 Thread Martin Hodges
I have a similar problem/solution at home.

Start Kontakt, try to give the Kmail IMAP passwords, crash.
Start Kmail, login, start Kontakt okay.

I have a similar setup at work where I have no problems now. 

The element that is different there, is that the IMAP passwords are stored on 
the system. 

IMAP functionality is switched on in both installations.

I have an Kmail setup with a local mailbox and two remote IMAP server 
accounts. The Kontact folders are located in a subfolder one of the IMAP 
folders.

Kontact crashes when the progress bar gets to 81%.

Installation:
Debian testing (updated with apt-get dist-upgrade as per 2005.7.25)
PIII 650
Kernel kustom 2.6.8 (for Matrox framebuffer on vt1-6)
libc6 2.3.2.ds1-22
Running KDE 3.3.2
Kdm 4:3.3.2-1
Kmail 4:3.3.2-3
Kontact 4:3.3.2-3

Best Regards

Martin Hodges
Senior design engineer
Network Electronics ASA 
 
Tel: +47 3348 9461
Fax: +47 3348 9998
Mobile: +47 4150 4206
www.network-electronics.com 
--
Caring for your signal transport needs
--


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



Bug#307933: Kontact crashes on startup but Kmail starts fine

2005-05-06 Thread Martin Hodges
 in ?? ()
#115 0x081413e0 in ?? ()
#116 0x0812c19c in ?? ()
#117 0x0001 in ?? ()
#118 0x4007b094 in ?? () from /usr/lib/libkutils.so.1
#119 0x081275b8 in ?? ()
#120 0x4007be30 in KPluginSelectionWidget::metaObj ()
   from /usr/lib/libkutils.so.1
#121 0xbfffef78 in ?? ()
#122 0x4006b87c in KSettings::Dispatcher::self () from /usr/lib/libkutils.so.1
#123 0x080599f2 in ?? ()
#124 0x081413e0 in ?? ()
#125 0xb748 in ?? ()
#126 0x081413e0 in ?? ()
#127 0x08065bff in _IO_stdin_used ()
#128 0x0806b56c in static_QUType_QString ()
#129 0x000a in ?? ()
#130 0x081c9428 in ?? ()
#131 0x40261e64 in ?? () from /usr/lib/libstdc++.so.5
#132 0xb0c0 in ?? ()
#133 0x4120b64e in typeinfo name for QFontCache () from /usr/lib/libqt-mt.so.3
#134 0xbfffefb8 in ?? ()
#135 0x081414d8 in ?? ()
#136 0x080b1b80 in ?? ()
#137 0x412ed53c in ?? () from /usr/lib/libqt-mt.so.3
#138 0xbfffefc8 in ?? ()
#139 0x41138def in QGArray::deleteData () from /usr/lib/libqt-mt.so.3
#140 0x0805d548 in ?? ()
#141 0x081413e0 in ?? ()
#142 0x403c6840 in __after_morecore_hook () from /lib/tls/libc.so.6
#143 0x0004 in ?? ()
#144 0x412ed53c in ?? () from /usr/lib/libqt-mt.so.3
#145 0x08138718 in ?? ()
#146 0xb0d0 in ?? ()
#147 0xb0a8 in ?? ()
#148 0x40e8571c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#149 0x40e8571c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#150 0x411c462a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#151 0x40e9f91d in QSignal::activate () from /usr/lib/libqt-mt.so.3
#152 0x40ea7253 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#153 0x40e28e1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#154 0x40e2841e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#155 0x40a58e93 in KApplication::notify () from /usr/lib/libkdecore.so.4
#156 0x40e18645 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#157 0x40dd1cfb in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#158 0x40e3b1d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#159 0x40e3b088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#160 0x40e29071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#161 0x0805919b in ?? ()
#162 0xb700 in ?? ()
#163 0x0001 in ?? ()
#164 0x0001 in ?? ()
#165 0x in ?? ()
#166 0x in ?? ()
#167 0x0001 in ?? ()
#168 0x08066560 in _IO_stdin_used ()
#169 0x in ?? ()
#170 0x08065a56 in _IO_stdin_used ()
#171 0x08065a42 in _IO_stdin_used ()
#172 0xb728 in ?? ()
#173 0x402402fe in operator new () from /usr/lib/libstdc++.so.5
#174 0x402a9974 in __libc_start_main () from /lib/tls/libc.so.6
#175 0x08058951 in ?? ()

I am using Debian testing, custom Linux kernel compiled from Debian testing 
kernel source 2.6.8.

Martin Hodges.


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