RaspAP / raspap-balena

Experimental repo 🧪
https://raspap.com/
GNU General Public License v3.0
3 stars 1 forks source link

Installing a systemd Initsystem (Balena) #1

Open billz opened 7 months ago

billz commented 7 months ago

I carved out some time to try deploying our Docker container to Balena. Noting these changes and this forum thread (among others), I ran into the same systemd issue that @jrcichra noted back when our Docker project was under development:

System has not been booted with systemd as init system (PID 1)

So one might say we've come full circle ♾️

I believe @luandro also did some work on deploying RaspAP to Balena at one time.

At any rate, maybe this can serve as a starting point. Good candidate for a bounty?

billz commented 7 months ago

/bounty 300

algora-pbc[bot] commented 7 months ago

💎 $300 bounty • RaspAP

Steps to solve:

  1. Start working: Comment /attempt #1 with your implementation plan
  2. Submit work: Create a pull request including /claim #1 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to RaspAP/raspap-balena!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @ibishal Mar 5, 2024, 8:32:09 AM WIP
🟢 @feliciien Aug 8, 2024, 1:40:16 PM WIP
🟢 @eugenekurasov Sep 17, 2024, 1:59:39 AM WIP
billz commented 7 months ago

@ibishal no one will be assigned, I will review all PRs. Thanks!

NL-TCH commented 7 months ago

can i be assigned as reviewer of this issue? this might impact the use of the overall docker container + the homeassistant add-on

i have tried this in the past without success

billz commented 7 months ago

@NL-TCH you bet. Done and thanks

Neptune650 commented 6 months ago

So if I understand correctly, the docker repo is the one that needs the changes to install the systemd initsystem, and not this one, am I correct in this assumption?

billz commented 6 months ago

@Neptune650 changes specific to supporting Balena will be committed to this repo, thanks!

Neptune650 commented 6 months ago

@billz well I'm admittedly somewhat confused, because as I see it (https://github.com/RaspAP/raspap-balena/commit/976c14a7e223e4077e671ba76d067336083b9013) the current Dockerfile does install systemd already

billz commented 6 months ago

Try deploying it to Balena and I believe the issue will become clear.

syedbarimanjan commented 5 months ago

@billz is this issue still open does it needs to be solved

billz commented 5 months ago

@syedbarimanjan yes to both, and the bounty is still up for grabs.

billz commented 5 months ago

@syedbarimanjan use the one-click 'deploy with balena' button in the readme

Hornet-C commented 4 months ago

I have managed to get a systemd container, the lighttpd.service as well as the hostapd.service running. Problem ist the dnsmasq.service because port 53 is already used by the dnsmasq deployed by balenaos. Obviously one could disable this one, but you'd have to modify your ISO if you need to flash several devices. Has anyone suggestions on how to solve this more elegantly?

billz commented 4 months ago

Good question. Here's a related Balena forum discussion and a proposed solution.

feliciien commented 1 month ago

/attempt #1

Algora profile Completed bounties Tech Active attempts Options
@feliciien 5 bounties from 1 project
MDX, Rust,
JavaScript & more
Cancel attempt
Teak-Rosewood commented 4 weeks ago

is this issue still open?

eugenekurasov commented 2 weeks ago

/attempt #1