Bug#924595: backup2l: Sometimes fails to detect running instance.

2019-03-19 Thread Wayne Conrad
On Fri, 15 Mar 2019 10:31:36 +0100 Gundolf Kiefer
 wrote:
> Thank you for the great report and the patch!
> 
> I applied the patch upstream:
> 
> https://github.com/gkiefer/backup2l/commit/3941b1a50aa184a4e42fcf80345b248472404108
> 
> -- Gundolf Kiefer
> 
> 

Gundolf,

Thank you for the quick response and for doing the work of maintaining
the package.  It is greatly appreciated!

Wayne Conrad



Bug#557023: Barby::Code128: private method split called for nil

2009-11-18 Thread Wayne Conrad
Package: libbarby-ruby1.8
Version: 0.3-1
Severity: normal
Tags: patch


Creating a new instance of Barby::Code128 with a legitimate string can
cause a stack trace.  One such string is the empty string:

  Barby::Code128.new(, 'B')

The stack trace is:

/usr/lib/ruby/1.8/barby/barcode/code_128.rb:239:in `characters': private method 
`split' called for nil:NilClass (NoMethodError)
from /usr/lib/ruby/1.8/barby/barcode/code_128.rb:364:in `valid?'
from /usr/lib/ruby/1.8/barby/barcode/code_128.rb:162:in `initialize'
from ./foo.rb:15:in `new'
from ./foo.rb:15

foo.rb (attached) reproduces the problem two different ways.

  Wayne Conrad

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

Kernel: Linux 2.6.30-2-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libbarby-ruby1.8 depends on:
ii  librqrcode-ruby1.8   0.3.2-2 Ruby library for encoding QRCode (
ii  rails2.2.3-1 MVC ruby based framework geared fo
ii  ruby1.8  1.8.7.174-2 Interpreter of object-oriented scr

libbarby-ruby1.8 recommends no packages.

Versions of packages libbarby-ruby1.8 suggests:
ii  libcairo-ruby1.8  1.8.0-1Cairo bindings for the Ruby langua
pn  libprawn-ruby1.8  none (no description available)
ii  librmagick-ruby1.82.11.1-1   ImageMagick API for Ruby 1.8

-- no debconf information


foo.rb
Description: application/ruby
diff -ur libbarby-ruby-0.3.orig/lib/barby/barcode/code_128.rb libbarby-ruby-0.3/lib/barby/barcode/code_128.rb
--- libbarby-ruby-0.3.orig/lib/barby/barcode/code_128.rb	2009-11-18 17:51:28.0 -0700
+++ libbarby-ruby-0.3/lib/barby/barcode/code_128.rb	2009-11-18 17:51:37.0 -0700
@@ -227,8 +227,8 @@
 #sets, in which case the extra will itself have an extra.
 def extra=(extra)
   raise ArgumentError, Extra must begin with \\301, \\302 or \\303 unless extra =~ /^[#{CODEA+CODEB+CODEC}]/n
-  type = extra[/([#{CODEA+CODEB+CODEC}])/n, 1]
-  data = extra[/[#{CODEA+CODEB+CODEC}](.*)/n, 1]
+  type = extra[0..0]
+  data = extra[1..-1]
   @extra = class_for(type).new(data)
 end
 


Bug#557023: (Barby::Code128: private method split called for nil)

2009-11-18 Thread Wayne Conrad
My apologies.  The patch I submitted with the original report is
incomplete.  It fixes the case in foo.rb with the non-empty string,
but does not fix the empty string case.

Attached is the complete patch.
diff -ur libbarby-ruby-0.3.orig/lib/barby/barcode/code_128.rb libbarby-ruby-0.3/lib/barby/barcode/code_128.rb
--- libbarby-ruby-0.3.orig/lib/barby/barcode/code_128.rb	2009-11-18 17:51:28.0 -0700
+++ libbarby-ruby-0.3/lib/barby/barcode/code_128.rb	2009-11-18 22:35:54.0 -0700
@@ -208,7 +208,7 @@
 #character set, an extra will be created.
 def data=(data)
   data, *extra = data.split(/([#{CODEA+CODEB+CODEC}])/n)
-  @data = data
+  @data = data || ''
   self.extra = extra.join unless extra.empty?
 end
 


Bug#546292: wordpress: cannot upload pictures

2009-09-27 Thread Wayne Conrad
I installed wordpress yesterday, and managed to duplicate this anomaly
in testing (squeeze), wordpress 2.8.4-2.  The install left my
/srv/www/wp-uploads permissions set according to Giuseppe's
instructions.

Here's a workaround that worked for me.  I'm too new to wordpress to
know if the workaround has harmful side-effects, but it did let me
upload pictures.

There is a configuration page, misc, not shown in the list of
configuration pages.  Bring it up by modifing the URL from one of the
other configuration pages.  For example:

http://yourblogdomain.tld/blog/wp-admin/options-misc.php

Change store uploads in this folder from

/sev/www/wp-uploads/yourblogdomain.tld

to

wp-content/uploads

Change Full URL path to files from

http://yourblogdomain.tld/wp-uploads

to nothing (make it blank).

Best Regards,
Wayne Conrad



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



Bug#482777: phpwiki: SQL error during sqlite install

2008-05-24 Thread Wayne Conrad
Package: phpwiki
Version: 1.3.14-2
Severity: normal


When installing and selecting sqlite, installation gets an SQL error:

populating database via sql...  CREATE TABLE pref (
userid  CHAR(48) NOT NULL PRIMARY KEY,
prefs   MEDIUMTEXT NULL DEFAULT '',
passwd  CHAR(48) DEFAULT '',
groupname CHAR(48) DEFAULT 'users',
);
SQL error: near ): syntax error

Complete installation log attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages phpwiki depends on:
ii  apache2   2.2.8-4~lenny1 Next generation, scalable, extenda
ii  apache2-mpm-prefork [http 2.2.8-4~lenny1 Traditional model for Apache HTTPD
ii  dbconfig-common   1.8.38 common framework for packaging dat
ii  debconf [debconf-2.0] 1.5.21 Debian configuration management sy
ii  libapache2-mod-php5   5.2.5-3server-side, HTML-embedded scripti
ii  php-db1.7.13-2   PHP PEAR Database Abstraction Laye
ii  php5-mysql5.2.5-3MySQL module for php5
ii  php5-sqlite   5.2.5-3SQLite module for php5
ii  ucf   3.006  Update Configuration File: preserv

Versions of packages phpwiki recommends:
ii  mysql-client  5.0.51a-6  MySQL database client (meta packag
ii  mysql-client-5.0 [mysql-clien 5.0.51a-6  MySQL database client binaries
ii  postgresql-client-8.3 [postgr 8.3.1-2+b1 front-end programs for PostgreSQL 
ii  sqlite2.8.17-4   command line interface for SQLite

-- debconf information:
* phpwiki/system/documentroot:
  phpwiki/pgsql/authmethod-user:
  phpwiki/upgrade-error: abort
  phpwiki/pgsql/manualconf:
  phpwiki/mysql/method: unix socket
  phpwiki/upgrade-backup: true
  phpwiki/dbconfig-upgrade: true
  phpwiki/dbconfig-remove:
  phpwiki/remote/newhost:
  phpwiki/remote/port:
  phpwiki/db/basepath: /var/lib/dbconfig-common/sqlite/phpwiki
  phpwiki/remote/host:
  phpwiki/purge: false
  phpwiki/system/localnet: 10.0.0.0/24
  phpwiki/pgsql/admin-user: postgres
  phpwiki/internal/skip-preseed: false
  phpwiki/install-error: abort
  phpwiki/db/app-user:
  phpwiki/system/accessible: localhost only
  phpwiki/passwords-do-not-match:
  phpwiki/mysql/admin-user: root
  phpwiki/dbconfig-reinstall: false
  phpwiki/pgsql/method: unix socket
* phpwiki/database-type: sqlite
  phpwiki/pgsql/changeconf: false
  phpwiki/db/dbname: phpwiki
  phpwiki/notes/configupgrade:
  phpwiki/pgsql/no-empty-passwords:
  phpwiki/missing-db-package-error: abort
  phpwiki/remove-error: abort
  phpwiki/notes/introduction:
  phpwiki/internal/reconfiguring: false
* phpwiki/dbconfig-install: true
  phpwiki/pgsql/authmethod-admin: ident
[EMAIL PROTECTED]:/$ sudo apt-get install phpwiki
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-keyring libsmbiosxml1 aspell-en libts-0.0-0 libglib-perl 
shared-mime-info libqt4-opengl xsltproc libenchant1c2a notification-daemon 
libgnomevfs2-0
  libgail18 libqt4-assistant libneon27 libgnome2-0 libgtop2-common aspell 
libdjvulibre15 djvulibre-plugin libgnomeui-common libgail-common
  libgnome-keyring0 libart-2.0-2 app-install-data libavahi-common-data 
libdbus-1-3 libqt4-test libdbus-glib-1-2 libqt4-sql-mysql libqt4-dbus
  libopenexr2ldbl scrollkeeper docbook-xml libpam-gnome-keyring 
libqt4-qt3support libx86-1 libbonoboui2-common gconf2 libbonoboui2-0 
libwnck-common
  libgnome2-perl libqt4-core libnspr4-0d esound-common libnotify1 libsmbios1 
libdirectfb-extra libcwidget1 libgnome-menu2 libsmbclient libfam0
  libsmbios-bin libeel2-data libdirectfb-1.0-0 libwnck22 libsexy2 vbetool 
libgconf2-4 iceape-gnome-support iceape-browser libxres1 dbus djview4
  libhunspell-1.1-0 libgnome2-common powermgmt-base libstartup-notification0 
fam libhunspell-1.2-0 libqt4-gui libhal1 hal libqtcore4 libgnome2-vfs-perl
  libesd0 libgnomecanvas2-0 deborphan dictionaries-common libvte9 libgnomeui-0 
libgtk2-perl libhal-storage1 libidl0 libbonobo2-0 libglade2-0 pm-utils
  libqt4-sql libqt4-svg libeel2-2.20 xdg-utils libaudiofile0 
libgnomecanvas2-common libqt4-xml libgnomevfs2-extra gconf2-common uswsusp 
libqt4-network
  libgtop2-7 libqt4-designer synaptic gksu gnome-mime-data libavahi-client3 
libqtgui4 liborbit2 libbonobo2-common libgksu2-0 sgml-data libsysfs2 radeontool
  libavahi-glib1 hal-info libcairo-perl mozilla-browser esound-clients 
libqt4-script dbus-x11 libsplashy1 libnautilus-extension1 libaudio2 gnome-mount
  libavahi-common3 portmap libvte-common libscrollkeeper0 libnss3-1d 
libaspell15 libmng1 libgnome2-canvas-perl qt4-qtconfig libgnomevfs2-common
Use 'apt-get autoremove' to remove them.
Suggested 

Bug#482780: phpwiki: Error during install using postgres: pg_ts_cfg does not exist

2008-05-24 Thread Wayne Conrad
Package: phpwiki
Version: 1.3.14-2
Severity: normal


When installing using postgres, I got a 'pg_ts_cfg does not exist' error:

An error seems to have occurred while installing the database. If it's of any 
help, this was the error encountered:

At first init the database with: $ createdb phpwiki $ createuser -S -R -d 
'wikiuser' $ psql -U 'wikiuser' phpwiki 
/usr/share/postgresql/contrib/tsearch2.sql $ psql -U 'wikiuser' phpwiki  
psql-initialize.sql Initializing PhpWiki tables with: prefix = '' httpd_user =
... 
ERROR: relation pg_ts_cfg does not exist

Complete installation log attached

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages phpwiki depends on:
ii  apache2   2.2.8-4~lenny1 Next generation, scalable, extenda
ii  apache2-mpm-prefork [http 2.2.8-4~lenny1 Traditional model for Apache HTTPD
ii  dbconfig-common   1.8.38 common framework for packaging dat
ii  debconf [debconf-2.0] 1.5.21 Debian configuration management sy
ii  libapache2-mod-php5   5.2.5-3server-side, HTML-embedded scripti
ii  php-db1.7.13-2   PHP PEAR Database Abstraction Laye
ii  php5-mysql5.2.5-3MySQL module for php5
ii  php5-sqlite   5.2.5-3SQLite module for php5
ii  ucf   3.006  Update Configuration File: preserv

Versions of packages phpwiki recommends:
ii  mysql-client  5.0.51a-6  MySQL database client (meta packag
ii  mysql-client-5.0 [mysql-clien 5.0.51a-6  MySQL database client binaries
ii  postgresql-client-8.3 [postgr 8.3.1-2+b1 front-end programs for PostgreSQL 
ii  sqlite2.8.17-4   command line interface for SQLite

-- debconf information:
* phpwiki/system/documentroot:
  phpwiki/pgsql/authmethod-user: ident
  phpwiki/upgrade-error: abort
  phpwiki/pgsql/manualconf:
  phpwiki/mysql/method: unix socket
  phpwiki/upgrade-backup: true
  phpwiki/dbconfig-upgrade: true
  phpwiki/dbconfig-remove:
  phpwiki/remote/newhost:
  phpwiki/remote/port:
  phpwiki/db/basepath:
  phpwiki/remote/host:
  phpwiki/purge: false
  phpwiki/system/localnet: 10.0.0.0/24
  phpwiki/pgsql/admin-user: postgres
  phpwiki/internal/skip-preseed: false
* phpwiki/install-error: ignore
  phpwiki/db/app-user: phpwiki
  phpwiki/system/accessible: localhost only
  phpwiki/passwords-do-not-match:
  phpwiki/mysql/admin-user: root
  phpwiki/dbconfig-reinstall: false
  phpwiki/pgsql/method: unix socket
* phpwiki/database-type: pgsql
  phpwiki/pgsql/changeconf: false
  phpwiki/db/dbname: phpwiki
  phpwiki/notes/configupgrade:
  phpwiki/pgsql/no-empty-passwords:
  phpwiki/missing-db-package-error: abort
  phpwiki/remove-error: abort
  phpwiki/notes/introduction:
  phpwiki/internal/reconfiguring: false
* phpwiki/dbconfig-install: true
  phpwiki/pgsql/authmethod-admin: ident
[EMAIL PROTECTED]:/etc$ sudo apt-get install phpwiki
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  php5-imap php5-ldap
The following NEW packages will be installed
  phpwiki
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3206kB of archives.
After this operation, 14.9MB of additional disk space will be used.
Preconfiguring packages ...
Configuring phpwiki
---

phpwiki must have a database installed and configured before it can be used.  
If you like, this can be handled with dbconfig-common.

If you are an advanced database administrator and know that you want to perform 
this configuration manually, or if your database has already been installed
and configured, you should refuse this option.  Details on what needs to be 
done should most likely be provided in /usr/share/doc/phpwiki.

Otherwise, you should probably choose this option.

Configure database for phpwiki with dbconfig-common? yes


phpwiki can be configured to use one of many database types. Below, you will be 
presented with the available choices.

  1. mysql  2. pgsql  3. sqlite

Database type to be used by phpwiki: 2


Please provide a password for phpwiki to register with the database server.  If 
left blank, a random password will be generated for you. . If you are using
ident based authentication, the supplied password will not be used and can be 
left blank.  Otherwise, PostgreSQL access may need to be reconfigured to
allow password-authenticated access.

PostgreSQL application password for phpwiki:


Where should the web-accessible location of the PHPWiki be?

This is the directory of your website that people should use to access the 
PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change it 
to
be anything within your server.  Enter just the directory portion below.

Web-accessible 

Bug#381941: Emits no file type for file starting with '('

2006-08-07 Thread Wayne Conrad
Package: file
Version: 4.17-2
Severity: normal


File emits no file type for a text file that starts with '('.

To reproduce:

$ echo '(' bar
$ file bar
bar: 

Additional info:

$ file -v
file-4.17
magic file from /etc/magic:/usr/share/file/magic
$ ls /etc/magic
ls: /etc/magic: No such file or directory

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages file depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libmagic1 4.17-2 File type determination library us
ii  zlib1g1:1.2.3-13 compression library - runtime

file recommends no packages.

-- no debconf information


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



Bug#367700: No such file or directory during init

2006-05-17 Thread Wayne Conrad
Package: slony1-bin
Version: 1.1.5-1
Severity: important
Tags: patch


/etc/init.d/slony1 fails to start slony:

[EMAIL PROTECTED]:/home/wayne$ /etc/init.d/slony1 start
Starting Slony-I daemon: wayne_production-su: . /lib/lsb/init-functions ; 
start_daemon -p /var/run/slony1/wayne_production.pid /usr/bin/slon -f 
/etc/slony1/wayne_production/slon.conf -p /var/run/slony1/wayne_production.pid 
/var/log/slony1/slon-wayne_production.log 21 /dev/null : No such file or 
directory
 failed!

It appears that the su now requires the -c argument that used to be
implied.  Adding -c to the script fixes everything (see attached
patch).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages slony1-bin depends on:
ii  libc6 2.3.6-7GNU C Library: Shared libraries
ii  libpq48.1.3-4PostgreSQL C client library
ii  postgresql-common 50 manager for PostgreSQL database cl

Versions of packages slony1-bin recommends:
ii  ntp-server   1:4.2.0a+stable-2sarge1 Network Time Protocol: common serv
ii  postgresql-8.1-s 1.1.5-1 replication system for PostgreSQL

-- no debconf information
diff -ur slony1-1.1.5.orig/debian/slony1-bin.slony1.init 
slony1-1.1.5/debian/slony1-bin.slony1.init
--- slony1-1.1.5.orig/debian/slony1-bin.slony1.init 2006-05-16 
12:01:41.0 -0700
+++ slony1-1.1.5/debian/slony1-bin.slony1.init  2006-05-17 11:34:08.0 
-0700
@@ -44,7 +44,7 @@
 }
 
 d_start() {
-   su - postgres . /lib/lsb/init-functions ; start_daemon -p $(pidfile 
$1) $DAEMON -f $(conffile $1) -p $(pidfile $1) $(logfile $1) 21 /dev/null 

+   su - postgres -c . /lib/lsb/init-functions ; start_daemon -p $(pidfile 
$1) $DAEMON -f $(conffile $1) -p $(pidfile $1) $(logfile $1) 21 /dev/null 

 }
 
 d_stop() {