[Touch-packages] [Bug 2063976] Re: Apparmor breaking nsjail in AOSP

2024-04-28 Thread John Johansen
running privileged applications out of home is dirty. But it is the
situation we are in with user namespaces and app images as well. Ubuntu
will not ship a profile for a privileged executable in the users home or
a writable location of an unprivileged user. As this can be leveraged to
by-pass the restriction, or it requires us to expand user mediation in
such a way that user writable locations with profiles defined become
privileged. Atm we are not adding addition restriction to the user. This
allows the user to define a profile that allows by-passing the
restriction. A user opting to create a profile in a user writable
location is less dangerous as the location becomes non-standard so it
becomes harder to exploit. It also requires the user to take a
deliberate privileged action to add the profile.

Generally for the nsjail profile an attachment like

  @{HOME}/android-*/prebuilts/build-tools/linux-x86/bin/nsjail

is slightly better, but still not great. Atm it is very close to the
same, but there are improvements coming that will tighten @{HOME} to a
user specific kernel variable which will be better than /**.

The other way to handle this would be setting the security xattr and
using that as part of the attachment.

```
  sudo setfattr -n security.apparmor -v nsjail
```

and define the profile as something like (you can make the path more
specific if you want).

```
  profile nsjail /**/nsjail xattrs=(security.apparmor="nsjail") 
