[Bug 1193642] New: problem with pkcon install-local into /opt
https://bugzilla.suse.com/show_bug.cgi?id=1193642 Bug ID: 1193642 Summary: problem with pkcon install-local into /opt Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: MicroOS Assignee: kubic-bugs@opensuse.org Reporter: lubos.kocman@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello I just wanted to install local identity app from government but seems like pkcon install-local failed to populated /opt and /usr/local/etc. The toplevel dirs were simply not created The rpm was converted from deb (published by .gov) into rpm by alien. followed by pkcon install-local && reboot. nstall complained at the very end (single line after message install finished) about failed to create /etc/modules something dir in the snapshot directory as it was read only. lkocman@localhost:~> rpm -q eObcanka eObcanka-3.2.0-2.x86_64 https://www.dropbox.com/s/4wziaff6d02rp5l/eObcanka-3.2.0-2.x86_64.rpm?dl=0 I'm running NAME="openSUSE MicroOS" # VERSION="20211207" # These top level dirs are empty lkocman@localhost:~> rpm -q -V eObcanka | grep missing | wc -l 1263 lkocman@localhost:~> rpm -q -V eObcanka | cut -c -26 | sort | uniq missing /opt/eObcanka missing /opt/eObcanka/ missing /usr/local/etc # empty opt lkocman@localhost:~> ls -laZ /opt total 0 dr-xr-xr-x. 1 root root system_u:object_r:usr_t:s0 0 Dec 9 15:08 . drwxrwxr-x. 1 root root system_u:object_r:root_t:s0 142 Dec 12 10:10 .. # /usr/local/etc is missing completely lkocman@localhost:~> ls -laZ /usr/local/ total 0 drwxr-xr-x. 1 root root system_u:object_r:usr_t:s0 80 Dec 9 15:08 . drwxr-xr-x. 1 root root system_u:object_r:usr_t:s0 124 Dec 12 10:23 .. drwxr-xr-x. 1 root root system_u:object_r:bin_t:s0 0 Dec 9 15:08 bin drwxr-xr-x. 1 root root system_u:object_r:usr_t:s0 0 Dec 9 15:08 include drwxr-xr-x. 1 root root system_u:object_r:lib_t:s0 0 Dec 9 15:08 lib drwxr-xr-x. 1 root root system_u:object_r:lib_t:s0 0 Dec 9 15:08 lib64 drwxr-xr-x. 1 root root system_u:object_r:bin_t:s0 0 Dec 9 15:08 libexec drwxr-xr-x. 1 root root system_u:object_r:man_t:s0 80 Dec 9 15:08 man drwxr-xr-x. 1 root root system_u:object_r:bin_t:s0 0 Dec 9 15:08 sbin drwxr-xr-x. 1 root root system_u:object_r:usr_t:s0 0 Dec 9 15:08 share drwxr-xr-x. 1 root root system_u:object_r:usr_t:s0 0 Dec 9 15:08 src lkocman@localhost:~> -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1193642 https://bugzilla.suse.com/show_bug.cgi?id=1193642#c1 --- Comment #1 from Lubos Kocman <lubos.kocman@suse.com> --- Regarding fs layout, it was the default recommended by install lkocman@localhost:~> sudo btrfs subvolume list / ID 256 gen 33 top level 5 path @ ID 257 gen 2523 top level 256 path @/var ID 258 gen 2487 top level 256 path @/usr/local ID 259 gen 56 top level 256 path @/srv ID 260 gen 2362 top level 256 path @/root ID 261 gen 2426 top level 256 path @/opt ID 262 gen 2523 top level 256 path @/home ID 263 gen 56 top level 256 path @/boot/writable ID 264 gen 56 top level 256 path @/boot/grub2/x86_64-efi ID 265 gen 56 top level 256 path @/boot/grub2/i386-pc ID 266 gen 2460 top level 256 path @/.snapshots ID 267 gen 202 top level 266 path @/.snapshots/1/snapshot ID 268 gen 47 top level 266 path @/.snapshots/2/snapshot ID 273 gen 213 top level 266 path @/.snapshots/3/snapshot ID 274 gen 227 top level 266 path @/.snapshots/4/snapshot ID 276 gen 1133 top level 266 path @/.snapshots/5/snapshot ID 295 gen 1175 top level 266 path @/.snapshots/6/snapshot ID 297 gen 2316 top level 266 path @/.snapshots/7/snapshot ID 301 gen 2019 top level 266 path @/.snapshots/8/snapshot ID 309 gen 2403 top level 266 path @/.snapshots/9/snapshot ID 313 gen 2434 top level 266 path @/.snapshots/10/snapshot ID 315 gen 2438 top level 266 path @/.snapshots/11/snapshot ID 316 gen 2457 top level 266 path @/.snapshots/12/snapshot -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1193642 https://bugzilla.suse.com/show_bug.cgi?id=1193642#c2 --- Comment #2 from Lubos Kocman <lubos.kocman@suse.com> --- Interestingly lkocman@localhost:~> sudo ls -la /.snapshots/12/snapshot/opt/eObcanka total 4 drwxr-xr-x. 1 root root 92 Dec 12 10:23 . drwxr-xr-x. 1 root root 16 Dec 12 10:23 .. drwxr-xr-x. 1 root root 122 Dec 12 10:23 Identifikace -rw-r--r--. 1 root root 6 Nov 25 17:35 install_version.txt drwxr-xr-x. 1 root root 90 Dec 12 10:23 lib drwxr-xr-x. 1 root root 74 Dec 12 10:23 SpravceKarty It's just does not seem to be mounted or so -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1193642 https://bugzilla.suse.com/show_bug.cgi?id=1193642#c3 --- Comment #3 from Lubos Kocman <lubos.kocman@suse.com> --- lkocman@localhost:~> mount | egrep "opt|/usr/local" /dev/nvme0n1p2 on /opt type btrfs (rw,relatime,seclabel,ssd,space_cache=v2,subvolid=261,subvol=/@/opt) /dev/nvme0n1p2 on /usr/local type btrfs (rw,relatime,seclabel,ssd,space_cache=v2,subvolid=258,subvol=/@/usr/local) -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1193642 Lubos Kocman <lubos.kocman@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|problem with pkcon |problem with pkcon |install-local into /opt |install-local into /opt | |and /usr/local -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com