Bug#1058491: add a "Date" control field (for reproducibility)

2023-12-12 Thread Stephen Gildea
Package: equivs Version: 2.3.1 Tags: patch Please accept this enhancement to add a "Date" field to the equivs-build control file. If supplied, the Date value will be used instead of the current time to set the date/time in the generated debian/changelog file. Sometimes the caller does not need

Bug#1058049: [mk-build-deps] "arch all" packages are architecture-specific

2023-12-11 Thread Stephen Gildea
Package: devscripts Version: 2.23.6 Tags: patch The packages mk-build-deps builds work on only one architecture, even if the built package architecture is "all". This is because the generated package always includes a dependency on "build-essential:", where is a specific architecture. Because

Bug#1029752: tests fail with nmh 1.8~RC-2, blocking nmh from entering testing

2023-01-27 Thread Stephen Gildea
Thank you for this bug report! I had noticed that the xlbiff test fails in some chroots, but I had not yet identified that nmh 1.8 was the difference. I will upload a fix in the next few days. < Stephen

Bug#970091: RFS: xlbiff/4.3-1 [ITA] -- Displays From and Subject lines of your new mail

2020-09-11 Thread Stephen Gildea
Package: sponsorship-requests Severity: normal Dear mentors, I am looking for a sponsor for my package "xlbiff": * Package name: xlbiff Version : 4.3-1 Upstream Author : e...@edsantiago.com (Ed Santiago) * URL : http://www.edsantiago.com/xlbiff/ * License

Bug#960886: dnetc does not need restarting after log rotate

2020-06-22 Thread Stephen Gildea
Ping

Bug#960886: dnetc does not need restarting after log rotate

2020-05-17 Thread Stephen Gildea
Package: distributed-net Version: 2.9112.521-1 Tags: patch Every week, cron logs an error from attempting to logrotate distributed-net. /etc/logrotate.d/distributed-net says after rotating to run invoke-rc.d distributed-net reload >/dev/null /etc/init.d/distributed-net doesn't support a

Bug#849998: replace device-specific ACPI brightness script with a general script

2017-01-02 Thread Stephen Gildea
Package: acpi-support Version: 0.142-8 Tags: patch Please accept this patch updating the brightness-adjusting script. I noticed that asus-keyboard-backlight.sh did all the things I wanted, but it had the path of the device class hardwired in, and I have different hardware. So I pulled out the

Bug#732140: parameterized init.d support of --chroot and --user

2013-12-14 Thread Stephen Gildea
Package: openvpn Version: 2.3.2-7 Tags: patch This patch is an update of the patch in bug 614036. It is refreshed for the changes to the init.d script merged in 2.3.2-6. It is also re-written to be more generic. The script now reads external data files to build a list of files to copy into the

Bug#729030: move /var/run/ files to /var/run/openvpn/ (supports chroot)