flags=(unconfined) {
```

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/2063976

Title:
  Apparmor breaking nsjail in AOSP

Status in apparmor package in Ubuntu:
  New

Bug description:
  Build sandboxing in AOSP is broken after updating to 24.04 with the
  following denials:

  [  182.439078] audit: type=1400 audit(1714265880.641:449): apparmor="AUDIT" 
operation="userns_create" class="namespace" info="Userns create - transitioning 
profile" profile="unconfined" pid=8514 comm="nsjail" requested="userns_create" 
target="unprivileged_userns"
  [  182.439945] audit: type=1400 audit(1714265880.642:450): apparmor="DENIED" 
operation="capable" class="cap" profile="unprivileged_userns" pid=8515 
comm="nsjail" capability=6  capname="setgid"
  [  182.439972] audit: type=1400 audit(1714265880.642:451): apparmor="DENIED" 
operation="mount" class="mount" info="failed mntpnt match" error=-13 
profile="unprivileged_userns" name="/" pid=8515 comm="nsjail" flags="rw, 
rprivate"

  This seems to come from the following change earlier this year:
  
https://gitlab.com/apparmor/apparmor/-/commit/789cda2f089b3cd3c8c4ca387f023a36f7f1738a

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2063976/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2063976] Re: Apparmor breaking nsjail in AOSP

2024-04-28 Thread Alexander Koskovich
To clarify, this is not something that can be solved upstream in
apparmor, and a profile can't be accepted due to the nature of the path
location?

I'm really trying to avoid a situation where we need to add additional
instructions after syncing AOSP just for Ubuntu users.

One idea for this was to take nsjail and package it in Debian and remove
it from AOSP prebuilts, that way a proper profile could be upstreamed
since the path would be static, but that wouldn't address all previous
versions of Android.

Google has also been trying to move all binaries required for AOSP
compile into the tree itself for more reproducible builds, so I'm not
even sure if they'd accept that.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/2063976

Title:
  Apparmor breaking nsjail in AOSP

Status in apparmor package in Ubuntu:
  New

Bug description:
  Build sandboxing in AOSP is broken after updating to 24.04 with the
  following denials:

  [  182.439078] audit: type=1400 audit(1714265880.641:449): apparmor="AUDIT" 
operation="userns_create" class="namespace" info="Userns create - transitioning 
profile" profile="unconfined" pid=8514 comm="nsjail" requested="userns_create" 
target="unprivileged_userns"
  [  182.439945] audit: type=1400 audit(1714265880.642:450): apparmor="DENIED" 
operation="capable" class="cap" profile="unprivileged_userns" pid=8515 
comm="nsjail" capability=6  capname="setgid"
  [  182.439972] audit: type=1400 audit(1714265880.642:451): apparmor="DENIED" 
operation="mount" class="mount" info="failed mntpnt match" error=-13 
profile="unprivileged_userns" name="/" pid=8515 comm="nsjail" flags="rw, 
rprivate"

  This seems to come from the following change earlier this year:
  
https://gitlab.com/apparmor/apparmor/-/commit/789cda2f089b3cd3c8c4ca387f023a36f7f1738a

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2063976/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2064007] [NEW] execve from NetworkManager fails - wrong path in app-armor profile?

2024-04-28 Thread Christopher J. Ruwe
Public bug reported:

Linux  6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr
20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux


```/etc/os-release
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
```


```/etc/apparmor.d/sbin.dhclient
[...]
  # Support the new executable helper from NetworkManager.
  /usr/lib/NetworkManager/nm-dhcp-helper  Pxrm,
  signal (receive) peer=/usr/lib/NetworkManager/nm-dhcp-helper,
[...]
```

Starting network manager results in
```
/var/log/syslog:2024-04-28T13:35:22.453634+02:00  dhclient[]: 
execve (/usr/libexec/nm-dhcp-helper, ...): Permission denied
```

`/usr/lib/NetworkManager/nm-dhcp-helper` does not exist on the system.

** Affects: isc-dhcp (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/2064007

Title:
  execve from NetworkManager fails - wrong path in app-armor profile?

Status in isc-dhcp package in Ubuntu:
  New

Bug description:
  Linux  6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat
  Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

  
  ```/etc/os-release
  PRETTY_NAME="Ubuntu 24.04 LTS"
  NAME="Ubuntu"
  VERSION_ID="24.04"
  VERSION="24.04 LTS (Noble Numbat)"
  VERSION_CODENAME=noble
  ID=ubuntu
  ID_LIKE=debian
  HOME_URL="https://www.ubuntu.com/";
  SUPPORT_URL="https://help.ubuntu.com/";
  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
  
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
  UBUNTU_CODENAME=noble
  LOGO=ubuntu-logo
  ```

  
  ```/etc/apparmor.d/sbin.dhclient
  [...]
# Support the new executable helper from NetworkManager.
/usr/lib/NetworkManager/nm-dhcp-helper  Pxrm,
signal (receive) peer=/usr/lib/NetworkManager/nm-dhcp-helper,
  [...]
  ```

  Starting network manager results in
  ```
  /var/log/syslog:2024-04-28T13:35:22.453634+02:00  dhclient[]: 
execve (/usr/libexec/nm-dhcp-helper, ...): Permission denied
  ```

  `/usr/lib/NetworkManager/nm-dhcp-helper` does not exist on the system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/2064007/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2011385] Re: [950XED, Realtek ALC298, Speaker, Internal] No sound at all

2024-04-28 Thread Dom
Hey !!

A solution has been found for those who have the RB 2023 and newer laptop.
https://bugzilla.kernel.org/attachment.cgi?id=306157&action=edit

You can find more infos here >>>
https://bugzilla.kernel.org/show_bug.cgi?id=207423#c94

** Bug watch added: Linux Kernel Bug Tracker #207423
   https://bugzilla.kernel.org/show_bug.cgi?id=207423

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/2011385

Title:
  [950XED, Realtek ALC298, Speaker, Internal] No sound at all

Status in alsa-driver package in Ubuntu:
  Confirmed
Status in linux-hwe-5.19 package in Ubuntu:
  Confirmed

Bug description:
  only bluetooth can work,im sungsang book2 pro

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu7
  ProcVersionSignature: Ubuntu 5.19.0-35.36~22.04.1-generic 5.19.17
  Uname: Linux 5.19.0-35-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  wang   1658 F pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Mar 13 15:41:47 2023
  InstallationDate: Installed on 2023-03-08 (4 days ago)
  InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:sofhdadsp failed
  Symptom_Card: sof-hda-dsp - sof-hda-dsp
  Symptom_DevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  wang   1658 F pulseaudio
  Symptom_Jack: Speaker, Internal
  Symptom_Type: No sound at all
  Title: [950XED, Realtek ALC298, Speaker, Internal] No sound at all
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/17/2022
  dmi.bios.release: 5.25
  dmi.bios.vendor: American Megatrends International, LLC.
  dmi.bios.version: P08RGF.054.220817.ZQ
  dmi.board.asset.tag: No Asset Tag
  dmi.board.name: NT950XEW-A51AS
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: SGLFREEDOS-C00-R000-S+1.0.
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrP08RGF.054.220817.ZQ:bd08/17/2022:br5.25:svnSAMSUNGELECTRONICSCO.,LTD.:pn950XED:pvrP08RGF:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNT950XEW-A51AS:rvrSGLFREEDOS-C00-R000-S+1.0.:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A:skuSCAI-ICPS-A5A5-ADLP-PRGF:
  dmi.product.family: Galaxy Book2 Pro
  dmi.product.name: 950XED
  dmi.product.sku: SCAI-ICPS-A5A5-ADLP-PRGF
  dmi.product.version: P08RGF
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2011385/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2063533] Re: package systemd-resolved 255.4-1ubuntu8 failed to install/upgrade: installed systemd-resolved package post-installation script subprocess returned error exit status

2024-04-28 Thread Michael Cain
*** This bug is a duplicate of bug 2047975 ***
https://bugs.launchpad.net/bugs/2047975

For context, on the 2 boxes I have that this effected, I have disabled
the systemd stub resolver in order to allow AdGuard dns server listen on
all interfaces. I am assuming that is the source of the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2063533

Title:
  package systemd-resolved 255.4-1ubuntu8 failed to install/upgrade:
  installed systemd-resolved package post-installation script subprocess
  returned error exit status 1 [cp: '/etc/resolv.conf' and
  '/run/systemd/resolve/stub-resolv.conf' are the same file]

Status in systemd package in Ubuntu:
  New

Bug description:
  Trying to update 22.04.4 to 24.04

  ProblemType: Package
  DistroRelease: Ubuntu 24.04
  Package: systemd-resolved 255.4-1ubuntu8
  ProcVersionSignature: Ubuntu 6.5.0-28.29~22.04.1-generic 6.5.13
  Uname: Linux 6.5.0-28-generic x86_64
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CloudArchitecture: x86_64
  CloudID: none
  CloudName: none
  CloudPlatform: none
  CloudSubPlatform: config
  Date: Thu Apr 25 23:05:36 2024
  ErrorMessage: installed systemd-resolved package post-installation script 
subprocess returned error exit status 1
  InstallationDate: Installed on 2024-04-09 (16 days ago)
  InstallationMedia: Ubuntu-Server 22.04.4 LTS "Jammy Jellyfish" - Release 
amd64 (20240216.1)
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.22.6ubuntu6
   apt  2.7.14build2
  SourcePackage: systemd
  Title: package systemd-resolved 255.4-1ubuntu8 failed to install/upgrade: 
installed systemd-resolved package post-installation script subprocess returned 
error exit status 1
  UpgradeStatus: Upgraded to noble on 2024-04-26 (0 days ago)
  mtime.conffile..etc.init.d.apport: 2024-04-18T19:50:32

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2063533/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2064017] [NEW] Xserver Display flickers when mouse pointer is inside narrow horizontal range band (kernel related)

2024-04-28 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:


My machine information is following :
HP EliteBook 840 G3
Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520]
xrandr -q active mode on laptop display : 1368x768  60.01

Tried using 6.8.8-060808 kernel (instead of the lubuntu 24.04 default shipped 
kernel 6.8.0-31), same issue.
Rolling back the kernel to 6.7 fixed the problem,maybe there were some video 
driver changes from kernel 6.7 to 6.8 ?

While using the 6.8 kernel I did some experiments:

disabled picom in startup , no effect

Tried changing display resolution, just moves vertical position of band.
(at the above resolution 1368x768 vertical mouse pointer flicker range is 
around 640 ( measured running watch -t -n 0.0001 xdotool getmouselocation from 
a bash terminal)

Tried moving refresh rate slightly around 60 Hz by creating a new
modeline using cvt tool and adding new mode with xrandr, no effect.

tried connecting external display on laptop VGA port and duplicating
screen and the issue seems to disappear.

tried capturing a video of the desktop  using ffmpeg with x11grab, but
it does not show the issue.

I attached a short video of the laptop display flicker I recorded using
my phone

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xorg 1:7.7+23ubuntu3
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: unknown
CompositorRunning: None
CurrentDesktop: LXQt
Date: Sun Apr 28 09:44:42 2024
DistUpgraded: Fresh install
DistroCodename: noble
DistroVariant: ubuntu
ExtraDebuggingInterest: No
GraphicsCard:
 Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) (prog-if 
00 [VGA controller])
   Subsystem: Hewlett-Packard Company EliteBook 840 G3 [103c:8079]
InstallationDate: Installed on 2024-04-25 (3 days ago)
InstallationMedia: Lubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240425.1)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID :3825   USB OPTICAL MOUSE
 Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
 Bus 001 Device 004: ID 05c8:0383 Cheng Uei Precision Industry Co., Ltd 
(Foxlink) HP HD Camera
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
MachineType: HP HP EliteBook 840 G3
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-31-generic 
root=UUID=c323b5e4-1a45-4ce4-9f8d-c4f7f9c60388 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/19/2019
dmi.bios.release: 1.42
dmi.bios.vendor: HP
dmi.bios.version: N75 Ver. 01.42
dmi.board.name: 8079
dmi.board.vendor: HP
dmi.board.version: KBC Version 85.78
dmi.chassis.asset.tag: 5CG7042V5J
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 133.120
dmi.modalias: 
dmi:bvnHP:bvrN75Ver.01.42:bd08/19/2019:br1.42:efr133.120:svnHP:pnHPEliteBook840G3:pvr:rvnHP:rn8079:rvrKBCVersion85.78:cvnHP:ct10:cvr:skuZ2A57UT#ABA:
dmi.product.family: 103C_5336AN G=N L=BUS B=HP S=ELI
dmi.product.name: HP EliteBook 840 G3
dmi.product.sku: Z2A57UT#ABA
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.120-2build1
version.libgl1-mesa-dri: libgl1-mesa-dri 24.0.5-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug corruption noble ubuntu
-- 
Xserver Display flickers when mouse pointer is inside narrow horizontal range 
band (kernel related)
https://bugs.launchpad.net/bugs/2064017
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to xorg in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2064009] [NEW] audio device malfunctioning and crash

2024-04-28 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

Hi my audio device (Philips screen with sound) crashed after using it
few hours. Its working badly (kind of distorsion) anytime, was working
fine with 22.10 but works badly with debian 12 (same config). Thx

I use a Philips screen with HDMI for image and sound


Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-31-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4790S CPU @ 3.20GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
Manufacturer: Dell Inc.
Product Name: OptiPlex 9020
System Version: 00

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: alsa-base 1.0.25+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/seq:kub1580 F pipewire
 /dev/snd/controlC1:  kub1582 F wireplumber
 /dev/snd/controlC0:  kub1582 F wireplumber
 /dev/snd/controlC2:  kub1582 F wireplumber
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Sun Apr 28 14:35:52 2024
InstallationDate: Installed on 2024-04-25 (3 days ago)
InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240425.1)
MachineType: Dell Inc. OptiPlex 9020
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/30/2019
dmi.bios.release: 65.25
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A25
dmi.board.name: 0KC9NP
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 16
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvrA25:bd05/30/2019:br65.25:svnDellInc.:pnOptiPlex9020:pvr00:rvnDellInc.:rn0KC9NP:rvrA00:cvnDellInc.:ct16:cvr:sku05A4:
dmi.product.name: OptiPlex 9020
dmi.product.sku: 05A4
dmi.product.version: 00
dmi.sys.vendor: Dell Inc.

** Affects: alsa-driver (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug noble
-- 
audio device malfunctioning and crash 
https://bugs.launchpad.net/bugs/2064009
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to alsa-driver in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2064017] Re: Xserver Display flickers when mouse pointer is inside narrow horizontal range band (kernel related)

2024-04-28 Thread Ubuntu Foundations Team Bug Bot
** Package changed: ubuntu => xorg (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/2064017

Title:
  Xserver Display flickers when mouse pointer is inside narrow
  horizontal range band (kernel related)

Status in xorg package in Ubuntu:
  New

Bug description:
  
  My machine information is following :
  HP EliteBook 840 G3
  Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
  VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520]
  xrandr -q active mode on laptop display : 1368x768  60.01

  Tried using 6.8.8-060808 kernel (instead of the lubuntu 24.04 default shipped 
kernel 6.8.0-31), same issue.
  Rolling back the kernel to 6.7 fixed the problem,maybe there were some video 
driver changes from kernel 6.7 to 6.8 ?

  While using the 6.8 kernel I did some experiments:

  disabled picom in startup , no effect

  Tried changing display resolution, just moves vertical position of band.
  (at the above resolution 1368x768 vertical mouse pointer flicker range is 
around 640 ( measured running watch -t -n 0.0001 xdotool getmouselocation from 
a bash terminal)

  Tried moving refresh rate slightly around 60 Hz by creating a new
  modeline using cvt tool and adding new mode with xrandr, no effect.

  tried connecting external display on laptop VGA port and duplicating
  screen and the issue seems to disappear.

  tried capturing a video of the desktop  using ffmpeg with x11grab, but
  it does not show the issue.

  I attached a short video of the laptop display flicker I recorded
  using my phone

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: xorg 1:7.7+23ubuntu3
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: unknown
  CompositorRunning: None
  CurrentDesktop: LXQt
  Date: Sun Apr 28 09:44:42 2024
  DistUpgraded: Fresh install
  DistroCodename: noble
  DistroVariant: ubuntu
  ExtraDebuggingInterest: No
  GraphicsCard:
   Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) 
(prog-if 00 [VGA controller])
 Subsystem: Hewlett-Packard Company EliteBook 840 G3 [103c:8079]
  InstallationDate: Installed on 2024-04-25 (3 days ago)
  InstallationMedia: Lubuntu 24.04 LTS "Noble Numbat" - Release amd64 
(20240425.1)
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 001 Device 002: ID :3825   USB OPTICAL MOUSE
   Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
   Bus 001 Device 004: ID 05c8:0383 Cheng Uei Precision Industry Co., Ltd 
(Foxlink) HP HD Camera
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  MachineType: HP HP EliteBook 840 G3
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-31-generic 
root=UUID=c323b5e4-1a45-4ce4-9f8d-c4f7f9c60388 ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/19/2019
  dmi.bios.release: 1.42
  dmi.bios.vendor: HP
  dmi.bios.version: N75 Ver. 01.42
  dmi.board.name: 8079
  dmi.board.vendor: HP
  dmi.board.version: KBC Version 85.78
  dmi.chassis.asset.tag: 5CG7042V5J
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.ec.firmware.release: 133.120
  dmi.modalias: 
dmi:bvnHP:bvrN75Ver.01.42:bd08/19/2019:br1.42:efr133.120:svnHP:pnHPEliteBook840G3:pvr:rvnHP:rn8079:rvrKBCVersion85.78:cvnHP:ct10:cvr:skuZ2A57UT#ABA:
  dmi.product.family: 103C_5336AN G=N L=BUS B=HP S=ELI
  dmi.product.name: HP EliteBook 840 G3
  dmi.product.sku: Z2A57UT#ABA
  dmi.sys.vendor: HP
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.120-2build1
  version.libgl1-mesa-dri: libgl1-mesa-dri 24.0.5-1ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2build1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/2064017/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2064009] Re: audio device malfunctioning and crash

2024-04-28 Thread Ubuntu Foundations Team Bug Bot
** Package changed: ubuntu => alsa-driver (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/2064009

Title:
  audio device malfunctioning and crash

Status in alsa-driver package in Ubuntu:
  New

Bug description:
  Hi my audio device (Philips screen with sound) crashed after using it
  few hours. Its working badly (kind of distorsion) anytime, was working
  fine with 22.10 but works badly with debian 12 (same config). Thx

  I use a Philips screen with HDMI for image and sound

  
  Operating System: Kubuntu 24.04
  KDE Plasma Version: 5.27.11
  KDE Frameworks Version: 5.115.0
  Qt Version: 5.15.13
  Kernel Version: 6.8.0-31-generic (64-bit)
  Graphics Platform: X11
  Processors: 8 × Intel® Core™ i7-4790S CPU @ 3.20GHz
  Memory: 15,5 GiB of RAM
  Graphics Processor: Mesa Intel® HD Graphics 4600
  Manufacturer: Dell Inc.
  Product Name: OptiPlex 9020
  System Version: 00

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu7
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/seq:kub1580 F pipewire
   /dev/snd/controlC1:  kub1582 F wireplumber
   /dev/snd/controlC0:  kub1582 F wireplumber
   /dev/snd/controlC2:  kub1582 F wireplumber
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Sun Apr 28 14:35:52 2024
  InstallationDate: Installed on 2024-04-25 (3 days ago)
  InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 
(20240425.1)
  MachineType: Dell Inc. OptiPlex 9020
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/30/2019
  dmi.bios.release: 65.25
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A25
  dmi.board.name: 0KC9NP
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 16
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA25:bd05/30/2019:br65.25:svnDellInc.:pnOptiPlex9020:pvr00:rvnDellInc.:rn0KC9NP:rvrA00:cvnDellInc.:ct16:cvr:sku05A4:
  dmi.product.name: OptiPlex 9020
  dmi.product.sku: 05A4
  dmi.product.version: 00
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2064009/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1876486] Re: systemd breaks due to old libsecomp libs left on the system

2024-04-28 Thread Jeremy Akers
I just ran into this same issue. I have a server that started out on
16.04. I just did "do-release-upgrade -m server" to upgrade to 18.04 and
then again to 20.04. After the 20.04 upgrade finished the server would
no longer boot with the exact same error described here:

/sbin/init: symbol lookup error: /lib/systemd/libsystemd-shared-245.so:
undefined symbol: seccomp_api_get

I do not understand why bugs like this cannot get fixed even years after
several people have reported the same issue and the repro steps are
clear: Start with 16.04 upgrade to 18.04 and then 20.04. Clearly the
upgrade tool is not properly cleaning up these files.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libseccomp in Ubuntu.
https://bugs.launchpad.net/bugs/1876486

Title:
  systemd breaks due to old libsecomp libs left on the system

Status in libseccomp package in Ubuntu:
  Expired

Bug description:
  Upgraded Ubuntu 18.04 to 20.04.  Following the upgrade, booting was not 
possible.  The error messages is:
  /sbin/init: symbol lookup error: /lib/systemd/libsystemd-shared-245.so: 
undefined symbol: seccomp_api_get
  [4.608900] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x7f00
  See also attached photograph of screen during boot.

  Upgrade followed steps from here: 
https://help.ubuntu.com/community/FocalUpgrades/Kubuntu
  With the excpetion that The -d flag was used for the do-release-upgrade:
  sudo do-release-upgrade -d -m desktop

  1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> 
About Ubuntu
  Prior to upgrade: Ubuntu 18.04.4
  After upgrade (but never booted): Ubuntu (Kubuntu) 20.04
  Note that Ubuntu had originally be installed, but kubuntu-desktop was 
recently installed to change to Kubuntu, but no booting problems were 
experienced before updating to 20.04.

  2) The version of the package you are using, via 'apt-cache policy pkgname' 
or by checking in 
  Unknown -- Package version may have changed when upgrading to 20.04.

  3) What you expected to happen
  Boot without kernel panic.

  4) What happened instead
  Could not boot.  Even selecting safe mode from grub could not boot.  Had to 
restore system from backups.  Will not attempt upgrade again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libseccomp/+bug/1876486/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2063898] Re: broken doc symlinks after t64 transition in noble

2024-04-28 Thread Haw Loeung
Can confirm:

[hloeung@dharkan tmp]$ ls /usr/share/doc/openssl -la
total 120
drwxr-xr-x3 root root  4096 Apr  4 18:43 .
drwxr-xr-x 1469 root root 61440 Apr 26 19:28 ..
lrwxrwxrwx1 root root30 Mar 31 17:42 changelog.Debian.gz -> 
../libssl3/changelog.Debian.gz
lrwxrwxrwx1 root root23 Mar 31 17:42 changelog.gz -> 
../libssl3/changelog.gz
lrwxrwxrwx1 root root20 Mar 31 17:42 copyright -> ../libssl3/copyright
-rw-r--r--1 root root   197 Jan 31 00:28 FAQ.md
-rw-r--r--1 root root   862 Jan 31 00:28 fingerprints.txt
drwxr-xr-x2 root root  4096 Apr  4 18:43 HOWTO
-rw-r--r--1 root root 18800 Jan 31 00:28 NEWS.md.gz
-rw-r--r--1 root root  2122 Mar  8 20:44 README.Debian
-rw-r--r--1 root root  5966 Jan 31 00:28 README-ENGINES.md.gz
-rw-r--r--1 root root  2660 Jan 31 00:28 README.md.gz
-rw-r--r--1 root root  1385 Mar  8 20:44 README.optimization
[hloeung@dharkan tmp]$ ls /usr/share/doc/openssl/../libssl3/changelog.Debian.gz
ls: cannot access '/usr/share/doc/openssl/../libssl3/changelog.Debian.gz': No 
such file or directory
[hloeung@dharkan tmp]$ ls /usr/share/doc/openssl/../libssl3/
[hloeung@dharkan tmp]$ ls /usr/share/doc/openssl/../libssl3t64/
changelog.Debian.gz  copyright
[hloeung@dharkan tmp]$

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/2063898

Title:
  broken doc symlinks after t64 transition in noble

Status in openssl package in Ubuntu:
  Confirmed

Bug description:
  $ pwd
  /usr/share/doc/openssl

  $ ls -l
  total 52
  lrwxrwxrwx 1 root root30 mars  31 08:42 changelog.Debian.gz -> 
../libssl3/changelog.Debian.gz
  lrwxrwxrwx 1 root root23 mars  31 08:42 changelog.gz -> 
../libssl3/changelog.gz
  lrwxrwxrwx 1 root root20 mars  31 08:42 copyright -> ../libssl3/copyright

  libssl3 doenst exist anymore, it is now libssl3t64

  $ apt-cache policy openssl libssl3t64
  openssl:
Installed: 3.0.13-0ubuntu3
Candidate: 3.0.13-0ubuntu3
Version table:
   *** 3.0.13-0ubuntu3 500
  500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
  100 /var/lib/dpkg/status
  libssl3t64:
Installed: 3.0.13-0ubuntu3
Candidate: 3.0.13-0ubuntu3
Version table:
   *** 3.0.13-0ubuntu3 500
  500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2063898/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2063898] Re: broken doc symlinks after t64 transition in noble

2024-04-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: openssl (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/2063898

Title:
  broken doc symlinks after t64 transition in noble

Status in openssl package in Ubuntu:
  Confirmed

Bug description:
  $ pwd
  /usr/share/doc/openssl

  $ ls -l
  total 52
  lrwxrwxrwx 1 root root30 mars  31 08:42 changelog.Debian.gz -> 
../libssl3/changelog.Debian.gz
  lrwxrwxrwx 1 root root23 mars  31 08:42 changelog.gz -> 
../libssl3/changelog.gz
  lrwxrwxrwx 1 root root20 mars  31 08:42 copyright -> ../libssl3/copyright

  libssl3 doenst exist anymore, it is now libssl3t64

  $ apt-cache policy openssl libssl3t64
  openssl:
Installed: 3.0.13-0ubuntu3
Candidate: 3.0.13-0ubuntu3
Version table:
   *** 3.0.13-0ubuntu3 500
  500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
  100 /var/lib/dpkg/status
  libssl3t64:
Installed: 3.0.13-0ubuntu3
Candidate: 3.0.13-0ubuntu3
Version table:
   *** 3.0.13-0ubuntu3 500
  500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2063898/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2036467] Re: Resizing cloud-images occasionally fails due to superblock checksum mismatch in resize2fs

2024-04-28 Thread Matthew Ruffell
Hi Krister,

Thanks for the heads up about 1.47.1 upstream, it does indeed look like
a release is coming soon.

It seems Debian unstable already has 1.7.1-rc1:
https://packages.debian.org/sid/e2fsprogs

When the Ubuntu archive opens for OO, we will merge 1.47.1~rc1-1 from
debian unstable, and then submit the patches for SRU to noble, mantic,
jammy and focal. Should be a few days.

Thanks,
Matthew

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/2036467

Title:
  Resizing cloud-images occasionally fails due to superblock checksum
  mismatch in resize2fs

Status in cloud-images:
  New
Status in e2fsprogs package in Ubuntu:
  In Progress
Status in e2fsprogs source package in Trusty:
  Won't Fix
Status in e2fsprogs source package in Xenial:
  Won't Fix
Status in e2fsprogs source package in Bionic:
  Won't Fix
Status in e2fsprogs source package in Focal:
  In Progress
Status in e2fsprogs source package in Jammy:
  In Progress
Status in e2fsprogs source package in Lunar:
  Won't Fix
Status in e2fsprogs source package in Mantic:
  In Progress
Status in e2fsprogs source package in Noble:
  In Progress

Bug description:
  [Impact]

  This is a long running bug plaguing cloud-images, where on a rare
  occasion resize2fs would fail and the image would not resize to fit
  the entire disk.

  Online resizes would fail due to a superblock checksum mismatch, where
  the superblock in memory differs from what is currently on disk due to
  changes made to the image.

  $ resize2fs /dev/nvme1n1p1
  resize2fs 1.47.0 (5-Feb-2023)
  resize2fs: Superblock checksum does not match superblock while trying to open 
/dev/nvme1n1p1
  Couldn't find valid filesystem superblock.

  Changing the read of the superblock to Direct I/O solves the issue.

  [Testcase]

  Start an c5.large instance on AWS, and attach a 60gb gp3 volume for
  use as a scratch disk.

  Run the following script, courtesy of Krister Johansen and his team:

     #!/usr/bin/bash
     set -euxo pipefail

     while true
     do
     parted /dev/nvme1n1 mklabel gpt mkpart primary 2048s 2099200s
     sleep .5
     mkfs.ext4 /dev/nvme1n1p1
     mount -t ext4 /dev/nvme1n1p1 /mnt
     stress-ng --temp-path /mnt -D 4 &
     STRESS_PID=$!
     sleep 1
     growpart /dev/nvme1n1 1
     resize2fs /dev/nvme1n1p1
     kill $STRESS_PID
     wait $STRESS_PID
     umount /mnt
     wipefs -a /dev/nvme1n1p1
     wipefs -a /dev/nvme1n1
     done

  Test packages are available in the following ppa:

  https://launchpad.net/~mruffell/+archive/ubuntu/lp2036467-test

  If you install the test packages, the race no longer occurs.

  [Where problems could occur]

  We are changing how resize2fs reads the superblock from underlying
  disks.

  If a regression were to occur, resize2fs could fail to resize offline
  or online volumes. As all cloud-images are online resized during their
  initial boot, this could have a large impact to public and private
  clouds should a regression occur.

  [Other info]

  Upstream mailing list discussion:
  https://lore.kernel.org/linux-ext4/20230605225221.ga5...@templeofstupid.com/
  https://lore.kernel.org/linux-ext4/20230609042239.ga1436...@mit.edu/

  This was fixed in the below commit upstream:

  commit 43a498e938887956f393b5e45ea6ac79cc5f4b84
  Author: Theodore Ts'o 
  Date: Thu, 15 Jun 2023 00:17:01 -0400
  Subject: resize2fs: use Direct I/O when reading the superblock for
   online resizes
  Link: 
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=43a498e938887956f393b5e45ea6ac79cc5f4b84

  The commit has not been tagged to any release. All supported Ubuntu
  releases require this fix, and need to be published in standard non-
  ESM archives to be picked up in cloud images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2036467/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2036467] Re: Resizing cloud-images occasionally fails due to superblock checksum mismatch in resize2fs

2024-04-28 Thread Matthew Ruffell
Attached is a V2 patch for Noble for e2fsprogs.

** Patch added: "Debdiff for e2fsprogs on noble V2"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2036467/+attachment/5772258/+files/lp2036467_noble_V2.debdiff

** Patch removed: "Debdiff for e2fsprogs on noble"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2036467/+attachment/5738302/+files/lp2036467_noble.debdiff

** Patch removed: "Debdiff for e2fsprogs on lunar"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2036467/+attachment/5707894/+files/lp2036467_lunar.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/2036467

Title:
  Resizing cloud-images occasionally fails due to superblock checksum
  mismatch in resize2fs

Status in cloud-images:
  New
Status in e2fsprogs package in Ubuntu:
  In Progress
Status in e2fsprogs source package in Trusty:
  Won't Fix
Status in e2fsprogs source package in Xenial:
  Won't Fix
Status in e2fsprogs source package in Bionic:
  Won't Fix
Status in e2fsprogs source package in Focal:
  In Progress
Status in e2fsprogs source package in Jammy:
  In Progress
Status in e2fsprogs source package in Lunar:
  Won't Fix
Status in e2fsprogs source package in Mantic:
  In Progress
Status in e2fsprogs source package in Noble:
  In Progress

Bug description:
  [Impact]

  This is a long running bug plaguing cloud-images, where on a rare
  occasion resize2fs would fail and the image would not resize to fit
  the entire disk.

  Online resizes would fail due to a superblock checksum mismatch, where
  the superblock in memory differs from what is currently on disk due to
  changes made to the image.

  $ resize2fs /dev/nvme1n1p1
  resize2fs 1.47.0 (5-Feb-2023)
  resize2fs: Superblock checksum does not match superblock while trying to open 
/dev/nvme1n1p1
  Couldn't find valid filesystem superblock.

  Changing the read of the superblock to Direct I/O solves the issue.

  [Testcase]

  Start an c5.large instance on AWS, and attach a 60gb gp3 volume for
  use as a scratch disk.

  Run the following script, courtesy of Krister Johansen and his team:

     #!/usr/bin/bash
     set -euxo pipefail

     while true
     do
     parted /dev/nvme1n1 mklabel gpt mkpart primary 2048s 2099200s
     sleep .5
     mkfs.ext4 /dev/nvme1n1p1
     mount -t ext4 /dev/nvme1n1p1 /mnt
     stress-ng --temp-path /mnt -D 4 &
     STRESS_PID=$!
     sleep 1
     growpart /dev/nvme1n1 1
     resize2fs /dev/nvme1n1p1
     kill $STRESS_PID
     wait $STRESS_PID
     umount /mnt
     wipefs -a /dev/nvme1n1p1
     wipefs -a /dev/nvme1n1
     done

  Test packages are available in the following ppa:

  https://launchpad.net/~mruffell/+archive/ubuntu/lp2036467-test

  If you install the test packages, the race no longer occurs.

  [Where problems could occur]

  We are changing how resize2fs reads the superblock from underlying
  disks.

  If a regression were to occur, resize2fs could fail to resize offline
  or online volumes. As all cloud-images are online resized during their
  initial boot, this could have a large impact to public and private
  clouds should a regression occur.

  [Other info]

  Upstream mailing list discussion:
  https://lore.kernel.org/linux-ext4/20230605225221.ga5...@templeofstupid.com/
  https://lore.kernel.org/linux-ext4/20230609042239.ga1436...@mit.edu/

  This was fixed in the below commit upstream:

  commit 43a498e938887956f393b5e45ea6ac79cc5f4b84
  Author: Theodore Ts'o 
  Date: Thu, 15 Jun 2023 00:17:01 -0400
  Subject: resize2fs: use Direct I/O when reading the superblock for
   online resizes
  Link: 
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=43a498e938887956f393b5e45ea6ac79cc5f4b84

  The commit has not been tagged to any release. All supported Ubuntu
  releases require this fix, and need to be published in standard non-
  ESM archives to be picked up in cloud images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2036467/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2018425] Re: apt install ubuntu-desktop takes forever

2024-04-28 Thread Andrew N
Hi, I’ve run into this issue many times and today tracked down the cause
to this open bug: https://bugs.launchpad.net/netplan/+bug/1999178

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/2018425

Title:
  apt install ubuntu-desktop takes forever

Status in subiquity:
  Invalid
Status in ubuntu-meta package in Ubuntu:
  New

Bug description:
  Install server 23.04 to take advantage of flexible disk
  partitioning/raid. While installing desktop over the installed server
  (apt install ubuntu-desktop) it proceeds normally about 40% of the way
  but after that it slows down tremendously, hanging for minutes in
  between packages. It eventually (after several hours) completes
  without error.

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: subiquity (unknown)
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed May  3 11:41:00 2023
  InstallationDate: Installed on 2023-04-29 (3 days ago)
  InstallationMedia: Ubuntu-Server 23.04 "Lunar Lobster" - Release amd64 
(20230415)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=
  SourcePackage: subiquity
  Symptom: installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2018425/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp