Your message dated Mon, 01 Jun 2015 11:53:01 +0000
with message-id <[email protected]>
and subject line Bug#787367: fixed in systemd 220-3
has caused the Debian Bug report #787367,
regarding bcache-tools: bcache array undetected by probe and does not appear in 
/dev/disk/by-uuid thus breaking boot
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.)


-- 
787367: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787367
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bcache-tools
Version: 1.0.7-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

This morning, due to a resume failure, I discovered my system
unbootable. I have root on a bcache array and initramfs was unable to
find the array by uuid.

# blkid /dev/bcache0
/dev/bcache0: LABEL="ROOT" UUID="99af68b8-58f6-4329-94a8-c54fbf0e9364" 
TYPE="ext4"

# lsblk -o NAME,MAJ:MIN,RM,SIZE,TYPE,FSTYPE,MOUNTPOINT,UUID,PARTUUID
NAME        MAJ:MIN RM   SIZE TYPE  FSTYPE      MOUNTPOINT UUID                 
                PARTUUID
sda           8:0    0 238.5G disk                                              
                
├─sda1        8:1    0   1.9G part  ext4        /boot      
3483abf0-06d1-43bb-8982-a472d290bae7 40579936-01
├─sda2        8:2    0     1K part                                              
                40579936-02
├─sda5        8:5    0  14.9G part  swap        [SWAP]     
78e5304e-d5ad-486f-b3de-fc8e0022832c 40579936-05
├─sda6        8:6    0  14.9G part  ext4        /tmp       
4dcf9f94-1fcd-470b-9867-222722add442 40579936-06
└─sda7        8:7    0 206.8G part  bcache                 
81035a2f-26fc-4546-abae-90d79d2224e4 40579936-07
  └─bcache0 254:0    0   1.8T disk  ext4        /          
99af68b8-58f6-4329-94a8-c54fbf0e9364 
sdb           8:16   0   1.8T disk                                              
                
└─sdb1        8:17   0   1.8T part  linux_raid_            
9d8dceb3-1e4d-9958-45a2-7efb6656bbff fed0dc65-01
  └─md2       9:2    0   1.8T raid1 bcache                 
7ba33238-474f-4627-8654-78bf9e36049a 
    └─bcache0
            254:0    0   1.8T disk  ext4        /          
99af68b8-58f6-4329-94a8-c54fbf0e9364 
sdc           8:32   0   1.8T disk                                              
                
└─sdc1        8:33   0   1.8T part  linux_raid_            
9d8dceb3-1e4d-9958-45a2-7efb6656bbff 9b7690d0-01
  └─md2       9:2    0   1.8T raid1 bcache                 
7ba33238-474f-4627-8654-78bf9e36049a 
    └─bcache0
            254:0    0   1.8T disk  ext4        /          
99af68b8-58f6-4329-94a8-c54fbf0e9364 

Relevant entry in fstab is:
UUID=99af68b8-58f6-4329-94a8-c54fbf0e9364 /               ext4  
errors=remount-ro 0       1

This previously worked without problem. However, I now find the bcache
array missing in both /dev/disk/by-uuid and /dev/disk/by-label:

# ls /dev/disk/by-uuid/
3483abf0-06d1-43bb-8982-a472d290bae7
78e5304e-d5ad-486f-b3de-fc8e0022832c
81035a2f-26fc-4546-abae-90d79d2224e4
4dcf9f94-1fcd-470b-9867-222722add442
7ba33238-474f-4627-8654-78bf9e36049a

# ls /dev/disk/by-label/
BOOT  TMP

Now the bcache module is correctly being added to the initramfs, and
when initramfs barfs and drops me to a shell, both the underlying RAID
and the bcache array are running just fine - I can directly mount and
use the bcache array; i.e. it is not an issue with registration of
devices in the bcache array, or missing modules or anything like that.
Indeed, if in the initramfs shell I do a:

# cd /dev/disk/by-uuid
# ln -s ../../bcache0 99af68b8-58f6-4329-94a8-c54fbf0e9364
# exit

then the system boots up normally. I therefore believe the issue is
either in /lib/udev/probe-bcache or /lib/udev/rules.d/69-bcache.rules,
both of which are in this package.

Even when the system is fully booted, there is no correct entry in
/dev/disk/by-uuid and /dev/disk/by-label (i.e. the problem is not just
in initramfs).

As a temporary work around, I have changed my fstab to use /dev/bcache0
rather than the UUID and set GRUB_DISABLE_LINUX_UUID=true in
/etc/default/grub before running update-grub. This at least means my
system can boot.

