!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

297 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.105 Servers

Load older messages


SenderMessageTime
11 Dec 2024
@jade_:matrix.orgjade_i just am not sure how we can fix it21:36:36
@rhelmot:matrix.orgrhelmothttps://git.lix.systems/lix-project/lix/issues/545 oh yeah this is the exact set of failures I'm seeing21:39:12
@rhelmot:matrix.orgrhelmotwould we take a PR that marks those tests as SKIP if it detects the bad apparmor settings21:50:46
@grimmauld:grimmauld.deGrimmauld I HAVE BEEN SUMMONED 22:01:27
@grimmauld:grimmauld.deGrimmauldwassup?22:01:30
@rhelmot:matrix.orgrhelmotmeow22:01:48
@rhelmot:matrix.orgrhelmotsee abov22:01:58
@rhelmot:matrix.orgrhelmot * see above22:01:59
@grimmauld:grimmauld.deGrimmauldoh. Yeah i occasionally get rebuild fails too with apparmor; typically when writing a new initram22:02:36
@grimmauld:grimmauld.deGrimmauldi will put it on the list of apparmor things to fix, i suppose22:03:07
@grimmauld:grimmauld.deGrimmauldhmm this is ubuntu defaults. I suppose i'll spin up some ubuntu VM and test some time soon22:07:31
@grimmauld:grimmauld.deGrimmauldi just recently started contributing to apparmor upstream, but i believe this is fixable. Just isn't high on my list for now, first is getting decent apparmor development tooling working on nix to not break shit22:08:34
@grimmauld:grimmauld.deGrimmauld * i just recently started contributing to apparmor upstream, i believe this is fixable. Just isn't high on my list for now, first is getting decent apparmor development tooling working on nix to not break shit22:08:44
@rhelmot:matrix.orgrhelmotfantastic, thank you!22:10:41
@grimmauld:grimmauld.deGrimmauld

for now, four options:

  • contribute yourself
  • write a profile to allow it
  • disable apparmor
  • wait
22:11:35
@jade_:matrix.orgjade_god damn our gerrit is dying so hard23:05:07
12 Dec 2024
@puck:puck.moepuckis it doing the thing again00:09:45
@jade_:matrix.orgjade_idk, it is just being extremely slow01:27:51
@charles:computer.surgeryCharlesif it makes you feel any better, today my gitlab instance took 10 minutes to save the cache for a CI run02:54:52
@guhou:matrix.orgGus joined the room.04:14:19
@aloisw:julia0815.dealoisw
In reply to @rhelmot:matrix.org
would we take a PR that marks those tests as SKIP if it detects the bad apparmor settings
The better option would be to detect the apparmor mess at sandbox setup time and invoke sandbox fallback accordingly.
06:30:31
@rhelmot:matrix.orgrhelmotwhat would that look like technically?06:30:58
@rhelmot:matrix.orgrhelmotI wasn't aware we had a fallback sandbox06:31:04
@aloisw:julia0815.dealoiswThere is no fallback sandbox. Sandbox fallback means the sandbox gets disabled when its setup fails.06:32:10
@rhelmot:matrix.orgrhelmotdisabling the sandbox means even more derivations will fail so that sounds like not the goal06:33:28
@rhelmot:matrix.orgrhelmotthe suggestion I was making was that the lix tests should be modified to work under this bad sandbox. we still want lix to work even if we're building with an old nix06:35:15
@aloisw:julia0815.dealoisw
In reply to @rhelmot:matrix.org
disabling the sandbox means even more derivations will fail so that sounds like not the goal
It will not cause additional failures, at worst it will make failure modes slightly different.
06:35:24
@aloisw:julia0815.dealoisw
In reply to @rhelmot:matrix.org
the suggestion I was making was that the lix tests should be modified to work under this bad sandbox. we still want lix to work even if we're building with an old nix
IIRC the problem is that Ubuntu's AppArmor settings break setting up a Lix sandbox inside a Lix sandbox, versions do not matter.
06:36:48
@rhelmot:matrix.orgrhelmotI thought the suggestion you were making was that we change the lix sandbox to not instantiate itself if it detects the bad apparmor settings06:37:18
@aloisw:julia0815.dealoiswFixing sandbox fallback would only disable the inner sandbox instead of making it fail.06:37:26

Show newer messages


Back to Room ListRoom Version: 10