Bug#773731: LVM cached volumes fail to activate at boot without cache_check on bullseye
Dear Maintainer, I encountered this bug when I upgraded my system from buster to bullseye, causing my system to be unable to boot without manual intervention. I also reproduced the bug in a fresh bullseye install. When I originally installed buster I used guided partitioning with LVM, which resulted in the lvm2 package being installed but not its recommended thin-provisioning-tools. While on buster I configured a volume (/home) to have a cache pool following the steps in lvmcache(7). The system booted with the cached volume available without /usr/sbin/cache_check from thin-provisioning-tools. After upgrading my system to bullseye and rebooting, my cached volume could not be mounted at home and I was asked to enter the root password for the emergency mode maintenance shell. "lvconvert --splitcache vg/cached_lv" would allow me to reboot with the now uncached volume once again activated on boot. Alternatively I could "lvchange -ay vg/cached_lv" at the emergency mode root shell, which would produce the error: /usr/sbin/cache_check: execvp failed: No such file or directory WARNING: Check is skipped, please install recommended missing binary /usr/sbin/cache_check! After manually activating the volume "systemctl default" would continue booting normally. I also encountered this bug on a fresh install of bullseye in a virtual machine. Steps to reproduce (demonstrated using two virtio drives): * Requires two drives * Install bullseye from debian-testing-amd64-netinst.iso from 2021-04- 12 * Guided partitioning with LVM, separate /home * SSH and standard tasks root@lvmtest:~# fdisk /dev/vdb # Create GPT partition table and /dev/vdb1 as type Linux LVM root@lvmtest:~# pvcreate /dev/vdb1 Physical volume "/dev/vdb1" successfully created. root@lvmtest:~# vgextend lvmtest-vg /dev/vdb1 Volume group "lvmtest-vg" successfully extended root@lvmtest:~# lvcreate -n cachehome -L 32g lvmtest-vg Logical volume "cachehome" created. root@lvmtest:~# lvconvert --type cache --cachepool cachehome lvmtest- vg/home WARNING: Converting lvmtest-vg/cachehome to cache pool's data volume with metadata wiping. THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.) Do you really want to convert lvmtest-vg/cachehome? [y/n]: y Converted lvmtest-vg/cachehome to cache pool. Logical volume lvmtest-vg/home is now cached. * Reboot will bring system into emergency mode because /home cannot be mounted. The lvm2 package was again installed by the bullseye debian-installer because of the guided partitioning choice, but without its recommended thin-provisioning-tools which contains /usr/sbin/cache_check. I think that activating cached volumes on boot was working during buster is related to this line from /usr/share/doc/lvm2/changelog.gz: Version 2.02.178-rc1 - 24th May 2018 … Allow activation of pools when thin/cache_check tool is missing. However this seems to be no longer the case on bullseye, at least automatically at boot. This may warrant a warning in the bullseye release notes as systems using lvmcache on buster without thin-provisioning-tools installed will not boot properly after upgrading to bullseye. Thanks, Jeremy McNaughton
Bug#909063: apacheds: package installation fails due to incorrect apacheds.service unit
Package: apacheds Version: 2.0.0~M15-4 Severity: grave Justification: renders package unusable Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** I am unable to install the apacheds package. The installation fails when dpkg attempts to start the service due to incorrect ExecStart= directives in the apacheds.service system unit. I have tried on both stretch and buster, the same problem happens on both. Below I have included the complete output of the apt-get command used, as well as the output of "journalctl -u apacheds.service" after the package failed to install. *** apt-get-install-apacheds.txt root@ldap01:~# apt-get install apacheds Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ant ant-optional ca-certificates-java default-jre-headless fontconfig-config fonts-dejavu-core java-common junit4 libantlr-java libapache-directory-api-java libapache-directory-jdbm-java libapache-pom-java libapacheds-i18n-java libapacheds-java libapacheds-kerberos-codec-java libavahi-client3 libavahi-common-data libavahi-common3 libbcprov-java libcommons-collections3-java libcommons-io-java libcommons-lang-java libcommons-logging-java libcommons-parent-java libcommons-pool-java libcups2 libdom4j-java libehcache-java libfontconfig1 libhamcrest-java libisorelax-java libjaxen-java libjaxp1.3-java libjdom1-java libjetty9-java libjpeg62-turbo liblcms2-2 liblog4j1.2-java libmavibot-java libmina2-java libmsv-java libnspr4 libnss3 libpcsclite1 librelaxng-datatype-java libservlet3.1-java libslf4j-java libxerces2-java libxi6 libxml-commons-external-java libxml-commons-resolver1.1-java libxom-java libxpp2-java libxpp3-java libxrender1 libxtst6 openjdk-8-jre-headless x11-common Suggested packages: ant-doc ant-gcj default-jdk | java-compiler | java-sdk ant-optional-gcj antlr javacc junit jython libbcel-java libbsf-java libcommons-net-java libmail-java libjdepend-java libjsch-java liboro-java libregexp-java libxalan2-java default-jre libbcprov-java-doc libcommons-collections3-java-doc libcommons-io-java-doc libcommons-lang-java-doc libavalon-framework-java libcommons-logging-java-doc libexcalibur-logkit-java cups-common libdom4j-java-doc libjaxp1.3-java-gcj libjdom1-java-doc jetty9 liblcms2-utils liblog4j1.2-java-doc libmina-java-doc libspring-beans-java libjzlib-java libognl-java libtomcat8-java pcscd libxerces2-java-doc libxerces2-java-gcj libxml-commons-resolver1.1-java-doc libxom-java-doc libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei fonts-indic The following NEW packages will be installed: ant ant-optional apacheds ca-certificates-java default-jre-headless fontconfig-config fonts-dejavu-core java-common junit4 libantlr-java libapache-directory-api-java libapache-directory-jdbm-java libapache-pom-java libapacheds-i18n-java libapacheds-java libapacheds-kerberos-codec-java libavahi-client3 libavahi-common-data libavahi-common3 libbcprov-java libcommons-collections3-java libcommons-io-java libcommons-lang-java libcommons-logging-java libcommons-parent-java libcommons-pool-java libcups2 libdom4j-java libehcache-java libfontconfig1 libhamcrest-java libisorelax-java libjaxen-java libjaxp1.3-java libjdom1-java libjetty9-java libjpeg62-turbo liblcms2-2 liblog4j1.2-java libmavibot-java libmina2-java libmsv-java libnspr4 libnss3 libpcsclite1 librelaxng-datatype-java libservlet3.1-java libslf4j-java libxerces2-java libxi6 libxml-commons-external-java libxml-commons-resolver1.1-java libxom-java libxpp2-java libxpp3-java libxrender1 libxtst6 openjdk-8-jre-headless x11-common 0 upgraded, 59 newly installed, 0 to remove and 1 not upgraded. Need to get 53.3 MB of archives. After this operation, 141 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://deb.debian.org/debian stretch/main amd64 libnspr4 amd64 2:4.12-6 [117 kB] Get:2 http://deb.debian.org/debian stretch/main amd64 libnss3 amd64 2:3.26.2-1.1+deb9u1 [1,161 kB] Get:3 http://deb.debian.org/debian stretch/main amd64 ca-certificates-java all 20170531+nmu1 [14.7 kB] Get:4 http://deb.debian.org/debian stretch/main amd64 java-common all 0.58 [13.5 kB] Get:5 http://deb.debian.org/debian stretch/main amd64 libavahi-common-data amd64 0.6.32-2 [118 kB] Get:6 http://deb.debian.org/debian stretch/main amd64 libavahi-common3 amd64 0.6.32-2 [52.0 kB] Get:7 http://deb.debian.org/debian stretch/main amd64 libavahi-client3 amd64 0.6.32-2 [55.3 kB] Get:8 http://deb.debian.org/debian stretch/main amd64 libjpeg62-turbo amd64 1:1.5.1-2 [134 kB] Get:9 htt
Bug#870032: 389-admin: Package installation fails after dirsrv-admin.service fails to start
Package: 389-admin Version: 1.1.43-1+b1 Severity: grave Justification: renders package unusable Dear Maintainer, I attempted to install 389-ds which installs 389-admin as a dependency. During the installation dirsrv-admin.service fails to start with the result that the following packages fail to install: iF 389-admin 1.1.43-1+b1 iU 389-ds1.3.5.17-2 iU 389-ds-console1.2.16-1 iU 389-dsgw 1.1.11-2+b3 The configuration files listed below with permission errors are the ones that would be installed by the package, I can send those if they would be useful. dirsrv-admin.service fails to start because the directory /var/log/dirsrv/admin-serv does not exist. If I create this directory with the same ownership and permissions it would have in jessie (389-admin 1.1.35-2) I am still unable to start the service, but I do get messages in /var/log/dirsrv/admin-serv/error. I've included the transcript of installing the package, systemctl status output, journalctl output, the above mentioned admin-serv/error and the transcript of me creating that directory and attempting to start the service below what reportbug has prepared. The end result is that the software does not start, and the system has packages that dpkg cannot finish configuring. -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages 389-admin depends on: ii 389-ds-base1.3.5.17-2 ii apache22.4.25-3+deb9u2 ii debconf [debconf-2.0] 1.5.61 ii init-system-helpers1.48 ii libadminutil0 1.1.23-1 ii libapache2-mod-nss 1.0.14-1+b1 ii libc6 2.24-11+deb9u1 ii libcgi-pm-perl 4.35-1 ii libds-admin-serv0 1.1.43-1+b1 ii libldap-2.4-2 2.4.44+dfsg-5 ii libmozilla-ldap-perl 1.5.3-2+b3 ii libnspr4 2:4.12-6 ii libnss32:3.26.2-1.1 ii libnss3-tools 2:3.26.2-1.1 389-admin recommends no packages. 389-admin suggests no packages. -- Configuration Files: /etc/dirsrv/admin-serv/admserv.conf [Errno 13] Permission denied: '/etc/dirsrv/admin-serv/admserv.conf' /etc/dirsrv/admin-serv/console.conf [Errno 13] Permission denied: '/etc/dirsrv/admin-serv/console.conf' /etc/dirsrv/admin-serv/httpd.conf [Errno 13] Permission denied: '/etc/dirsrv/admin-serv/httpd.conf' /etc/dirsrv/admin-serv/nss.conf [Errno 13] Permission denied: '/etc/dirsrv/admin-serv/nss.conf' -- no debconf information --- Transcript from apt-get root@ldap01:~# apt-get install 389-ds Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: 389-admin 389-admin-console 389-ds-base 389-ds-base-libs 389-ds-console 389-ds-console-doc 389-dsgw acl apache2 apache2-bin apache2-data apache2-utils ldap-utils libadminutil-data libadminutil0 libapache2-mod-nss libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcgi-fast-perl libcgi-pm-perl libds-admin-serv0 libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblua5.2-0 liblwp-mediatypes-perl libmozilla-ldap-perl libnetaddr-ip-perl libnss3-tools libpci3 libperl4-corelibs-perl libperl5.24 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libsasl2-modules-gssapi-mit libsnmp-base libsnmp30 libsocket-getaddrinfo-perl libsocket6-perl libsvrcore0 libtimedate-perl liburi-perl perl perl-modules-5.24 python python-minimal python2.7 python2.7-minimal rename ssl-cert Suggested packages: www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom libdata-dump-perl snmp-mibs-downloader dnsutils libwww-perl perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make python-doc python-tk python2.7-doc binutils binfmt-support openssl-blacklist The following NEW packages will be installed: 389-admin 389-admin-console 389-ds 389-ds-base 389-ds-base-libs 389-ds-console 389-ds-console-doc 389-dsgw acl apache2 apache2-bin apache2-data apache2-utils ldap-utils libadminutil-data libadminutil0 libapache2-mod-nss libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcgi-fast-perl libcgi-pm-perl libds-admin-serv0 libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblua5.2-0 liblwp-mediatypes-perl libmozilla-ldap-perl libnetaddr-ip-perl libnss3-tools libpci3 libperl4-corelibs-perl libperl5.24 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libsasl2-modules-gssapi-mit libsnmp-base libsnmp30 libsocket-getaddrinfo-perl