pacman 7.0.0 and sandbox

This forum is for discussion about general software issues.

pacman 7.0.0 and sandbox

Postby summers » Tue Mar 04, 2025 10:04 am

Hi,

pacman 7.0.0 uses a sandbox by default, but my kernel (6.2.10 on am33x) doesn't have sandbox enabled :

# CONFIG_SECURITY_LANDLOCK is not set

So does the kernel need updating on this target?

David.
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Re: pacman 7.0.0 and sandbox

Postby summers » Tue Mar 04, 2025 11:19 am

Hmm - kernel 6.2.10 is 20 months old or so -so looks like the problem the kernel for the am33x target has stalled.
make_clickable_callback(MAGIC_URL_FULL, '
', 'https://archlinuxarm.org/packages/armv7h/linux-am33x', '', ' class="postlink"')

Is there a known problem here? Can one change to the generic armv7 kernel:
make_clickable_callback(MAGIC_URL_FULL, '
', 'https://archlinuxarm.org/packages/armv7h/linux-armv7', '', ' class="postlink"')
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Re: pacman 7.0.0 and sandbox

Postby graysky » Tue Mar 04, 2025 8:37 pm

I just updated for this option. Not owning this hardware I am unsure if I bring the kernel package to current upstream. Can you build/test my attempt to update to 6.13.1? Do so knowing it may not boot and you will need to recover.
make_clickable_callback(MAGIC_URL_FULL, '
', 'https://github.com/graysky2/PKGBUILDs/tree/am33x/core/linux-am33x', '', ' class="postlink"')
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: pacman 7.0.0 and sandbox

Postby summers » Wed Mar 05, 2025 8:02 am

I'll try later today. I also left a kernel compiling overnight - I'll try that first. It's on an ad card, so if I take a copy before, even if it doesn't boot, I can pull the card and restore ...
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Re: pacman 7.0.0 and sandbox

Postby summers » Wed Mar 05, 2025 4:29 pm

my compile (almost same options, but without patches) fails with:
[code]No rule to make target 'firmware/regulatory.db', needed by 'drivers/base/firmware_loader/builtin/regulatory.db.gen.o'[/code]

Seems solved here - have yet to check the solution
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Re: pacman 7.0.0 and sandbox

Postby graysky » Wed Mar 05, 2025 8:16 pm

You failed to compile linux-a33x from my fork? It built for me without error (cross compiling but still)
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: pacman 7.0.0 and sandbox

Postby summers » Thu Mar 06, 2025 9:27 am

This was on a raw linux-6.13.5 kernel - I was 6 hours into a compile when you did your first post, and didn't want to stop it. It takes over a day to compile on the pocket beagle.

I check the .config files - there we only minor differences between yours and mine.

Anyway now have started going via makepkg - this will probably take a day until I get results. I'll simultaneously dig into what was going wrong with 6.13.5 ...
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Re: pacman 7.0.0 and sandbox

Postby graysky » Thu Mar 06, 2025 2:16 pm

I compiled them, see:make_clickable_callback(MAGIC_URL_FULL, ' ', 'http://repo-ck.com/test/', '', ' class="postlink"')
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: pacman 7.0.0 and sandbox

Postby summers » Fri Mar 07, 2025 5:44 pm

And two days into a compile on a pocket beagle and get the error:

[code]xz: (stdin): Cannot allocate memory
make[3]: *** [arch/arm/boot/compressed/Makefile:156: arch/arm/boot/compressed/piggy_data] Error 1
make[3]: *** Deleting file 'arch/arm/boot/compressed/piggy_data'
make[2]: *** [arch/arm/boot/Makefile:57: arch/arm/boot/compressed/vmlinux] Error 2
make[1]: *** [arch/arm/Makefile:300: zImage] Error 2
make: *** [Makefile:251: __sub-make] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[/code]

I'll try yours ...
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Re: pacman 7.0.0 and sandbox

Postby summers » Fri Mar 07, 2025 5:58 pm

[code]==> WARNING: architecture 'armv7l' not supported, skipping hook
[/code]
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Next

Return to General

Who is online

Users browsing this forum: No registered users and 24 guests