W dniu 21.09.2021 o 11:00, Richard W.M. Jones pisze:
On Mon, Sep 20, 2021 at 11:45:39AM -0600, Jerry James wrote:
On Mon, Sep 20, 2021 at 10:49 AM Julian Sikorski <belegdol@xxxxxxxxx> wrote:
my local kernel rebuilds have started failing for no apparent reason - I
was using a similar command successfully for several months.
/mnt/openmediavault is a samba share. This is what gets output into the log:
[snip]
/mnt/openmediavault/kernel/results/fedora-34-x86_64/pesign-113-16.fc35/pesign-113-16.fc34.x86_64.rpm:
(39, fsync failed: Permission denied)
I suspect that ^^^^ is the real problem, and the incorrect checksum is
a result of not being able to read or write the filesystem. Can you
verify correct ownership and permissions on every directory in that
path?
If fsync(2) failed then that would be happening after the file
descriptor was open, so it wouldn't be filesystem permissions but
probably SELinux.
Rich.
I am seeing no errors in setroubleshoot and setting selinux to
permissive does not help either. Can it be the selinux of the
bootstrapped instance, and if so, how can I control it? There is nothing
obvious in the logs of the host:
wrz 21 22:14:37 napoleon2 userhelper[10771]: running
'/usr/libexec/mock/mock --chain --localrepo /mnt/openmediavault/kernel/
-r fedora-34-x86_64 --disable-plugin=tmpfs --enable-plugin=yum_cache
--isolation=simple ../pesign/pesign-113-16.fc35.src.rpm
redhat/rpm/SRPMS/kernel-5.14.6-300.s0ix02.fc34.src.rpm --with baseonly
--without debuginfo --define=pe_signing_token NSS Certificate DB
--define=pe_signing_cert Julians Secure Boot signing key - Julian
Sikorski' with root privileges on behalf of 'julas'
wrz 21 22:14:39 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-run-pesign.mount: Deactivated
successfully.
wrz 21 22:14:39 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-var-lib-mock-fedora\x2d34\x2dx86_64-root.mount:
Deactivated successfully.
wrz 21 22:14:39 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-var-cache-dnf.mount:
Deactivated successfully.
wrz 21 22:14:39 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-var-cache-yum.mount:
Deactivated successfully.
wrz 21 22:14:39 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-dev-pts.mount: Deactivated
successfully.
wrz 21 22:14:39 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-dev-shm.mount: Deactivated
successfully.
wrz 21 22:14:39 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-sys.mount: Deactivated
successfully.
wrz 21 22:14:39 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-proc.mount: Deactivated
successfully.
wrz 21 22:14:41 napoleon2 audit[10940]: DEL_USER pid=10940 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=delete-user id=1000 exe="/usr/sbin/userdel" hostname=? addr=?
terminal=? res=success'
wrz 21 22:14:41 napoleon2 audit[10940]: USER_MGMT pid=10940 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=delete-mail-file id=1000 exe="/usr/sbin/userdel" hostname=?
addr=? terminal=? res=success'
wrz 21 22:14:41 napoleon2 audit[10940]: USER_MGMT pid=10940 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=deleting-home-directory id=1000 exe="/usr/sbin/userdel"
hostname=? addr=? terminal=? res=success'
wrz 21 22:14:41 napoleon2 audit[10947]: DEL_GROUP pid=10947 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=delete-group id=135 exe="/usr/sbin/groupdel" hostname=? addr=?
terminal=? res=success'
wrz 21 22:14:41 napoleon2 audit[10947]: GRP_MGMT pid=10947 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=delete-shadow-group id=135 exe="/usr/sbin/groupdel" hostname=?
addr=? terminal=? res=success'
wrz 21 22:14:41 napoleon2 audit[10953]: ADD_GROUP pid=10953 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=add-group id=135 exe="/usr/sbin/groupadd" hostname=? addr=?
terminal=? res=success'
wrz 21 22:14:41 napoleon2 audit[10953]: GRP_MGMT pid=10953 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=add-shadow-group id=135 exe="/usr/sbin/groupadd" hostname=?
addr=? terminal=? res=success'
wrz 21 22:14:41 napoleon2 audit[10959]: ADD_USER pid=10959 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=add-user acct="mockbuild" exe="/usr/sbin/useradd" hostname=?
addr=? terminal=? res=success'
wrz 21 22:14:41 napoleon2 audit[10959]: USER_MGMT pid=10959 uid=0
auid=1000 ses=3
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
msg='op=add-home-dir id=1000 exe="/usr/sbin/useradd" hostname=? addr=?
terminal=? res=success'
wrz 21 22:14:46 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-run-pesign.mount: Deactivated
successfully.
wrz 21 22:14:46 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-var-lib-mock-fedora\x2d34\x2dx86_64-root.mount:
Deactivated successfully.
wrz 21 22:14:46 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-var-cache-dnf.mount:
Deactivated successfully.
wrz 21 22:14:46 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-var-cache-yum.mount:
Deactivated successfully.
wrz 21 22:14:46 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-dev-pts.mount: Deactivated
successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-dev-shm.mount: Deactivated
successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-sys.mount: Deactivated
successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64-root-proc.mount: Deactivated
successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-mnt-openmediavault-kernel-results-fedora\x2d34\x2dx86_64.mount:
Deactivated successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-var-cache-dnf.mount:
Deactivated successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-var-cache-yum.mount:
Deactivated successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-dev-pts.mount:
Deactivated successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-dev-shm.mount:
Deactivated successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-sys.mount:
Deactivated successfully.
wrz 21 22:14:47 napoleon2 systemd[1]:
var-lib-mock-fedora\x2d34\x2dx86_64\x2dbootstrap-root-proc.mount:
Deactivated successfully.
Best regards,
Julian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure