Your message dated Thu, 21 May 2026 21:48:48 +0000
with message-id <[email protected]>
and subject line Bug#1137206: fixed in chawan 0.4.0-5
has caused the Debian Bug report #1137206,
regarding chawan: References obsolete /usr/etc directory
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1137206: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1137206
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chawan
Version: 0.4.0-4
Severity: minor
Tags: patch
Hi,
The package references an obsolete, nonstandard path, /usr/etc, looking
for various bits of configuration. Even though it does not install any
files under /usr/etc, there is no reason to reference anything under
/usr/etc on Debian.
The attached patch removes all references to /usr/etc.
From: Teemu Hukkanen <[email protected]>
Date: Thu, 21 May 2026 01:51:25 +0300
Subject: [PATCH] Remove all references to /usr/etc
/usr is not meant for configuration data in Debian, and is not defined
in the FHS.
Remove all references to /usr/etc.
---
bonus/config.toml | 2 --
doc/cha-config.5 | 4 ++--
doc/cha-mailcap.5 | 2 +-
doc/cha-mime.types.5 | 2 +-
doc/config.md | 4 ++--
doc/mailcap.md | 2 +-
doc/mime.types.md | 2 +-
src/config/config.nim | 5 ++---
8 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/bonus/config.toml b/bonus/config.toml
index dd9b2ce..6c88216 100644
--- a/bonus/config.toml
+++ b/bonus/config.toml
@@ -33,14 +33,12 @@
#mailcap = [
# "~/.mailcap",
# "/etc/mailcap",
-# "/usr/etc/mailcap",
# "/usr/local/etc/mailcap"
#]
#auto-mailcap = "$CHA_DIR/mailcap"
#mime-types = [
# "~/.mime.types",
# "/etc/mime.types",
-# "/usr/etc/mime.types",
# "/usr/local/etc/mime.types"
#]
#urimethodmap = [
diff --git a/doc/cha-config.5 b/doc/cha-config.5
index 0b4cc3d..37a30b0 100644
--- a/doc/cha-config.5
+++ b/doc/cha-config.5
@@ -270,7 +270,7 @@ External editor command.
%s is substituted for the file name, %d for the line number.
.RE
.TP
-mailcap = [\(lq\(ti/.mailcap\(rq, \(lq/etc/mailcap\(rq, \(lq/usr/etc/mailcap\(rq, \(lq/usr/local/etc/mailcap\(rq]
+mailcap = [\(lq\(ti/.mailcap\(rq, \(lq/etc/mailcap\(rq, \(lq/usr/local/etc/mailcap\(rq]
\f[B]array of paths\f[R]
.RS
Search path for mailcap files.
@@ -278,7 +278,7 @@ See \f[B]cha\-mailcap\f[R](5) for details.
Directories specified first have higher precedence.
.RE
.TP
-mime\-types = [\(lq\(ti/.mime.types\(rq, \(lq/etc/mime.types\(rq, \(lq/usr/etc/mime.types\(rq, \(lq/usr/local/etc/mime.types\(rq]
+mime\-types = [\(lq\(ti/.mime.types\(rq, \(lq/etc/mime.types\(rq, \(lq/usr/local/etc/mime.types\(rq]
\f[B]array of paths\f[R]
.RS
Search path for mime.types files.
diff --git a/doc/cha-mailcap.5 b/doc/cha-mailcap.5
index 97b5d4d..5615e3c 100644
--- a/doc/cha-mailcap.5
+++ b/doc/cha-mailcap.5
@@ -23,7 +23,7 @@ The search path for mailcap files is set by the configuration variable
This matches the recommended path in the RFC:
.IP
.EX
-$HOME/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
+$HOME/.mailcap:/etc/mailcap:/usr/local/etc/mailcap
.EE
.PP
By default, mailcap entries are only executed if the user types
diff --git a/doc/cha-mime.types.5 b/doc/cha-mime.types.5
index de112a1..cb96926 100644
--- a/doc/cha-mime.types.5
+++ b/doc/cha-mime.types.5
@@ -18,7 +18,7 @@ are used.
The default search path for mime.types files is:
.IP
.EX
-$HOME/.mime.types:/etc/mime.types:/usr/etc/mime.types:/usr/local/etc/mime.types
+$HOME/.mime.types:/etc/mime.types:/usr/local/etc/mime.types
.EE
.SS Format
The mime.types file is a list of whitespace\-separated columns.
diff --git a/doc/config.md b/doc/config.md
index d23fb56..a368536 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -285,13 +285,13 @@ editor = "\${VISUAL:-\${EDITOR:-vi}}"
: External editor command. %s is substituted for the file name, %d for
the line number.
-mailcap = ["~/.mailcap", "/etc/mailcap", "/usr/etc/mailcap", "/usr/local/etc/mailcap"]
+mailcap = ["~/.mailcap", "/etc/mailcap", "/usr/local/etc/mailcap"]
: **array of paths**
: Search path for mailcap files. See [**cha-mailcap**](mailcap.md)(5)
for details. Directories specified first have higher precedence.
-mime-types = ["~/.mime.types", "/etc/mime.types", "/usr/etc/mime.types", "/usr/local/etc/mime.types"]
+mime-types = ["~/.mime.types", "/etc/mime.types", "/usr/local/etc/mime.types"]
: **array of paths**
: Search path for mime.types files. See [**cha-mime.types**](mime.types.md)(5)
diff --git a/doc/mailcap.md b/doc/mailcap.md
index 0386be4..2bc8995 100644
--- a/doc/mailcap.md
+++ b/doc/mailcap.md
@@ -21,7 +21,7 @@ The search path for mailcap files is set by the configuration variable
`external.mailcap`. This matches the recommended path in the RFC:
```
-$HOME/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
+$HOME/.mailcap:/etc/mailcap:/usr/local/etc/mailcap
```
By default, mailcap entries are only executed if the user types `r` (run)
diff --git a/doc/mime.types.md b/doc/mime.types.md
index 99d72ba..77321d3 100644
--- a/doc/mime.types.md
+++ b/doc/mime.types.md
@@ -17,7 +17,7 @@ no mime.types file is found, the built-in MIME type associations are used.
The default search path for mime.types files is:
```
-$HOME/.mime.types:/etc/mime.types:/usr/etc/mime.types:/usr/local/etc/mime.types
+$HOME/.mime.types:/etc/mime.types:/usr/local/etc/mime.types
```
## Format
diff --git a/src/config/config.nim b/src/config/config.nim
index 6819492..1ae3d87 100644
--- a/src/config/config.nim
+++ b/src/config/config.nim
@@ -2375,11 +2375,10 @@ const ConfigInitPath = {
const ConfigInitPathSeq = {
coMailcap: @[
- "~/.mailcap", "/etc/mailcap", "/usr/etc/mailcap", "/usr/local/etc/mailcap"
+ "~/.mailcap", "/etc/mailcap", "/usr/local/etc/mailcap"
],
coMimeTypes: @[
- "~/.mime.types", "/etc/mime.types", "/usr/etc/mime.types",
- "/usr/local/etc/mime.types"
+ "~/.mime.types", "/etc/mime.types", "/usr/local/etc/mime.types"
],
coUrimethodmap: @["urimethodmap", "~/.urimethodmap", "/etc/urimethodmap"],
coCgiDir: @["cgi-bin", "$CHA_LIBEXEC_DIR/cgi-bin"],
--
2.53.0
--- End Message ---
--- Begin Message ---
Source: chawan
Source-Version: 0.4.0-5
Done: Alex Myczko <[email protected]>
We believe that the bug you reported is fixed in the latest version of
chawan, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alex Myczko <[email protected]> (supplier of updated chawan package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 21 May 2026 21:25:26 +0000
Source: chawan
Architecture: source
Version: 0.4.0-5
Distribution: experimental
Urgency: medium
Maintainer: Debian Nim Team <[email protected]>
Changed-By: Alex Myczko <[email protected]>
Closes: 1137205 1137206
Changes:
chawan (0.4.0-5) experimental; urgency=medium
.
* Apply patch to drop obsolete dir refs. (Closes: #1137206)
* Apply patch to fallback to /usr/bin/editor. (Closes: #1137205)
Thanks Teemu Hukkanen for both patches.
Checksums-Sha1:
7d2eb73eee507293060bfe1b33c3552b1ed1d12a 2038 chawan_0.4.0-5.dsc
85f0366f3f657b252a99ff9ec2c2247560b9acf5 25792 chawan_0.4.0-5.debian.tar.xz
02505b5c87deaa5e8f9bcb0c6dcdd87ad09115ae 6716 chawan_0.4.0-5_source.buildinfo
Checksums-Sha256:
37c10246b5a19dcd69411c32456f10910e81e717823ff9ceb2ed1f55b63b38b7 2038
chawan_0.4.0-5.dsc
564c1df4a935eaa28a88805ccdbd4d3ba0993a1c19412e7e153344b305a53cc0 25792
chawan_0.4.0-5.debian.tar.xz
4a52595e4986469469752caba33d02666142dd54ad72378232ecef3e68e98187 6716
chawan_0.4.0-5_source.buildinfo
Files:
dd70dfb5692cff274128d6617c0da728 2038 web optional chawan_0.4.0-5.dsc
930ecd1b7aaac2770ad0cea992b6660e 25792 web optional
chawan_0.4.0-5.debian.tar.xz
6865957797896aaaea1fdbf8a90fcef9 6716 web optional
chawan_0.4.0-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmoPeWMACgkQEWhSvN91
FcDT7hAAgYCBrdApvoqRYKegeyj2WACIMv86tJMRpxdl4jAve4p2G91nffHabgJz
PZHxP9xpUGgPZicWDeValSgTKjBbpT3W0kVdLfB43XAiS2CbwGJbg296xcvJhIAO
CTtI/y9ZaPjgYYUW7TJZYgPkBefsGBrjoi5YxEG6zNuZS5DnvzYWNFSOobizQsAL
/4v8SZqfdYpABH1ZKJr8ZdmFUUOr53V92F3GvtbT+uaQZIlxGW6vBPqnei4a6UOb
+Mft7FHbfpiF7O4WgtVC6a4KdYrDoBZeOxh0QGSBJ9vSe+62vWNNI1r4b2K3ybsR
rilHpRD7UUZcNTaat5IMs7wsbAkkcNlekXUKCZkybANK4K0eg+Opym9zQLWsCYTX
pFV/NOS5WTzGd/k0xULDyQqi2HPZqujQGnNShgQ2dFRasE7CnWo+hwQ0xQDXjGxN
Zj1Ct0MXD+wXwWP4ZV5guEFa9bbm+WCecoIwMT2xoMe2u2/ubapPW6jyFdoBE8ku
CrNXhMpBp3fxWA8cBqr+1e8aY8M/InTWMsHV7fxUSb0Hh+U06H/2gaAIGArHqwkZ
tQMwW1JJs/DvdnFCZUNALWpbeKMpU9eSDwOb2ta0QSlIczYFxRTssaeWk/+UvDF8
2gnvGbX2M44ugNDyKXdMUCrSTWZH0zgcl3AEYunxhniwJdV3FBc=
=iS9V
-----END PGP SIGNATURE-----
pgpKq98C7HtBd.pgp
Description: PGP signature
--- End Message ---