2020-09-04 18:51:31 |
Usarin Heininga |
bug |
|
|
added bug |
2020-09-04 18:51:31 |
Usarin Heininga |
attachment added |
|
zfs_patch https://bugs.launchpad.net/bugs/1894329/+attachment/5407720/+files/zfs_patch |
|
2020-09-04 19:09:31 |
Usarin Heininga |
attachment added |
|
IMG_20200904_130202967.jpg https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1894329/+attachment/5407726/+files/IMG_20200904_130202967.jpg |
|
2020-09-04 19:09:58 |
Usarin Heininga |
attachment added |
|
IMG_20200904_114219409.jpg https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1894329/+attachment/5407727/+files/IMG_20200904_114219409.jpg |
|
2020-09-04 20:26:19 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug groovy |
amd64 apport-bug groovy patch |
|
2020-09-04 20:26:25 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2020-09-05 05:05:12 |
Richard Laager |
bug |
|
|
added subscriber Didier Roche |
2020-09-05 07:21:09 |
Jean-Baptiste Lallement |
bug |
|
|
added subscriber Jean-Baptiste Lallement |
2020-09-08 09:44:37 |
Colin Ian King |
bug task added |
|
coreutils (Ubuntu) |
|
2020-09-08 09:44:42 |
Colin Ian King |
coreutils (Ubuntu): importance |
Undecided |
High |
|
2020-09-08 09:45:45 |
Colin Ian King |
description |
When I try to revert to a previous state from the grub menu, the boot fails. The system drops me to a repair modus.
zfs-mount-generator fails with the message:
couldn't ensure boot: Mounted clone bootFS dataset created by initramfs doesn't have a valid _suffix (at least .*_<onechar>): \"rpool/ROOT/ubuntu_\"".
After a reboot I have an extra clone called "rpool/ROOT/ubuntu_", indeed without a suffix.
After a little investigation I found the problem in /usr/share/initramfs-tools/scripts/zfs at the end in function
uid()
{
dd if=/dev/urandom of=/dev/stdout bs=1 count=100 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
}, the dd command fails during boot with the message "process 'dd' started with executable stack.
After this an empty uid is returned which explains the dataset without a proper suffix.
Replacing the function with:
uid()
{
grep -a -m10 -E "\*" /dev/urandom 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
}
fixes the problem.
Ubuntu version is:
Description: Ubuntu Groovy Gorilla (development branch)
Release: 20.10
zfs-initramfs version is:
0.8.4-1ubuntu11
With regards,
Usarin Heininga
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: zfs-initramfs 0.8.4-1ubuntu11
ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4
Uname: Linux 5.8.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Fri Sep 4 20:23:44 2020
InstallationDate: Installed on 2020-09-02 (2 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200831)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=nl_NL.UTF-8
SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install) |
@coreutils maintainers, any idea why dd is being flagged as having an executable stack?
--------------------
When I try to revert to a previous state from the grub menu, the boot fails. The system drops me to a repair modus.
zfs-mount-generator fails with the message:
couldn't ensure boot: Mounted clone bootFS dataset created by initramfs doesn't have a valid _suffix (at least .*_<onechar>): \"rpool/ROOT/ubuntu_\"".
After a reboot I have an extra clone called "rpool/ROOT/ubuntu_", indeed without a suffix.
After a little investigation I found the problem in /usr/share/initramfs-tools/scripts/zfs at the end in function
uid()
{
dd if=/dev/urandom of=/dev/stdout bs=1 count=100 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
}, the dd command fails during boot with the message "process 'dd' started with executable stack.
After this an empty uid is returned which explains the dataset without a proper suffix.
Replacing the function with:
uid()
{
grep -a -m10 -E "\*" /dev/urandom 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
}
fixes the problem.
Ubuntu version is:
Description: Ubuntu Groovy Gorilla (development branch)
Release: 20.10
zfs-initramfs version is:
0.8.4-1ubuntu11
With regards,
Usarin Heininga
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: zfs-initramfs 0.8.4-1ubuntu11
ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4
Uname: Linux 5.8.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Fri Sep 4 20:23:44 2020
InstallationDate: Installed on 2020-09-02 (2 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200831)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=nl_NL.UTF-8
SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2020-09-08 09:46:13 |
Colin Ian King |
zfs-linux (Ubuntu): status |
New |
Confirmed |
|
2020-09-08 09:46:16 |
Colin Ian King |
zfs-linux (Ubuntu): status |
Confirmed |
Triaged |
|
2020-09-08 09:46:23 |
Colin Ian King |
coreutils (Ubuntu): status |
New |
Incomplete |
|
2020-09-08 09:47:20 |
Colin Ian King |
bug task added |
|
zsys (Ubuntu) |
|
2020-09-08 09:47:30 |
Colin Ian King |
zsys (Ubuntu): importance |
Undecided |
High |
|
2020-09-10 09:22:46 |
Jean-Baptiste Lallement |
zsys (Ubuntu): status |
New |
Invalid |
|
2020-11-09 09:15:57 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu): importance |
Undecided |
High |
|
2020-11-09 09:16:01 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu): status |
Triaged |
In Progress |
|
2020-11-09 09:16:05 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu): assignee |
|
Jean-Baptiste Lallement (jibel) |
|
2020-11-09 09:16:31 |
Jean-Baptiste Lallement |
nominated for series |
|
Ubuntu Groovy |
|
2020-11-09 09:16:31 |
Jean-Baptiste Lallement |
bug task added |
|
coreutils (Ubuntu Groovy) |
|
2020-11-09 09:16:31 |
Jean-Baptiste Lallement |
bug task added |
|
zfs-linux (Ubuntu Groovy) |
|
2020-11-09 09:16:31 |
Jean-Baptiste Lallement |
bug task added |
|
zsys (Ubuntu Groovy) |
|
2020-11-09 09:16:31 |
Jean-Baptiste Lallement |
nominated for series |
|
Ubuntu Focal |
|
2020-11-09 09:16:31 |
Jean-Baptiste Lallement |
bug task added |
|
coreutils (Ubuntu Focal) |
|
2020-11-09 09:16:31 |
Jean-Baptiste Lallement |
bug task added |
|
zfs-linux (Ubuntu Focal) |
|
2020-11-09 09:16:31 |
Jean-Baptiste Lallement |
bug task added |
|
zsys (Ubuntu Focal) |
|
2020-11-09 09:16:41 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu Focal): status |
New |
Triaged |
|
2020-11-09 09:16:45 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu Groovy): status |
New |
Triaged |
|
2020-11-09 09:16:47 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu Focal): importance |
Undecided |
High |
|
2020-11-09 09:16:50 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu Groovy): importance |
Undecided |
High |
|
2020-11-09 09:16:53 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu Focal): assignee |
|
Jean-Baptiste Lallement (jibel) |
|
2020-11-09 09:16:56 |
Jean-Baptiste Lallement |
zfs-linux (Ubuntu Groovy): assignee |
|
Jean-Baptiste Lallement (jibel) |
|
2020-11-09 09:17:27 |
Launchpad Janitor |
coreutils (Ubuntu Focal): status |
New |
Confirmed |
|
2020-11-09 09:17:27 |
Launchpad Janitor |
zsys (Ubuntu Focal): status |
New |
Confirmed |
|
2020-11-09 09:17:27 |
Launchpad Janitor |
coreutils (Ubuntu Groovy): status |
New |
Confirmed |
|
2020-11-09 09:17:27 |
Launchpad Janitor |
zsys (Ubuntu Groovy): status |
New |
Confirmed |
|
2020-11-09 11:54:53 |
Arvydas Ramanauskas |
bug |
|
|
added subscriber Arvydas Ramanauskas |
2020-11-09 22:32:07 |
Sebastien Bacher |
zsys (Ubuntu Focal): status |
Confirmed |
Invalid |
|
2020-11-09 22:32:10 |
Sebastien Bacher |
zsys (Ubuntu Groovy): status |
Confirmed |
Invalid |
|
2020-11-09 22:32:13 |
Sebastien Bacher |
coreutils (Ubuntu Focal): status |
Confirmed |
Incomplete |
|
2020-11-09 22:32:15 |
Sebastien Bacher |
coreutils (Ubuntu Groovy): status |
Confirmed |
Incomplete |
|
2020-11-10 05:51:15 |
Jean-Baptiste Lallement |
bug task deleted |
zsys (Ubuntu) |
|
|
2020-11-10 05:51:33 |
Jean-Baptiste Lallement |
bug task deleted |
zsys (Ubuntu Groovy) |
|
|
2020-11-10 05:51:39 |
Jean-Baptiste Lallement |
bug task deleted |
zsys (Ubuntu Focal) |
|
|
2020-11-10 13:59:43 |
Jean-Baptiste Lallement |
attachment added |
|
zfs-linux_0.8.4-1ubuntu13_0.8.4-1ubuntu14.debdiff https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1894329/+attachment/5433026/+files/zfs-linux_0.8.4-1ubuntu13_0.8.4-1ubuntu14.debdiff |
|
2020-11-10 15:16:30 |
Jean-Baptiste Lallement |
attachment added |
|
zfs-linux_0.8.4-1ubuntu11_0.8.4-1ubuntu11.1.debdiff https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1894329/+attachment/5433041/+files/zfs-linux_0.8.4-1ubuntu11_0.8.4-1ubuntu11.1.debdiff |
|
2020-11-10 15:29:38 |
Jean-Baptiste Lallement |
attachment added |
|
zfs-linux_0.8.3-1ubuntu12.4_0.8.3-1ubuntu12.5.debdiff https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1894329/+attachment/5433047/+files/zfs-linux_0.8.3-1ubuntu12.4_0.8.3-1ubuntu12.5.debdiff |
|
2020-11-16 11:05:36 |
Launchpad Janitor |
zfs-linux (Ubuntu): status |
In Progress |
Fix Released |
|
2020-11-27 12:54:44 |
Didier Roche-Tolomelli |
description |
@coreutils maintainers, any idea why dd is being flagged as having an executable stack?
--------------------
When I try to revert to a previous state from the grub menu, the boot fails. The system drops me to a repair modus.
zfs-mount-generator fails with the message:
couldn't ensure boot: Mounted clone bootFS dataset created by initramfs doesn't have a valid _suffix (at least .*_<onechar>): \"rpool/ROOT/ubuntu_\"".
After a reboot I have an extra clone called "rpool/ROOT/ubuntu_", indeed without a suffix.
After a little investigation I found the problem in /usr/share/initramfs-tools/scripts/zfs at the end in function
uid()
{
dd if=/dev/urandom of=/dev/stdout bs=1 count=100 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
}, the dd command fails during boot with the message "process 'dd' started with executable stack.
After this an empty uid is returned which explains the dataset without a proper suffix.
Replacing the function with:
uid()
{
grep -a -m10 -E "\*" /dev/urandom 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
}
fixes the problem.
Ubuntu version is:
Description: Ubuntu Groovy Gorilla (development branch)
Release: 20.10
zfs-initramfs version is:
0.8.4-1ubuntu11
With regards,
Usarin Heininga
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: zfs-initramfs 0.8.4-1ubuntu11
ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4
Uname: Linux 5.8.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Fri Sep 4 20:23:44 2020
InstallationDate: Installed on 2020-09-02 (2 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200831)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=nl_NL.UTF-8
SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
* Users can’t revert to previous snapshots when enabling the hw enablement stack kernel on focal or using any more recent version.
* The option is available on grub and will let you with a broken system, partially cloned.
[Test Case]
* Boot on a system, using ZFS and ZSys.
* In grub, select "History" entry
* Select one of the "Revert" option: the system should boot after being reverted with an older version.
[Where problems could occur]
* The code is in the initramfs, where the generated id suffix for all our ZFS datasets was empty due to new coreutils/kernels.
* We replace dd with another way (more robust and simple) for generating this ID.
---------------------
@coreutils maintainers, any idea why dd is being flagged as having an executable stack?
--------------------
When I try to revert to a previous state from the grub menu, the boot fails. The system drops me to a repair modus.
zfs-mount-generator fails with the message:
couldn't ensure boot: Mounted clone bootFS dataset created by initramfs doesn't have a valid _suffix (at least .*_<onechar>): \"rpool/ROOT/ubuntu_\"".
After a reboot I have an extra clone called "rpool/ROOT/ubuntu_", indeed without a suffix.
After a little investigation I found the problem in /usr/share/initramfs-tools/scripts/zfs at the end in function
uid()
{
dd if=/dev/urandom of=/dev/stdout bs=1 count=100 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
}, the dd command fails during boot with the message "process 'dd' started with executable stack.
After this an empty uid is returned which explains the dataset without a proper suffix.
Replacing the function with:
uid()
{
grep -a -m10 -E "\*" /dev/urandom 2>/dev/null | tr -dc 'a-z0-9' | cut -c-6
}
fixes the problem.
Ubuntu version is:
Description: Ubuntu Groovy Gorilla (development branch)
Release: 20.10
zfs-initramfs version is:
0.8.4-1ubuntu11
With regards,
Usarin Heininga
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: zfs-initramfs 0.8.4-1ubuntu11
ProcVersionSignature: Ubuntu 5.8.0-18.19-generic 5.8.4
Uname: Linux 5.8.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Fri Sep 4 20:23:44 2020
InstallationDate: Installed on 2020-09-02 (2 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200831)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=nl_NL.UTF-8
SHELL=/bin/bash
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2020-11-27 12:55:15 |
Didier Roche-Tolomelli |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-11-30 20:41:58 |
Timo Aaltonen |
zfs-linux (Ubuntu Groovy): status |
Triaged |
Fix Committed |
|
2020-11-30 20:42:02 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2020-11-30 20:43:05 |
Timo Aaltonen |
zfs-linux (Ubuntu Focal): status |
Triaged |
Fix Committed |
|
2020-12-01 22:58:12 |
Simon May |
bug |
|
|
added subscriber Simon May |
2020-12-05 10:08:52 |
Jan |
bug |
|
|
added subscriber Jan Hnatek |
2021-01-17 09:52:38 |
Mathew Hodson |
tags |
amd64 apport-bug groovy patch |
amd64 apport-bug groovy patch verification-done-groovy verification-needed-focal |
|
2021-01-17 09:52:56 |
Mathew Hodson |
bug |
|
|
added subscriber Mathew Hodson |
2021-01-18 09:45:50 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-01-18 09:55:53 |
Launchpad Janitor |
zfs-linux (Ubuntu Groovy): status |
Fix Committed |
Fix Released |
|
2021-01-29 19:07:11 |
Colin Ian King |
tags |
amd64 apport-bug groovy patch verification-done-groovy verification-needed-focal |
amd64 apport-bug groovy patch verification-done-focal verification-done-groovy |
|
2021-02-01 08:21:09 |
Launchpad Janitor |
zfs-linux (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-02-01 21:05:00 |
Mathew Hodson |
bug task deleted |
coreutils (Ubuntu Groovy) |
|
|
2021-02-01 21:05:06 |
Mathew Hodson |
bug task deleted |
coreutils (Ubuntu Focal) |
|
|
2021-02-01 21:05:12 |
Mathew Hodson |
bug task deleted |
coreutils (Ubuntu) |
|
|
2021-02-01 21:05:16 |
Mathew Hodson |
removed subscriber Mathew Hodson |
|
|
|