Severity was chosen to be grave on the basis that this problem has
stopped my system from being bootable in both normal and recovery mode,
and I would guess would affect anyone using a bcache as their root.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bcache-tools depends on:
ii  initramfs-tools  0.120
ii  libblkid1        2.26.2-5
ii  libc6            2.19-18
ii  libuuid1         2.26.2-5

bcache-tools recommends no packages.

bcache-tools suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: systemd
Source-Version: 220-3

We believe that the bug you reported is fixed in the latest version of
systemd, 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.
Martin Pitt <[email protected]> (supplier of updated systemd 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, 01 Jun 2015 12:58:20 +0200
Source: systemd
Binary: systemd systemd-sysv libpam-systemd libnss-myhostname libnss-mymachines 
libsystemd0 libsystemd-dev libsystemd-login-dev libsystemd-daemon-dev 
libsystemd-journal-dev libsystemd-id128-dev udev libudev1 libudev-dev udev-udeb 
libudev1-udeb python3-systemd systemd-dbg
Architecture: source amd64
Version: 220-3
Distribution: unstable
Urgency: medium
Maintainer: Debian systemd Maintainers 
<[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description:
 libnss-myhostname - nss module providing fallback resolution for the current 
hostname
 libnss-mymachines - nss module to resolve hostnames for local container 
instances
 libpam-systemd - system and service manager - PAM module
 libsystemd-daemon-dev - systemd utility library (transitional package)
 libsystemd-dev - systemd utility library - development files
 libsystemd-id128-dev - systemd 128 bit ID utility library (transitional 
package)
 libsystemd-journal-dev - systemd journal utility library (transitional package)
 libsystemd-login-dev - systemd login utility library (transitional package)
 libsystemd0 - systemd utility library
 libudev-dev - libudev development files
 libudev1   - libudev shared library
 libudev1-udeb - libudev shared library (udeb)
 python3-systemd - Python 3 bindings for systemd
 systemd    - system and service manager
 systemd-dbg - system and service manager (debug symbols)
 systemd-sysv - system and service manager - SysV links
 udev       - /dev/ and hotplug management daemon
 udev-udeb  - /dev/ and hotplug management daemon (udeb)
Closes: 787263 787343 787367
Changes:
 systemd (220-3) unstable; urgency=medium
 .
   * Fix ProtectSystem=yes to actually protect /usr, not /home.
     (Closes: #787343)
   * sd-device: fix device_get_properties_strv(). Fixes environment for
     processes spawned by udev, in particular "allow-hoplug" ifupdown
     interfaces via [email protected]. (Closes: #787263)
   * Ignore test failures on mipsel; the three failures are not reproducible on
     the porter box (different kernel?). (See #787258)
   * Add ifupdown-hotplug autopkgtest. Reproduces #787263.
   * udev: Bring back persistant storage symlinks for bcache. Thanks David
     Mohr! (Closes: #787367)
   * sd-device: Fix invalid property strv pointers. This unbreaks the
     environment of udev callouts.
Checksums-Sha1:
 6e987be0334bcde7aca6bdd7ca7d685f4451460e 3663 systemd_220-3.dsc
 a1d9cb58e87f13f8a7ce30aed233ab7e577fdc1f 154656 systemd_220-3.debian.tar.xz
 42b4c9b04a2ddd184c7913ca11aa4d0709fefbf8 61732 
libnss-myhostname_220-3_amd64.deb
 520b312bf04af7ee78faba2293e9fd76dec3cc70 141954 
libnss-mymachines_220-3_amd64.deb
 f1f1477405c464b30e51e95afc0135c27380a07b 146052 libpam-systemd_220-3_amd64.deb
 1565db2f701fea2072861024caff896d49ff3e2d 41032 
libsystemd-daemon-dev_220-3_amd64.deb
 069c212d2e29b25458b9cf312f41420a914931c9 107368 libsystemd-dev_220-3_amd64.deb
 914d0d57000d58ba2e31dd85223d64f6abc128bc 41004 
libsystemd-id128-dev_220-3_amd64.deb
 d4319523f92d9e3e4e1cd68ddf4453f0136ea693 41012 
libsystemd-journal-dev_220-3_amd64.deb
 46173f6cd8e1c537d8e66d3ade8d1568ba0698e7 41024 
libsystemd-login-dev_220-3_amd64.deb
 16ade82a1e5f21df43cf77c6630738f39eeba90e 107092 libsystemd0_220-3_amd64.deb
 d466287062588dbab01d7ef183a98b546eedb4a7 23028 libudev-dev_220-3_amd64.deb
 69ddd281c5f1bf9ed8cb219870c31d3476de30ff 46118 libudev1-udeb_220-3_amd64.udeb
 cb766eef58e4ac6baf7f51cadb67619a24feb5b2 87766 libudev1_220-3_amd64.deb
 bfc755e5028af7f78980534bc507e09602950c9f 73352 python3-systemd_220-3_amd64.deb
 f82633b4a911f1f586da1ff23ac105639c098b00 23662360 systemd-dbg_220-3_amd64.deb
 d5c0bbe6db2b22ed47a1b9ac3660a1247abc36ba 45666 systemd-sysv_220-3_amd64.deb
 de6c59b59e93015d7dd21153d99c3e1413729882 3535390 systemd_220-3_amd64.deb
 cf319afafb2e3607313e5ba4d433868457d54ab0 251704 udev-udeb_220-3_amd64.udeb
 5033a472ecd8ac77ef4921b0504426b98a22cbef 984712 udev_220-3_amd64.deb
Checksums-Sha256:
 d847b91a5d74a365a14f6d14bf4823ac28da2ed8912543efcc7cdf0d16aed78d 3663 
systemd_220-3.dsc
 731682043f1ab668af9aa9773ed68b421375df7d3fb318210cec5b5cbb8a23da 154656 
systemd_220-3.debian.tar.xz
 65babfdf96bb587b1c4d5bdb7170c841e5a32c6586c120b2154f2ae0f5572a1a 61732 
libnss-myhostname_220-3_amd64.deb
 df2da2048d36380f6535c0a6c42826bd783a17e2a9e945db2006b48884c832e8 141954 
libnss-mymachines_220-3_amd64.deb
 9bdb3deefd9522ed76229daff68ba43009fea19d8e599cb47a3962043b0be890 146052 
libpam-systemd_220-3_amd64.deb
 f13355c249da2688c4e43d16ca93499e55680977e21f9eda5056e25a6e04572e 41032 
libsystemd-daemon-dev_220-3_amd64.deb
 0e4d9701eef0e27abe6a6dd0350c7fa1048e1e4dbbe266d57b2200385a9d88f5 107368 
libsystemd-dev_220-3_amd64.deb
 0f3e003065658091fbba3a7e2374c22c676880ccb943b5f031689ac5f48de6ac 41004 
libsystemd-id128-dev_220-3_amd64.deb
 d53b56e5cfe7eb46ac023ad3e9108ade5b9e3b28aa75cd772078e12ff1a960ee 41012 
libsystemd-journal-dev_220-3_amd64.deb
 907f2f3784695794f5bd01bfcb20ff91c4c90ab62fc8f1987aaaf9bae7a440a0 41024 
libsystemd-login-dev_220-3_amd64.deb
 8b076545eec54c1ec4b2ffa70e9377f34c7cda10b5879ada053c7f9914472c5b 107092 
libsystemd0_220-3_amd64.deb
 040f5fa33bb97e3358a4a91ffcf2d6c97a16201a59294658b653d80391ce1057 23028 
libudev-dev_220-3_amd64.deb
 e5363dc209f5b820f2f77fb6786ceae9c198687b290c6712bc8131268c4a6b3b 46118 
libudev1-udeb_220-3_amd64.udeb
 27b53733f4cec22a7f8e298b49f4fbfecfd8d78a01710253948ff58afbf26f01 87766 
libudev1_220-3_amd64.deb
 dbdcd6351947840af968ca11abe3a97f1ba1728536afc2220649bb2e55e57f7b 73352 
python3-systemd_220-3_amd64.deb
 d9130ae8e22b2c2b5e0bdd43555b904228da7c68707f3771394f303b5dcfe7d5 23662360 
systemd-dbg_220-3_amd64.deb
 68e8770c14cf601281f84bc31d1fad59032d9c46d9e8a136a101610ba44832e6 45666 
systemd-sysv_220-3_amd64.deb
 4a1c28cad79b3de664d4fda58b18ee5aa609f4d92fac9b3e573c6db791952495 3535390 
systemd_220-3_amd64.deb
 5310fcdbd98e61824c2b85c9fe219e8b39df2f5d97afc77a0be674ab1e2d38fc 251704 
udev-udeb_220-3_amd64.udeb
 bc5dea05bec49c7332ae9765d3474572b229e48d9e1533965028a917ca2d5a66 984712 
udev_220-3_amd64.deb
Files:
 f96dc3bb33ad44042009f33f88bfda65 3663 admin optional systemd_220-3.dsc
 894251e698bb5b55d6fc5a966dc93078 154656 admin optional 
systemd_220-3.debian.tar.xz
 dae0d1b499a74d2165d61f03b7672e8a 61732 admin extra 
libnss-myhostname_220-3_amd64.deb
 bc7d81f5fdddb46a074fe4fc688a93f5 141954 admin extra 
libnss-mymachines_220-3_amd64.deb
 ec164830fc3e0fff3b34b48d402c35c1 146052 admin optional 
libpam-systemd_220-3_amd64.deb
 311250cfb755cfa7eef69b61109217d9 41032 oldlibs extra 
libsystemd-daemon-dev_220-3_amd64.deb
 5e836ce9089cb8c1dbf71c73bed99e24 107368 libdevel optional 
libsystemd-dev_220-3_amd64.deb
 1223e74be8cf1348c39ffab03d7899a3 41004 oldlibs extra 
libsystemd-id128-dev_220-3_amd64.deb
 0e9150a4a658a02caa489956152d19f6 41012 oldlibs extra 
libsystemd-journal-dev_220-3_amd64.deb
 e28dee0e22ce5d3fe910d576606c1112 41024 oldlibs extra 
libsystemd-login-dev_220-3_amd64.deb
 4b913fb2296b0dda45ce688c92c9e004 107092 libs optional 
libsystemd0_220-3_amd64.deb
 c94301b32aa14f4c266e3ad9208de9d3 23028 libdevel optional 
libudev-dev_220-3_amd64.deb
 1c14ac63030275ad6dba5a083344d676 46118 debian-installer optional 
libudev1-udeb_220-3_amd64.udeb
 e405a584306d3da7cd39cd55d557f2d0 87766 libs important libudev1_220-3_amd64.deb
 d56e4b997a4f8dff4d246291a67ab92f 73352 python optional 
python3-systemd_220-3_amd64.deb
 f49ffaee6fdaf0f220e013b55144a005 23662360 debug extra 
systemd-dbg_220-3_amd64.deb
 abf41a977d07ccfbf07f3f46d8cb11b9 45666 admin extra systemd-sysv_220-3_amd64.deb
 94839a1eeaa9942b61b0aa8c6267439d 3535390 admin optional systemd_220-3_amd64.deb
 99977e149ed5085c015aec20d354fda4 251704 debian-installer optional 
udev-udeb_220-3_amd64.udeb
 18de270bb514442d5a492bff01404dab 984712 admin important udev_220-3_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVbD/OAAoJENFO8V2v4RNHK6AP/iUPTrkUpJEFhnK/RqKjxDEg
ZDj8t3EwhZSdZLOp1V4eiifPQV+HYVexQrs4uFdHtRJ0usaI1vWIoUS+arYZngyN
uX2leOFPexM1se4Vizws3snWM3ffB7I8kmVF40uxgD5T/gED50Wzjd6CGjcnWx6C
3LitS6RN4b9L5qWR1r88si6eA4YI5y3to55b26W2wzhKu1XM9glepzO8DMZ9lYAu
9lKwr2PXAIsVeahXfJE27bYn9OSQ5OpdpJ5WXIqit6zliEunmo2HuzX8z0uVspzl
Hj/RX7wEhb/aUUi//ORPvDHITjWaLhxuuO9HeBzrpmkCVOjijf3MAIav4u7OMILd
p3e966m5T5sHkxM4jRook87WWtRIq+qWqV5BNEwq7aSny5qdEp6+71GM5lzF5oYU
Al8z2NEVcPb7zAJLbp0i6G38bFWxm9CLL5sKvXS6N9Rw/07e56oXlv8pWD/8mCXv
3fPSeiVKvHadjsrB9xc01HuJ7en2RA4TsLV0FE5zZotLhk+Dvx3eD1jBrgsIbZ0N
0YNhDQqWahNFIqtHXEuaWicibteMb8yEHGk1a2LGPCzPSsMxGFkDPkfPagtXuCv1
INycag1J/62vGAB4Wf/OeB0rBKrSw9PNoYNfmYgkaQFK1aAAVmyBOcfL/JNAcB6A
lsVpvGyE4kO0RJsVHOkh
=cNne
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to