2013-11-07 Thread Stephen Gildea
Package: openvpn Version: 2.3.2-5 Tags: patch This patch moves all openvpn /var/run files down into a subdirectory. This change is in support of running openvpn in a chroot: it allows that subdirectory to be moved into the chroot tree and still be soft-linked from the real /var/run (and thus

Bug#614036: update to init.d/openvpn patch: cp -u

2011-04-16 Thread Stephen Gildea
With some use, I've found I need to make a slight update to my easy chroot patch. I think this bug report will stay most readable if I just give the one line I'm updating rather than resubmit the whole patch anew. This added line: test -f $file cp -p $file $CHROOT/$file should be

Bug#614036: init.d support for easy --chroot and --user

2011-02-18 Thread Stephen Gildea
Package: openvpn Version: 2.1.3-2 Tags: patch I have found the following changes to /etc/init.d/openvpn make it easy to run openvpn with the --chroot option. This patch moves all the openvpn /var/run files into a subdirectory, so that directory can be then moved into the chroot tree and still

Bug#598239: dash local assignment splits words

2010-09-29 Thread Stephen Gildea
Wait, so you're telling me that VAR=$stuff export VAR and export VAR=$stuff parse differently from each other in Dash, and this is not considered a bug? If so, I have to say that it appears Bash got it right here. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with

Bug#598237: document that cryptsetup key file must not have final newline

2010-09-27 Thread Stephen Gildea
Package: cryptsetup Version: 2:1.1.3-3 Tags: patch The only real problem I had setting up my first cryptsetup disks was that the pass-phrase file cannot end in a newline. I'm sure there's a good technical reason for this bit of trickiness, but it needs to be documented more thoroughly. Appended

Bug#598239: dash local assignment splits words

2010-09-27 Thread Stephen Gildea
Package: dash Version: 0.5.5.1-7 Using the local command to do variable assignment should not do word splitting. The following script shows how a Dash function incorrectly handles an argument with a space in it. #! /bin/dash show_buggy_word_splitting() { local d=$1 if [ $d = two words

Bug#598238: dash can segfault on unquoted test arg

2010-09-27 Thread Stephen Gildea
Package: dash Version: 0.5.5.1-7 Dash segfaults when fed the following script. Yes, the quoting in this script is wrong, but Dash should still not segfault. I would have expected it to run without error. #! /bin/dash dummyfn() { local a=$1 local b=$2 echo } if test ! $1; then

Bug#594451: preinst run of db4.7_upgrade fails

2010-08-25 Thread Stephen Gildea
Package: postgrey Version: 1.32-4 The fix to bug 519707 (postgrey upgrade fails because of old Berkeley DB) seems to have broken my ability to upgrade from postgrey 1.31-2. The preinst script fails with the following error: db4.7_upgrade: Program version 4.7 doesn't match environment version

Bug#498199: d-i cannot use existing encrypted partition

2008-09-07 Thread Stephen Gildea
Package: debian-installer Version: snapshot 20080906-21:39 (newer than lenny beta 2) Boot method: CD Image version: Debian GNU/Linux testing Lenny - Official Snapshot i386 NETINST Binary-1 20080906-21:39 Date: 2008-09-06 Problems: I have a system with an encrypted partition, inside which is an

Bug#433477: dpkg-gencontrol -v fails to set ${binary:Version}

2008-01-11 Thread Stephen Gildea
of the packages from the same source. The binary version is set with a pbuilder hook that edits the debian/rules file to pass a -v flag to dh_gencontrol (which passes it to dpkg-gencontrol). Here is my hook script: #! /bin/sh -e # A50add-debianversion, by Stephen Gildea. # pbuilder type A hook, runs before

Bug#440116: the epoch is rejected as a changelog date

2007-08-29 Thread Stephen Gildea
with timestamp 0, even though it is a valid timestamp. Here is a short test program: #! /usr/bin/perl -w # test Parse::DebianChangelog's handling of the epoch # by Stephen Gildea, August 2007 use Parse::DebianChangelog; my $changelog_entry = 'test-package (1.0) unstable; urgency=low * Verify

Bug#433477: dpkg-gencontrol -v fails to set ${binary:Version}

2007-07-17 Thread Stephen Gildea
Package: dpkg-dev Version: 1.14.5 Tags: patch When using the -v flag of dpkg-gencontrol to set the version number of the binary package being built, the subst variable binary:Version fails to be set correctly. Instead of getting the value specified with the -v, it gets the version of the source.

Bug#432273: application/postscript: additional EPS extensions

2007-07-08 Thread Stephen Gildea
Package: mime-support Version: 3.39-1 Tags: patch There are several extensions used for Encapsulated PostScript files that are not included in the /etc/mime.types list: .epsi (interchange format--all ASCII, commonly has preview) .eps2 (PS level 2) .eps3 (PS level 3) .epsf (Macintosh

Bug#417590: deleted VG haunts installer, cryptroot file missing

2007-04-13 Thread Stephen Gildea
But why didn't the installer set up my crypt configuration? This sounds very weird, but also not reproducible. I've tried myself to reproduce the problem, without success. Stephen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL

Bug#417590: deleted VG haunts installer, cryptroot file missing

2007-04-03 Thread Stephen Gildea
Package: debian-installer Severity: normal Version: daily-20070308 I had a couple of problems with the netinst GUI installer. If you create an LVM physical partition and then use it in a Volume Group, you cannot later change the size of the LVM partition. One would think you could delete the

Bug#414309: cannot configure encrypted volume if stray swap exists

2007-03-10 Thread Stephen Gildea
Package: debian-installer Severity: normal Version: daily-20070308 In the Partition disks step, using the Manual partitioning method, I cannot configure encrypted volumes. I create a partition, for use as a physical volume for encryption. When I try to Configure encrypted volumes, I get the

Bug#402994: use new libpaper hook to track system paper size

2006-12-17 Thread Stephen Gildea
Except that there are a couple of old bugs in the BTS about that, what evidence do you have that this issue is actually widely recognized as a problem? And why the proper solution should be to use libpaper, instead of teaching users to use geometry.sty or hyperref.sty to include

Bug#402994: use new libpaper hook to track system paper size

2006-12-15 Thread Stephen Gildea
As we found out, libpaper support didn't work in the old setup, anyway. So we are not dropping any functionality if we just add the hook and the file in /etc/default, setting the variable to no action. We are just adding the possibility to have it done with libpaper. Why would

Bug#402994: use new libpaper hook to track system paper size

2006-12-13 Thread Stephen Gildea
Package: tetex-bin Version: 3.0-27 Tags: patch The attached patch solves the widely-recognized problem that tetex does not obey the system's default paper size. It's a problem when TeX formats documents for the wrong size paper, because what's wrong isn't obvious to many users. Everybody

Bug#398378: dhclient.conf should not restrict parameters received

2006-11-13 Thread Stephen Gildea
Package: dhcp3 Version: 3.0.4-10 Tags: patch The default dhcp3 client configuration is unnecessarily and harmfully limiting the DHCP options the server is sending. The request statement in dhclient.conf changes the list of DHCP options that the client allows the server to send back. The list of

Bug#375669: libpaper.d hooks not run by (re)configuration

2006-06-27 Thread Stephen Gildea
Package: libpaper1 Version: 1.1.19 Tags: patch Running dpkg-reconfigure libpaper1 can change the system's paper size, but it fails to run the hooks in /etc/libpaper.d/ to notify other packages of the change. This small patch changes the postinst script to run the hooks if /etc/papersize changes.

Bug#374509: sudo: keep more X11 environment variables

2006-06-19 Thread Stephen Gildea
Package: sudo Version: 1.6.8p12-4 Tags: patch It is nice that the new, tighter sudo now keeps the XAUTHORITY variable, but there are still X variables that sudo is not respecting, and this makes it hard for me to run some X11 applications. sudo should keep the Xt toolkit variables XAPPLRESDIR,

Bug#352693: libpaper configure script did not get rebuilt

2006-04-02 Thread Stephen Gildea
This bug is still present in libpaper 1.1.14-6; the unsubstituted string @RUNPARTSDIRVAR@ is still in paperconfig after building. The problem appears to be that although configure.ac was fixed, configure was not regenerated from it for this release. Stephen -- To UNSUBSCRIBE, email to

Bug#358546: failure of pg_ctl start -w -D

2006-03-22 Thread Stephen Gildea
Package: postgresql-7.4 Version: 7.4.12-2 Tags: patch When starting the PostgreSQL server (with pg_ctl start) with a specific directory (the -D flag), the wait code (triggered with the -w option) fails to use the directory to find the Unix socket, and so it fails to connect to the newly-started

Bug#352693: new config var RUNPARTSDIRVAR not set

2006-02-13 Thread Stephen Gildea
Package: libpaper-utils Version: 1.1.14-5 Tags: patch The config variable RUNPARTSDIRVAR is used in paperconfig.in but not defined in configure.ac. RUNPARTSDIRVAR is supposed to name an environment variable. This patch adds a definition to configure.ac and fixes an unrelated typo in

Bug#348256: a status option for init.d/networking

2006-01-20 Thread Stephen Gildea
Marco d'Itri [EMAIL PROTECTED] wrote in full: No way. This has no place in the init script. Could you please explain why you feel this way? My reading of http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html led me to think the init script was a

Bug#348256: a status option for init.d/networking

2006-01-16 Thread Stephen Gildea
Marco d'Itri [EMAIL PROTECTED] wrote in full: Useless. Not at all! Maybe you are thinking, of course the network state never changes. Not so on my laptop. When I'm on the train, I have no network service. I find I get increased battery life if I disable the network hardware (particularly the

Bug#348256: a status option for init.d/networking

2006-01-15 Thread Stephen Gildea
Package: netbase Version: 4.24 Tags: patch The following patch provides a status option for the /etc/init.d/networking script. Stephen --- netbase-4.24/debian/netbase.init2006-01-03 17:14:07.0 -0500 +++ debian/netbase.init 2006-01-15 17:46:35.0 -0500 @@ -6,6 +6,8 @@ #

Bug#345466: provide a hook for when paperconf changes

2005-12-31 Thread Stephen Gildea
Package: libpaper Version: 1.1.14-3 Tags: patch The libpaper package should provide a hook for other packages to receive notification when the paper size has been set or changed. Not all packages can use libpaper as part of their normal run-time to determine the current paper size. Those that

Bug#320683: dhcp3-server: want status option for init script

2005-07-31 Thread Stephen Gildea
Package: dhcp3-server Version: 3.0.2-2 Tags: patch The following patch provides a status option for the /etc/init.d/dhcp3-server script. It also removes the pid file on stop. Stephen --- dhcp3-3.0.2/debian/dhcp3-server.init.d 2005-07-31 08:00:03.0 -0700 +++

Bug#319485: /etc/init.d/pcmcia stop: always unload all modules

2005-07-24 Thread Stephen Gildea
I think it should report if it fails to unload a module which is loaded, ... Then how about this patch instead. It outputs error messages if modules fail to unload. --- pcmcia-cs-3.2.5/etc/rc.pcmcia 2005-07-21 12:01:28.0 -0700 +++ etc/rc.pcmcia 2005-07-22

Bug#319485: /etc/init.d/pcmcia stop: always unload all modules

2005-07-22 Thread Stephen Gildea
Package: pcmcia-cs Version: 3.2.5-11 Tags: patch The stop option to /etc/init.d/pcmcia unloads the kernel modules it loaded only if the ds module is found to be loaded. But on at least one of my systems, running Debian kernel 2.6.11, ds appears to be compiled into the kernel while yenta_socket,

Bug#319397: httpd.conf: Files default directive should deny more odd filenames

2005-07-21 Thread Stephen Gildea
Package: apache-common Version: 1.3.33-6 Tags: patch The default Debian /etc/apache/httpd.conf uses a Files directive to deny access to .htaccess files. But there are many other filename patterns that, should they be found in the web tree, should also be denied. The Files directive currently

Bug#319392: ntp-server: want status option for init script

2005-07-21 Thread Stephen Gildea
Package: ntp-server Version: 4.2.0a+stable-8 Tags: patch The following patch provides a status option for the /etc/init.d/ntp-server script. It also corrects the run-as username displayed in the error message when that user account does not exist. Stephen ---

Bug#312884: init.d/sl-modem-daemon: unload module on stop, add status, fix timing on start

2005-06-10 Thread Stephen Gildea
Package: sl-modem-daemon Version: 2.9.9a-1 Tags: patch The enclosed patch makes the following improvements to the /etc/init.d/sl-modem-daemon script: 1. On stop, unload the kernel module. This is the most important change, as unloading the kernel module powers down the device hardware, which

Bug#312683: cupsys: want status option for init script

2005-06-09 Thread Stephen Gildea
Package: cupsys Version: 1.1.23-10 Tags: patch The following patch provides a status option for the /etc/init.d/cupsys script. It also updates the usage message to add status and display the correct name for this script. Stephen --- cupsys-1.1.23/debian/cupsys.init.d 2005-06-08

Bug#312404: nscd: want status option for init script

2005-06-07 Thread Stephen Gildea
Package: nscd Version: 2.3.2.ds1-22 Tags: patch The following patch provides a status option for the /etc/init.d/ncsd script. It also fixes the exit status if the script is given an unsupported option. Stephen --- glibc-2.3.2.ds1/debian/debhelper.in/nscd.init 2005-02-08

Bug#311836: mysql-server init.d script: want useful status exit status

2005-06-03 Thread Stephen Gildea
Package: mysql-server Version: 4.0.24-10 Tags: patch The init script for mysql-server implements a status command, which is useful for humans. But that command doesn't use different exit values for different statuses, making it useless for scripts. The following patch 1) exits non-zero if the

Bug#311741: pidof: document exit status

2005-06-02 Thread Stephen Gildea
Package: sysvinit Version: 2.86.ds1-1 Severity: minor Tags: patch The man page of the pidof program should document its exit status. The program is more useful to scripts if they can count on its returning non-0 iff the pid search fails. Stephen --- sysvinit-2.86.ds1/man/pidof.8

Bug#291148: 'status' option should be required of init.d scripts

2005-05-31 Thread Stephen Gildea
If bug #208010 goes too far, this bug report doesn't go far enough. The status option should be required, not optional. Only if it can be counted on will it be useful. I'm interested in being able to check the status of services when I suspend and resume a laptop. Some services must be stopped

Bug#310605: mysqld: chroot happens too early

2005-05-24 Thread Stephen Gildea
Package: mysql-server Version: 4.0.24-5 I have some suggestions to make it easier to use mysqld's chroot feature. As with the setuid call, the chroot call must be carefully positioned in the server's initialization sequence. The current placement of the chroot call makes it hard to use. By

Bug#247473: init.d/nfs-common won't stop non-root daemons

2005-05-19 Thread Stephen Gildea
Version: 1.0.7-3 Tags: patch The statd daemon changes its uid to match that of the file(s) (in) /var/lib/nfs/. So if you change your /var/lib/nfs to be owned by, say, daemon, then you will see this bug in Sarge. Running the daemon non-root is a good security feature, and security-conscious

Bug#303596: Emacs installation fails on vfat fs

2005-04-09 Thread Stephen Gildea
Since /usr/local can be mounted read-only from a remote server, these directories must be created and removed by the postinst and prerm maintainer scripts and not be included in the .deb archive. These scripts must not fail if either of these operations fail. (9.1.2) since the

Bug#303596: Emacs installation fails on vfat fs

2005-04-07 Thread Stephen Gildea
Package: emacs21-common Version: 21.4a-1 Tags: patch The postinst script does several chown and chmod operations on subdirectories of /usr/local/share/. If these fail, the script fails (it runs with sh -e) and the package installation fails. This is too severe, as the chown/chmod failure can be

Bug#274720: enumerating kernels where IDE detection fails

2005-01-20 Thread Stephen Gildea
I have the same hardware as Florent (Athlon, ASUS VIA, Adaptec RAID), and I'm running into the same bug. That is, the kernel sees my Adaptec RAID disk fine (presented as SCSI, aacraid driver), but it doesn't see any of my IDE disks. I have done some experiments to try to pin down the location of