Your message dated Fri, 03 Dec 2021 10:07:02 +0000 with message-id <[email protected]> and subject line Bug#861262: fixed in sphinxsearch 2.2.11-5 has caused the Debian Bug report #861262, regarding sphinxsearch: service restart on upgrades or otherwise always fails 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.) -- 861262: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861262 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: sphinxsearch Version: 2.2.11-1.1 Severity: important Every time something tries to restart sphinxsearch, it fails, leaving the sphinxsearch service in a failed state and the daemon not running. This happens on package upgrades, or restarts for library upgrades, or restarts for config changes, or anything that tries to restart sphinxsearch. It looks like the stop request returns before it is actually stopped, which causes the following start request to fail because the old copy is still running. One thing I notice once it's up and running is that the PID in /var/run/sphinxsearch/searchd.pid is NOT the pid of the top level searchd process, but rather the PID of its immediate child. I'm not sure if there's a "supervisor" process being used here or what. Example flow: $ sudo service sphinxsearch restart Job for sphinxsearch.service failed because the control process exited with error code. See "systemctl status sphinxsearch.service" and "journalctl -xe" for details. $ sudo service sphinxsearch status ● sphinxsearch.service - LSB: Fast standalone full-text SQL search engine Loaded: loaded (/etc/init.d/sphinxsearch; generated; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2017-04-26 11:57:41 EDT; 3s ago Docs: man:systemd-sysv-generator(8) Process: 25416 ExecStop=/etc/init.d/sphinxsearch stop (code=exited, status=0/SUCCESS) Process: 25421 ExecStart=/etc/init.d/sphinxsearch start (code=exited, status=1/FAILURE) Tasks: 0 (limit: 4915) Memory: 4.7M CPU: 9ms CGroup: /system.slice/sphinxsearch.service Apr 26 11:57:41 hostname systemd[1]: Stopping LSB: Fast standalone full-text SQL search engine... Apr 26 11:57:41 hostname sphinxsearch[25416]: Stopping sphinxsearch: sphinxsearch. Apr 26 11:57:41 hostname systemd[1]: Stopped LSB: Fast standalone full-text SQL search engine. Apr 26 11:57:41 hostname systemd[1]: Starting LSB: Fast standalone full-text SQL search engine... Apr 26 11:57:41 hostname sphinxsearch[25421]: Starting sphinxsearch: /usr/bin/searchd already running. Apr 26 11:57:41 hostname systemd[1]: sphinxsearch.service: Control process exited, code=exited status=1 Apr 26 11:57:41 hostname systemd[1]: Failed to start LSB: Fast standalone full-text SQL search engine. Apr 26 11:57:41 hostname systemd[1]: sphinxsearch.service: Unit entered failed state. Apr 26 11:57:41 hostname systemd[1]: sphinxsearch.service: Failed with result 'exit-code'. $ sudo service sphinxsearch restart $ sudo service sphinxsearch status ● sphinxsearch.service - LSB: Fast standalone full-text SQL search engine Loaded: loaded (/etc/init.d/sphinxsearch; generated; vendor preset: enabled) Active: active (running) since Wed 2017-04-26 11:57:55 EDT; 3min 14s ago Docs: man:systemd-sysv-generator(8) Process: 25416 ExecStop=/etc/init.d/sphinxsearch stop (code=exited, status=0/SUCCESS) Process: 25443 ExecStart=/etc/init.d/sphinxsearch start (code=exited, status=0/SUCCESS) Tasks: 8 (limit: 4915) Memory: 11.4M CPU: 225ms CGroup: /system.slice/sphinxsearch.service ├─25447 /usr/bin/searchd └─25448 /usr/bin/searchd Apr 26 11:57:55 hostname sphinxsearch[25443]: Sphinx 2.2.11-id64-release (95ae9a6) Apr 26 11:57:55 hostname sphinxsearch[25443]: Copyright (c) 2001-2016, Andrew Aksyonoff Apr 26 11:57:55 hostname sphinxsearch[25443]: Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com) Apr 26 11:57:55 hostname sphinxsearch[25443]: precaching index 'wiki_main' Apr 26 11:57:55 hostname sphinxsearch[25443]: [249B blob data] Apr 26 11:57:55 hostname sphinxsearch[25443]: [250B blob data] Apr 26 11:57:55 hostname sphinxsearch[25443]: Copyright (c) 2001-2016, Andrew Aksyonoff Apr 26 11:57:55 hostname sphinxsearch[25443]: Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com) Apr 26 11:57:55 hostname sphinxsearch[25443]: sphinxsearch. Apr 26 11:57:55 hostname systemd[1]: Started LSB: Fast standalone full-text SQL search engine. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-2-amd64 (SMP w/12 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages sphinxsearch depends on: ii adduser 3.115 ii libc6 2.24-9 ii libexpat1 2.2.0-2 ii libgcc1 1:6.3.0-14 ii libmariadbclient18 10.1.22-3 ii libpq5 9.6.2-2 ii libstdc++6 6.3.0-14 ii libstemmer0d 0+svn585-1+b2 ii zlib1g 1:1.2.8.dfsg-5 sphinxsearch recommends no packages. sphinxsearch suggests no packages. -- Configuration Files: /etc/cron.d/sphinxsearch changed [not included] /etc/default/sphinxsearch changed [not included] -- no debconf information
--- End Message ---
--- Begin Message ---Source: sphinxsearch Source-Version: 2.2.11-5 Done: Andrej Shadura <[email protected]> We believe that the bug you reported is fixed in the latest version of sphinxsearch, 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. Andrej Shadura <[email protected]> (supplier of updated sphinxsearch 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: Fri, 03 Dec 2021 10:41:03 +0100 Source: sphinxsearch Architecture: source Version: 2.2.11-5 Distribution: unstable Urgency: medium Maintainer: Andrej Shadura <[email protected]> Changed-By: Andrej Shadura <[email protected]> Closes: 656326 772370 861262 871944 939763 Changes: sphinxsearch (2.2.11-5) unstable; urgency=medium . * New maintainer (Closes: #939763). * Add gbp.conf. * Convert copyright file to machine-readable format. * Add exclusions for current and future releases. * Simplify the init script (Closes: #861262, #772370, #656326). * Fix the crontab user (Closes: #656326). * Update the sample/minimal conf files to match installation paths. * Don't install an extra copy of the configuration sample. * debian/copyright: use spaces rather than tabs to start continuation lines. * Set Standards-Version: 4.6.0. * Drop B-D on dh-autoreconf, autotools-dev and adduser. * Enable re2 support. * Move the example.sql to /usr/share/doc (Closes: #871944). Checksums-Sha1: 8bac5c0abc5e0fccd053f8951695c1821d5cada3 1453 sphinxsearch_2.2.11-5.dsc 2f581af4f6e7fd051e4d31a580225d35801126e4 16816 sphinxsearch_2.2.11-5.debian.tar.xz Checksums-Sha256: e02f2339e87ff419ed86ac676ecc178b0c8bbde78fc83b6fe50df9213d331bfa 1453 sphinxsearch_2.2.11-5.dsc 560d216482ef2f96d2f1570abbe112e4984758dc28008155b9b703ef860c7eed 16816 sphinxsearch_2.2.11-5.debian.tar.xz Files: d4b1ac04a5e83c3670219106706feb39 1453 misc optional sphinxsearch_2.2.11-5.dsc 870bc8f3c0b711f7276265e7c336c99c 16816 misc optional sphinxsearch_2.2.11-5.debian.tar.xz -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCYanpSQAKCRDoRGtKyMdy YfyXAP9cLvrBstyzrkWFSGqSuitY5DfxKvQRCd4Lt2LPOhMQnAEA4h5eAJ56U+vr klFVv/KBHCsbPweDegj2TJ6YIS+Fiwg= =QxDx -----END PGP SIGNATURE-----
--- End Message ---

