SpongeB0B

joined 8 months ago
 

Hi,

I have a great piece of software, that apparently need HAVE_KPROBES_ON_FTRACE

To config the kernel option I'm using :

make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- menuconfig

The Kernel is Linux/arm64 6.6.63

When I'm doing a search inside menuconfig i get:

Symbol: HAVE_KPROBES_ON_FTRACE [=n]
Type  : bool
Defined at arch/Kconfig:223


Symbol: KPROBES_ON_FTRACE [=n]
Type  : bool
Defined at arch/Kconfig:117
 Depends on: KPROBES [=y] && HAVE_KPROBES_ON_FTRACE [=n] && DYNAMIC_FTRACE_WITH_REGS [=n]

But I found it no where in the menu... and if I add it mannuly in the .config file, then make some more other adapations in menuconfig my manual entry disappear..

Any ideas ?

Maybe HAVE_KPROBES_ON_FTRACE is not supported in 6.6.63 ?

Thanks

[โ€“] SpongeB0B@programming.dev 1 points 2 weeks ago* (last edited 2 weeks ago)

I'm using Devuan ( systemd free ! ) :)

[โ€“] SpongeB0B@programming.dev 0 points 2 weeks ago (2 children)

I believe my initramfs do not support luks encryption, but the link of @DrDystopia@lemy.lol might work.... ๐Ÿคž

 

Hi,

The SBC Raspberry Pi 4 boot on an sdcard with two partition /boot and /

So I managed to encrypt the partition / with cryptsetup

Here the partition of my sd-card

device FILESYS LABEL UUID
sdb1 vfat BOOT ( 9 characters )
sdb2 crrypto_LUKS ( 36 characters )

I've modified the /boot/cmdline.txt

to ( on one line )

console=serial0,115200
console=tty1
root=UUID=#If I try the UUID of sdb2 it fail and also the UUID when I use `cryptsetup luksOpen /dev/sdb2 b2open`
rootfstype=ext4
fsck.repair=yes
loglevel=5
net.ifnames=0
firmware_class.path=/lib/firmware/updates/brcm
rootwait
cryptdevice=UUID=#I dont know which one:b2open

any ideas ?

Thanks.

[โ€“] SpongeB0B@programming.dev 1 points 2 weeks ago (1 children)

ohh ! great ! I'll see if I manage to install it on Devuan Thanks.

[โ€“] SpongeB0B@programming.dev 2 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

๐Ÿคฉ Woo I didn't know nix. It seem a better way to handle package !!!
But so if I have already apt that handle packages, is it compatible to use both on the same system !?

Nix stores all packages in isolation from each other; as a result there are no /bin, /sbin, /lib or /usr directories and all packages are kept in /nix/store instead.

Yes, but it's not reliable. because even if you use a bare linux vm to download the packages and dependency, you never know if the online will have already a dependence that the offline system do not have.

no, the only way is to force the dw of the already downloaded package.

[โ€“] SpongeB0B@programming.dev 1 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Thank you very much @connaisseur@feddit.org

I have tried

apt-get -o Dir::Cache::archives="/to/path" install --download-only apt-offline

But it downloaded only the .deb of apt-offline and not all the dependence tree. Most probably because this machine have them already.

now, remain to force to download also all the dependency tree even if already installed...

[โ€“] SpongeB0B@programming.dev 2 points 2 weeks ago* (last edited 2 weeks ago)

indeed .appimage are an amazing thing as they do not require any special runtime or installation process !
I guess I will have to do my own .appimage of software that do not provide them

 

Hi,

I have an air gaped[^1] device. ( Devuan )

How do you manage to install packages/software on off-line[^1] device ?

I've heard of apt-offline but it seem to bug and I don't know if it's still maintained (last release two years ago)

of course I've tried manually but the dependencies relations are too crazy to do that fully manually

Dependence tree (not complete even) to install for example apt-offline

โ”œโ”€โ”€ Depends
โ”‚ย ย  โ”œโ”€โ”€ Depends
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ Depends
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ Depends
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ python3-dbg_3.9.2-3_amd64.deb
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ libcurl4-gnutls-dev_7.74.0-1.3+deb11u14_amd64.deb
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ python3-pycurl-dbg_7.43.0.6-5_amd64.deb
โ”‚ย ย  โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ python-pycurl-doc_7.43.0.6-5_all.deb
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ python3-httplib2_0.18.1-3_all.deb
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ python3-pycurl_7.43.0.6-5_amd64.deb
โ”‚ย ย  โ”œโ”€โ”€ iso-codes_4.6.0-1_all.deb
โ”‚ย ย  โ”œโ”€โ”€ python3-pysimplesoap_1.16.2-3_all.deb
โ”‚ย ย  โ””โ”€โ”€ python-apt-common_2.2.1_all.deb
โ”œโ”€โ”€ python3-apt_2.2.1_amd64.deb
โ””โ”€โ”€ python3-debianbts_3.1.0_all.deb

Any ideas ?

Thanks.

[^1]: air gaped, off-line
https://en.wikipedia.org/wiki/Air_gap_(networking)

[โ€“] SpongeB0B@programming.dev 1 points 4 months ago

Thank you @gerbercj@lemmy.world sadly it's hosted on google ... :/ https://issuetracker.google.com

If I post here on lemmy, me feature request somebody would be kind to submit to google ?

Thanks.

[โ€“] SpongeB0B@programming.dev 2 points 4 months ago

it's related to the GPS fix. So which is it ?

 

Hi,

I was a very long time I didn't need to created a animated gif... I had a program before to take a static images (.jpg, .png etc..) and convert then into an animated gif..

All the web search engine push for online (aka SaaSS) tool ๐Ÿคฎ

Do you know a program that do that ( Linux )

Thanks.

 

Hi everyone,

Does someone know where I can submit a feature suggestion for Android ?

Thanks

[โ€“] SpongeB0B@programming.dev -2 points 6 months ago* (last edited 6 months ago) (2 children)

AppImage !

  • Open format? Yes
  • Free format? Yes
  • Fully Contained Single Executable Support . Like an exe file for Windows systems Yes (the only one)
  • App Size** The lowest** !

https://en.wikipedia.org/wiki/AppImage

Matrix
https://www.fosslinux.com/42410/snap-vs-flatpak-vs-appimage-know-the-differences-which-is-better.htm
https://phoenixnap.com/kb/flatpak-vs-snap-vs-appimage \

[โ€“] SpongeB0B@programming.dev 2 points 6 months ago (1 children)

Thank you very much @taaz

So you say 2 but with unix socket so it the same as my proposal number 3 ? no ?

I'll check capabilities

 

Hi everyone,

I have a Python program (A) that run under a regular user account. (good)

When some events occur in (A) I need to modify my nftables and only the root is allowed to do so.

I've come up with 3 ways to do that (if you know other please share) but I don't which would be the best.

  1. Make a sudo call from (A) with from subprocess import run but I will need to store the password ! and I don't think is possible to keep it encrypted and decrypted when need it (it's a flaw)
    .
  2. Make (A) writing a file with the requests. Create a (B) daemon (that run as root) that check that file every X and do the necessary
    .
  3. Make (A) do an IPC ( Linux socket ) to (B) daemon (that run as root) and does the necessary.

I suppose that the solution 2 is less heavy that the 3 ? But if I'm not mistaken it will react also slower ?

Thanks.

๐Ÿง

view more: next โ€บ