[openrc/systemd] mkiso fails to umount dev within desktop-image #20
Labels
No labels
Done
bug
buildiso
buildpkg
buildtree
critical
deployiso
duplicate
enhancement
help wanted
in progress
invalid
manjaro-chroot
note
old-not-relevant
optional
question
sonar
todo
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tools/manjaro-tools#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: manjaro
Seems somehow when an openrc-host is used to build install-medias it somehow fails to umount the dev target:
(760/760) installing subversion [#######################################] 100% Optional dependencies for subversion libgnome-keyring: for GNOME Keyring for auth credentials [installed] kdebase-runtime: for KWallet for auth credentials bash-completion: for svn bash completion python2: for some hook scripts [installed] java-environment: for Java support ruby: for some hook scripts umount: /srv/manjaroiso/xfce/x86_64/xfce-image/dev: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).)Created by: manjaro
No issue with systemd 218 as host:
OBS. If you have any leftover "kill Plymouth" lines in /etc/rc.local or ~/.xinitrc they are no longer required. ================================================================================== Optional dependencies for plymouth ttf-dejavu [installed] (403/404) installing plymouth-theme-manjaro-el... [######################] 100% (404/404) installing adobe-source-sans-pro-fonts [######################] 100% -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... ==> Done [xfce installation] (xfce-image)Created by: udeved
And the issue seems to be triggered by a certain combination of packages, as not all profiles fail.
eg kde4 cleanly builds on openrc.
Created by: udeved
Phil, can you verify/check that kde5 profile works on systemd build host?
Created by: manjaro
I'm currently checking xfce-minimal to see if all latest changes went in.
Created by: udeved
I switched over to systemd on my build system, to verify it also works and its not hardware related.
Created by: udeved
This is on systemd host....
(208/208) installing adobe-source-sans-pro-fonts [#######################################] 100% umount: /srv/manjaroiso/xfce-minimal/x86_64/xfce-image/dev: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... umount: /srv/manjaroiso/xfce-minimal/x86_64/xfce-image: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) rm: cannot remove '/srv/manjaroiso/xfce-minimal/x86_64/xfce-image/.wh*': No such file or directory ==> Done [xfce installation] (xfce-image) ==> Prepare [pkgs-image] -> mount root-image -> mount xfce-image mount: /srv/manjaroiso/xfce-minimal/x86_64/pkgs-image not mounted or bad option In some cases useful info is found in syslog - try dmesg | tail or so.Created by: manjaro
First, why is your build dir /srv/manjaroiso/xfce-minimal. I used /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal and it builds just fine.
Created by: udeved
This is next I try, to use home dir as work-dir.
Created by: manjaro
ok, on second thought folder shouldn't matter as we use sudo anyway.
Created by: udeved
Nope, it doesn't make a difference, just tested.
Created by: udeved
Could this be harddrive related?
The drive is new.
Created by: manjaro
I don't think so. I need a list of working images and those who won't. Also xfce-minimal doesn't boot at all (#21).
Created by: udeved
Apparently, my lxqt-openrc also triggers now this stupid error.
It never did this before.
Created by: udeved
I booted up gentoo, mounted my manjaro partitions and cleaned leftover stuff obviously from iso building in /dev, /tmp and /var.
I will try again with then clean empty mount dirs.
Created by: udeved
Nope, that didn't help.
One more try, this time, I will use a non lvm volume for building.
Both my $HOME and /srv are lvm partitions.
Created by: udeved
I believe we can't use a symlink for machine-id, since it would always point to the machine-id on buildsystem /etc/machine-id.
Hence we get machine-id mismatch.
We need to copy the file generated, so we have two matching machine-id files in root-image before it gets unmounted..
Something little has changed, but it made my lxqt-openrc also not work.
Or we try to let the dbus package do its thing and see how iot goes without generating machine-id?
Created by: manjaro
Without machine-id we have issues during installation. You don't have machine-id miss-match as you call it in chroot anyway. Simply cat the symlink inside chroot to check if you have a miss-match afterall.
Created by: manjaro
Hmm, seems it doesn't matter if you copy or create it. On a machine/chroot it creates always the same sum:
Created by: udeved
Hmm, something changed that broke also lxqt-openrc.
Created by: manjaro
hmm, after changing some packages I have it too now:
(397/399) installing ttf-dejavu [######################] 100% (398/399) installing cantarell-fonts [######################] 100% (399/399) installing ttf-droid [######################] 100% Updating font cache... done. umount: /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image/dev: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not existCreated by: udeved
What I find strange, my lxqt-openrc did build fine with gksu, like the one uploaded.
Now, it does produce umount error with gksu.
Was there a gtk/gconf/gksu update recently?
(210/210) installing xinetd [#######################################] 100%
Optional dependencies for xinetd
perl: for xconv.pl script [installed]
-> Cleaning up what we can
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
warning: database file for 'multilib' does not exist
-> Copying lxqt-overlay ...
-> Congiguring OpenRC ....
-> Setting cronie ...
-> Setting metalog ...
-> Setting dbus ...
-> Setting consolekit ...
-> Setting acpid ...
==> Done lxqt installation
==> Prepare [pkgs-image]
-> mount root-image
-> mount lxqt-image
Root : /build/buildiso/lxqt-openrc/x86_64/pkgs-image/
Created by: manjaro
I've to check if gksu is the issue. Anyway, these are the mountpoints:
root-image:
desktop-image:
mounts: xfce-image/tmp xfce-image/run xfce-image/dev/shm xfce-image/dev/pts xfce-image/dev xfce-image/sys xfce-image/proc umount: xfce-image/dev: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).)I'll do another try by disabling gksu.
Created by: manjaro
Well, it doesn't matter if gksu is installed or not:
(394/395) installing cantarell-fonts [######################] 100% (395/395) installing ttf-droid [######################] 100% Updating font cache... done. mounts: xfce-image/tmp xfce-image/run xfce-image/dev/shm xfce-image/dev/pts xfce-image/dev xfce-image/sys xfce-image/proc umount: xfce-image/dev: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... umount: xfce-image: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) rm: cannot remove 'xfce-image/.wh*': No such file or directory ==> Done [xfce installation] (xfce-image)... seems to be something else ...
Created by: udeved
This is so strange but annoying problem.
What packages did you add? is this xfce-minimal?
Created by: manjaro
I changed them to these
Created by: udeved
I found out something.
I recently made a change to mkchroot.
If you let mkchroot run the chroot-run to locale-gen, my lxqt-openrc profile with gksu builds.
But I didabled machine-id creation for testing.
Will now test xfce-minimal.
Created by: manjaro
let me quick check this also. Also if found this.
Created by: manjaro
Well, for me nothing changes. Seems to be udev or so:
==> Checking running processes in xfce-image none xfce-image aufs rw,relatime,si=da604f3340ebbcfb 0 0 proc xfce-image/proc proc rw,nosuid,nodev,noexec,relatime 0 0 sys xfce-image/sys sysfs ro,nosuid,nodev,noexec,relatime 0 0 udev xfce-image/dev devtmpfs rw,nosuid,relatime,size=1989456k,nr_inodes=497364,mode=755 0 0 devpts xfce-image/dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 shm xfce-image/dev/shm tmpfs rw,nosuid,nodev,relatime 0 0 run xfce-image/run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0 tmp xfce-image/tmp tmpfs rw,nosuid,nodev 0 0 mounts: xfce-image/tmp xfce-image/run xfce-image/dev/shm xfce-image/dev/pts xfce-image/dev xfce-image/sys xfce-image/proc umount: xfce-image/dev: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... umount: xfce-image: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) rm: cannot remove 'xfce-image/.wh*': No such file or directory ==> Done [xfce installation] (xfce-image)Created by: manjaro
Followed stuff is running before umounting:
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. mkchroot 28316 root 9w REG 8,7 0 4154873 xfce-image.lock basestrap 28337 root 9w REG 8,7 0 4154873 xfce-image.lock dbus-laun 30979 root cwd DIR 0,38 4096 2 xfce-image dbus-laun 30979 root rtd DIR 0,38 4096 2 xfce-image dbus-laun 30979 root txt REG 0,38 27232 17519 xfce-image/usr/bin/dbus-launch dbus-laun 30979 root mem REG 0,38 51808 2415 xfce-image/usr/lib/libnss_files-2.20.so dbus-laun 30979 root mem REG 0,38 22664 2566 xfce-image/usr/lib/libXdmcp.so.6.0.0 dbus-laun 30979 root mem REG 0,38 14512 2640 xfce-image/usr/lib/libXau.so.6.0.0 dbus-laun 30979 root mem REG 0,38 14672 1705 xfce-image/usr/lib/libdl-2.20.so dbus-laun 30979 root mem REG 0,38 137968 1855 xfce-image/usr/lib/libxcb.so.1.1.0 dbus-laun 30979 root mem REG 0,38 1984416 1707 xfce-image/usr/lib/libc-2.20.so dbus-laun 30979 root mem REG 0,38 1314936 2129 xfce-image/usr/lib/libX11.so.6.3.0 dbus-laun 30979 root mem REG 0,38 164104 1698 xfce-image/usr/lib/ld-2.20.so dbus-laun 30979 root 0u CHR 1,3 0t0 5 xfce-image/dev/null dbus-laun 30979 root 1u CHR 1,3 0t0 5 xfce-image/dev/null dbus-laun 30979 root 2u CHR 1,3 0t0 5 xfce-image/dev/null dbus-daem 30980 root cwd DIR 0,38 4096 2 xfce-image dbus-daem 30980 root rtd DIR 0,38 4096 2 xfce-image dbus-daem 30980 root txt REG 0,38 421704 17520 xfce-image/usr/bin/dbus-daemon dbus-daem 30980 root mem REG 0,38 51808 2415 xfce-image/usr/lib/libnss_files-2.20.so dbus-daem 30980 root mem REG 0,38 18736 1851 xfce-image/usr/lib/libattr.so.1.1.0 dbus-daem 30980 root mem REG 0,38 14672 1705 xfce-image/usr/lib/libdl-2.20.so dbus-daem 30980 root mem REG 0,38 89024 2700 xfce-image/usr/lib/libresolv-2.20.so dbus-daem 30980 root mem REG 0,38 72264 2373 xfce-image/usr/lib/libgpg-error.so.0.13.0 dbus-daem 30980 root mem REG 0,38 919960 2155 xfce-image/usr/lib/libgcrypt.so.20.0.2 dbus-daem 30980 root mem REG 0,38 43264 2144 xfce-image/usr/lib/liblz4.so.1.5.0 dbus-daem 30980 root mem REG 0,38 141744 2432 xfce-image/usr/lib/liblzma.so.5.0.8 dbus-daem 30980 root mem REG 0,38 31760 2705 xfce-image/usr/lib/librt-2.20.so dbus-daem 30980 root mem REG 0,38 17320 2557 xfce-image/usr/lib/libcap.so.2.24 dbus-daem 30980 root mem REG 0,38 1984416 1707 xfce-image/usr/lib/libc-2.20.so dbus-daem 30980 root mem REG 0,38 138248 1876 xfce-image/usr/lib/libpthread-2.20.so dbus-daem 30980 root mem REG 0,38 170144 2039 xfce-image/usr/lib/libexpat.so.1.6.0 dbus-daem 30980 root mem REG 0,38 164104 1698 xfce-image/usr/lib/ld-2.20.so dbus-daem 30980 root mem REG 0,38 158464 2593 xfce-image/usr/lib/libsystemd.so.0.5.1 dbus-daem 30980 root 0u CHR 1,3 0t0 5 xfce-image/dev/null dbus-daem 30980 root 1u CHR 1,3 0t0 5 xfce-image/dev/null dbus-daem 30980 root 2u CHR 1,3 0t0 5 xfce-image/dev/null grep 31202 root 9w REG 8,7 0 4154873 xfce-image.lockseems we have to get the ids and kill them somehow. Will check it later as I'm now tired ...
Created by: manjaro
It is more and more a dbus-issue:
Created by: manjaro
Host: SystemD
Image: root
Machine-ID (etc): none
Machine-ID (lib): creating sym-link in lib
Result:
==> machine-id (etc): 49a8880efcb54510b96a07dfd314f6a8 ==> machine-id (lib): 2b98d32e020edcb13ce8e2ef5497c6ed lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. ==> running processes: mkchroot 876 root 9w REG 8,7 0 3937142 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock basestrap 898 root 9w REG 8,7 0 3937142 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock basestrap 7225 root 9w REG 8,7 0 3937142 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock grep 7227 root 9w REG 8,7 0 3937142 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying overlay ... ==> Done [Base installation] (root-image)Image: xfce
Machine-ID (etc): from root-image
Machine-ID (lib): from root-image (symlink)
Result:
( 66/395) installing gnome-vfs [######################] 100% (gconftool-2:10080): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. ==> machine-id (etc): 49a8880efcb54510b96a07dfd314f6a8 ==> machine-id (lib): 2b98d32e020edcb13ce8e2ef5497c6ed lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. ==> running processes: mkchroot 7440 root 9w REG 8,7 0 3937196 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock basestrap 7461 root 9w REG 8,7 0 3937196 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock basestrap 10300 root 9w REG 8,7 0 3937196 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock grep 10302 root 9w REG 8,7 0 3937196 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... ==> Done [xfce installation] (xfce-image)Created by: manjaro
Host: SystemD
Image: root
Machine-ID (etc): none
Machine-ID (lib): copying from root-image to lib after image creation
Result:
==> machine-id (etc): 9ddb5257d4504b0dbea8153ffbb84b4d lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. ==> running processes: mkchroot 14248 root 9w REG 8,7 0 3937140 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock basestrap 14270 root 9w REG 8,7 0 3937140 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock basestrap 20530 root 9w REG 8,7 0 3937140 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock grep 20532 root 9w REG 8,7 0 3937140 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying overlay ... ==> Done [Base installation] (root-image)Image: xfce
Machine-ID (etc): from root-image
Machine-ID (lib): from root-image (cp)
Result:
( 66/399) installing gnome-vfs [######################] 100% (gconftool-2:23408): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. (221/399) installing libgksu [######################] 100% (gconftool-2:23502): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. ==> machine-id (etc): 9ddb5257d4504b0dbea8153ffbb84b4d ==> machine-id (lib): 9ddb5257d4504b0dbea8153ffbb84b4d lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. ==> running processes: mkchroot 20746 root 9w REG 8,7 0 3937155 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock basestrap 20767 root 9w REG 8,7 0 3937155 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock basestrap 23631 root 9w REG 8,7 0 3937155 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock grep 23633 root 9w REG 8,7 0 3937155 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... ==> Done [xfce installation] (xfce-image)Created by: manjaro
Host: SystemD
Image: root
Machine-ID (etc): cp host machine-id to root-image before and after creation
Machine-ID (lib): cp host machine-id to root-image before and after creation
Result:
==> machine-id (etc): 0a4ee9aed2d4436badf51507147e6c42 ==> machine-id (lib): 2b98d32e020edcb13ce8e2ef5497c6ed ==> running processes: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. grep 2056 root 9w REG 8,7 0 3937141 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock mkchroot 28100 root 9w REG 8,7 0 3937141 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock basestrap 28121 root 9w REG 8,7 0 3937141 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying overlay ... ==> Done [Base installation] (root-image)Image: xfce
Machine-ID (etc): from root-image
Machine-ID (lib): from root-image (cp)
Result:
( 66/399) installing gnome-vfs [######################] 100% (gconftool-2:5001): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. (221/399) installing libgksu [######################] 100% (gconftool-2:5092): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. ==> machine-id (etc): 2b98d32e020edcb13ce8e2ef5497c6ed ==> machine-id (lib): 2b98d32e020edcb13ce8e2ef5497c6ed ==> running processes: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. mkchroot 2273 root 9w REG 8,7 0 3984187 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock basestrap 2294 root 9w REG 8,7 0 3984187 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock grep 5222 root 9w REG 8,7 0 3984187 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... ==> Done [xfce installation] (xfce-image)Created by: manjaro
Host SystemD:
Image: root
Machine-ID (etc): cp host machine-id to root-image before creation
Machine-ID (lib): cp host machine-id to root-image before and after creation to create miss-match
Result:
==> machine-id (etc): bfdfcf9f5ef74481b550cf2547a54499 ==> machine-id (lib): 2b98d32e020edcb13ce8e2ef5497c6ed ==> running processes: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. mkchroot 9166 root 9w REG 8,7 0 3937141 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock basestrap 9187 root 9w REG 8,7 0 3937141 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock grep 15447 root 9w REG 8,7 0 3937141 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying overlay ... ==> Done [Base installation] (root-image)Image: xfce
Machine-ID (etc): from root-image
Machine-ID (lib): from root-image
Result:
( 66/399) installing gnome-vfs [######################] 100% (gconftool-2:18325): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. (221/399) installing libgksu [######################] 100% (gconftool-2:18419): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. Updating font cache... done. ==> machine-id (etc): bfdfcf9f5ef74481b550cf2547a54499 ==> machine-id (lib): bfdfcf9f5ef74481b550cf2547a54499 ==> running processes: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. mkchroot 15664 root 9w REG 8,7 0 3984187 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock basestrap 15685 root 9w REG 8,7 0 3984187 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock grep 18547 root 9w REG 8,7 0 3984187 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... ==> Done [xfce installation] (xfce-image)Created by: manjaro
Host: SystemD
Image: root
Machine-ID (etc): none
Machine-ID (lib): none
Result:
==> machine-id (etc): c6e3303a48854925a538210d331cdbc9 ==> running processes: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. mkchroot 22547 root 9w REG 8,7 0 3937140 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock basestrap 22569 root 9w REG 8,7 0 3937140 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock grep 28824 root 9w REG 8,7 0 3937140 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/root-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying overlay ... ==> Done [Base installation] (root-image)Image: xfce
Machine-ID (etc): from root-image
Machine-ID (lib): from xfce-image
Result:
( 66/385) installing gnome-vfs [######################] 100% (gconftool-2:31621): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. (221/385) installing libgksu [######################] 100% (gconftool-2:31712): GConf-WARNING **: Client failed to connect to the D-BUS daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified Autolaunch error: X11 initialization failed. Updating font cache... done. ==> machine-id (etc): c6e3303a48854925a538210d331cdbc9 ==> machine-id (lib): c6e3303a48854925a538210d331cdbc9 ==> running processes: lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. mkchroot 29041 root 9w REG 8,7 0 3937155 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock basestrap 29062 root 9w REG 8,7 0 3937155 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock grep 31836 root 9w REG 8,7 0 3937155 /home/phil/dev/git/manjaro/basic/manjaro-tools-iso-profiles/xfce-minimal/xfce-minimal/x86_64/xfce-image.lock -> Cleaning up what we can warning: database file for 'core' does not exist warning: database file for 'extra' does not exist warning: database file for 'community' does not exist warning: database file for 'multilib' does not exist -> Copying xfce-overlay ... -> Congiguring SystemD .... -> Setting cronie ... -> Setting cupsd ... -> Setting tlp ... -> Setting tlp-sleep ... ==> Done [xfce installation] (xfce-image)Created by: udeved
Cool testing Phil.
So is this a bug in dbus or 'feature'? I still don't understand why it wants to launch dbus and x11.
Would it help to put some xserver depend back on root-image, ie the x11 protocol is present?
Created by: manjaro
If you restarted your PC and didn't do anything yet, then mostly it goes thru without issues. However it might throw you some like this also, but going Taliban on it works:
Created by: manjaro
For me manjaro-tools
a98cf213caand iso-profiles c505906 are working just fine. Maybe review it once more and close the issue if it is solved also for you ...Created by: udeved
I read yesterday about schroot, which is supposed to terminate processes.
We could make a test branch at some point and swap chroot with schroot and see how it goes.
Created by: manjaro
maybe. for now the workaround just works. first image created by manjaro-tools can be found here.
Created by: udeved
Btw, do we use the right mount args to mount /dev and its submounts in util-mount,sh?
Created by: manjaro
Didn't check that. Maybe some has changed in devtools and we have to adopt. When I find time I'll check it ...
Created by: udeved
I will test this later the day.
github.com/manjaro/manjaro-tools@de53d47e66Created by: udeved
There has been a gtk3 update.
I just build my lxqt-openrc profile unstable and no process was terminated.
Perhaps this error has been fixed as it was pkg based?
Created by: manjaro
Well, keep it in it. It doesn't matter. It happens sometimes and the workaround doesn't hurt. We can start to clean up our code later on (I mean the commented test code).
Created by: udeved
I made some tests yesterday with xfce.minimal.
How we create the chroot is independent of the error, ie directly calling basestrap also produces this error. It always kills dbus processes, not matter if basestrap, mkchroot or mkiso.
Created by: manjaro
Ok, then we keep our workaround in it as it is now for safety. I assume we can close this one then with won't fix or so.
Created by: udeved
https://forum.manjaro.org/index.php?topic=19605.msg177673#msg177673
Phil, I don't know if manjaroiso just needs rebuild, but I thought you also fixed it in manjaroiso?
I think, whatever packages start this dbus stuff, its probably not meant to be left running after install.
Created by: manjaro
No, I only fixed it in manjaro-tools. I don't have it in manjaroiso yet. I changed some in testing/unstable, yes but didn't add the umount/pkill workaround to manjaroiso. He might switch over to manjaro-tools. Did you release 0.9.5.7 yet? Rob is about to push testing to stable now ...
Created by: udeved
No, not yet, and I think rob did testing update last night. I just saw the boxit notifications.
I thought, I would eventually push 0.9.5.7 to testing directly and push 0.9.6 to unstable, excaept somebody want to take on the bash completions for 0.9.6
Created by: manjaro
Yes, some got added to testing but not yet released to stable branch. Whatever you put into testing will be soon pushed over to stable. I'm fine with 0.9.6 in unstable.