Your message dated Tue, 26 Jan 2021 07:04:17 +0000 with message-id <[email protected]> and subject line Bug#803031: fixed in ser2net 4.3.2-1 has caused the Debian Bug report #803031, regarding patch: support serial serial dev/serial/by-path names 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.) -- 803031: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803031 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: ser2net Version: 2.9.1-1 Severity: wishlist Tags: patch Hi, ser2net uses : as field separator in ser2net.conf. Udev creates by-path and by-id paths to identify unique serial ports. These paths are highly useful as ttyUSB* might end up shuffling around. But the by-path symlink has always a : in the filename, and by-id might: # arndale 7001:telnet:0:'/dev/serial/by-path/pci-0000:00:1d.0-usb-0:1.8.4.2:1.0-port0':115200 8DATABITS NONE 1STOPBIT In this case the by-id doesn't, but it illustrates that the name comes from the device and can have anything in the name. The attached patch adds quoting to ser2net device name: --- x/ser2net-2.9.1/readconfig.c 2013-07-24 19:04:39.000000000 +0300 +++ ser2net-2.9.1/readconfig.c 2015-10-26 09:55:53.973462321 +0200 @@ -379,7 +379,14 @@ return; } - devname = strtok_r(NULL, ":", &strtok_data); + if (strtok_data[0] == '\'') { + /* device name may contains character ':' + eg. 2003:raw:5:'/dev/serial/by-path/pci-0000:00:1d.1-usb-0:2.1:1.0-port0':9600 */ + devname = strtok_r(NULL, "'", &strtok_data); + } + else { + devname = strtok_r(NULL, ":", &strtok_data); + } if (devname == NULL) { syslog(LOG_ERR, "No device name given on line %d", lineno); return; origin of patch: https://github.com/Lingku/mser2net/commit/e36aa4b12d896e056c13759105ee9380c1f20fbe Github seems to carry severaly useful forks of ser2net, all in having useful features yet not beeing very actively maintained :( https://github.com/longshine/ser2nets https://github.com/Lingku/mser2net Riku
--- End Message ---
--- Begin Message ---Source: ser2net Source-Version: 4.3.2-1 Done: Marc Haber <[email protected]> We believe that the bug you reported is fixed in the latest version of ser2net, 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. Marc Haber <[email protected]> (supplier of updated ser2net 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: SHA256 Format: 1.8 Date: Mon, 25 Jan 2021 19:15:40 +0100 Source: ser2net Architecture: source Version: 4.3.2-1 Distribution: unstable Urgency: medium Maintainer: Marc Haber <[email protected]> Changed-By: Marc Haber <[email protected]> Closes: 803031 950026 968173 980817 Changes: ser2net (4.3.2-1) unstable; urgency=medium . * new upstream version 4.3.2 (Closes: #968173) * now supports /dev/serial/by-path paths. (Closes: #803031) * processes hex escape in banner (Closes: #980817) * properly handles data length 0 (Closes: #950026) * tests are disabled (need an out-of-tree kernel module) * d/watch: Use https protocol * new default configuration in ser2net.yaml * install a systemd service unit * add new Build-Depends * Homepage is now on github * improve debian/copyright Checksums-Sha1: 0b4e793941ae492801351edd47a64b4710086dfb 1957 ser2net_4.3.2-1.dsc 0e750ace8fd679452aa9ab4ba53611f61380641a 141903 ser2net_4.3.2.orig.tar.gz 8aee8ccaa44b9fad4574332618734496280c2dba 8260 ser2net_4.3.2-1.debian.tar.xz 62571e3093528a30c635e6cd8b7225c30af3b5a4 6490 ser2net_4.3.2-1_source.buildinfo Checksums-Sha256: f85726d3eb03409430a80c179f2dd2aa1d918df29239aca3faa5efc3405a3017 1957 ser2net_4.3.2-1.dsc 3bb3e6b6375b4c42a9686e7924056837244ae7ceec89816fef87bcb6956bd778 141903 ser2net_4.3.2.orig.tar.gz fc14158cdc1c419f59e64ca285bf63cd613e1e474112193d38c97e6500c311fc 8260 ser2net_4.3.2-1.debian.tar.xz 006833e8830a9140f0c5454df0cda06aeff435297050b99b323fcfc8fe53d91f 6490 ser2net_4.3.2-1_source.buildinfo Files: 8e7570d57ad849df066ae78237a50f00 1957 utils optional ser2net_4.3.2-1.dsc 5fef5823d76b0d789f36e2de175824e9 141903 utils optional ser2net_4.3.2.orig.tar.gz 5c837047fc940157a2ac78584d4b4c94 8260 utils optional ser2net_4.3.2-1.debian.tar.xz 739b93ba14dbf21ff1f35cde04a3e117 6490 utils optional ser2net_4.3.2-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE6QL5UJ/L0pcuNEbjj3cgEwEyBEIFAmAPGe4ACgkQj3cgEwEy BEKhfBAAsH6SuLSQGY/7+IDR+aWn87SEG6fNkndaOtT/Dl9AUemrpJaCm2AmidTc qboE2BdOG1vj53sbbT12wHpeFgqHeBK/KIlwsKaXoJAMUR5zEGFwhJa7MfTgJ6iK mxzk6yreLxx3YAwRw8oH/upomF6ubbjJ7Sqg78kzbcmZzG2twZULOI6aSssKFZ7z /6vVJk5T/K2D2ccHQYY73QVmCd0j+O6q7qiZ5ZBhZYDyyudU1YvoHFPQCZbEanyI E8cXY9TZf1eUGQrKTtuzodySpvijii/bk7QIhK+gjY5hWDul21w3DPhORTqzdnLh fNbaxhMPKmQdzns0SFyHJjL23FYIhbVAtLshmHG0evSRyrxCvGc6PdgQZmsBxNnD lPStt1Lu2WcC25R6imKUwhDv+RjD8O1uvC+21JppcfBmGDp4WEbJB/BqO3ln1mFI QCGFqXuuSTRTn5qO+KBZ2PVrI5LYNEyA+IUeRikX561fTMp4RUSiGwCEhCvOeX9d y9hMIQhKfp8sXczOOxQFBV9sBxc/Is6Hv/k0xeSSZXAI/StyZMYRiNb7cvfW/u2I /LplEZzd9tqTsr5pFqBBrWsEzct5BzYuajg6kXbS8jD2QO6wWEOMqVaZO7l1UObm ZzV1YBaBPRN61yqXUDyo4z2OAoO4CZ8MH0ZjlyWZxWGOqM3g9Yc= =0lEC -----END PGP SIGNATURE-----
--- End Message ---

