[Bug 2069495] Re: Netplan generator causes systemd, apt and unlock hangs on 24.04

2024-06-21 Thread Ilya Loginov
I tried to investigate the problem with long boot for several days. Even
tried to reinstall system.

Only after enabling debug logs in systemd I found out that it was
`/usr/lib/systemd/system-generators/netplan`. systemd-analyze told it
was NetworkManager.

So I removed link `/usr/lib/systemd/system-generators/netplan` and my
boot time reduced for almost 2mins.

There was nothing interesting in `/etc/netplan/01-network-manager-all.yaml` 
(with 0400 access rights, that was strange):
```
network:
  version: 2
  renderer: NetworkManager
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069495

Title:
  Netplan generator causes systemd, apt and unlock hangs on 24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2069495/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1241148] [NEW] do-release-upgrade crashes while updating from 13.04 to 13.10 when locale is ru-RU.UTF8

2013-10-17 Thread Ilya Loginov
Public bug reported:

Application crashes with the following stacktrace:

Error in sys.excepthook:
Traceback (most recent call last):
  File 
/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py, line 
107, in _handleException
\n.join(lines))
  File 
/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py, line 
141, in error


print(twrap(summary))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: 
ordinal not in range(128)

Original exception was:
Traceback (most recent call last):
  File /tmp/ubuntu-release-upgrader-6agiri/saucy, line 10, in module
sys.exit(main())
  File /tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeMain.py, 
line 230, in main
app = DistUpgradeController(view, options, datadir=options.datadir)
  File 
/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeController.py, 
line 126, in __init__
self._view.updateStatus(_(Reading cache))
  File 
/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py, line 
121, in updateStatus
print(msg)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: 
ordinal not in range(128)

When I start do-release-upgrade with LC_ALL=C all works fine.

My locale is:

LANG=ru_RU.UTF-8
LANGUAGE=
LC_CTYPE=ru_RU.UTF-8
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_COLLATE=ru_RU.UTF-8
LC_MONETARY=ru_RU.UTF-8
LC_MESSAGES=ru_RU.UTF-8
LC_PAPER=ru_RU.UTF-8
LC_NAME=ru_RU.UTF-8
LC_ADDRESS=ru_RU.UTF-8
LC_TELEPHONE=ru_RU.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_IDENTIFICATION=ru_RU.UTF-8
LC_ALL=

LC_ALL=C apt-cache policy ubuntu-release-upgrader-core
ubuntu-release-upgrader-core:
  Installed: 1:0.205
  Candidate: 1:0.205
  Version table:
 *** 1:0.205 0
500 http://ru.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
100 /var/lib/dpkg/status
(Sorry, I've already upgraded system when upgrader started with LC_ALL=C.)

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubuntu-release-upgrader-core 1:0.205
ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
Uname: Linux 3.8.0-31-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CrashDB: ubuntu
Date: Thu Oct 17 22:38:30 2013
InstallationDate: Installed on 2013-06-25 (114 days ago)
InstallationMedia: Ubuntu 13.04 Raring Ringtail - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=set
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to saucy on 2013-10-17 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['pkexec', 'cat', 
'/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 
127: pkexec must be setuid root

** Affects: ubuntu-release-upgrader (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug dist-upgrade saucy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1241148

Title:
  do-release-upgrade crashes while updating from 13.04 to 13.10 when
  locale is ru-RU.UTF8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1241148/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs