Skip to content

Comments

Linux service integration#8430

Open
atavism wants to merge 35 commits intomainfrom
atavism/linux-updates
Open

Linux service integration#8430
atavism wants to merge 35 commits intomainfrom
atavism/linux-updates

Conversation

@atavism
Copy link
Contributor

@atavism atavism commented Jan 22, 2026

For https://github.com/getlantern/engineering/issues/2836

  • Adds Makefile targets to build/stage lanternsvc + systemd unit into the packaging root
  • Adds Linux lanternsvc daemon entrypoint and wires FFI VPN controls to it over IPC

@atavism atavism marked this pull request as draft January 22, 2026 15:55
@atavism atavism marked this pull request as ready for review January 30, 2026 20:22
@garmr-ulfr
Copy link
Contributor

@atavism heads-up, I am in the middle of making some changes to for authenticating the client connected to the socket and respect the provided socket path if it ends with the file name. ATM radiance will tack on radiance.sock to whatever is provided, assuming it's a directory.

@jigar-f
Copy link
Contributor

jigar-f commented Feb 17, 2026

@atavism Anything needed on my end here?

@atavism atavism changed the title Linux service integration: packaging + FFI updates Linux service integration Feb 17, 2026
@atavism
Copy link
Contributor Author

atavism commented Feb 18, 2026

"I noticed you're making changes to the linux peer auth in radiance, but it should be accessible to anyone with sudo permissions, which is why I didn't require a user/group to be created for the lanternd.service in radiance. With the exception of using a daemon, lantern will work on linux using the same VPN calls as other platforms. I do need to make a small change (3 lines) to lantern, but other than that, the daemon should just need to be packaged. There shouldn't need to be any changes in radiance"

Can you check how this is working for you then, @garmr-ulfr? The PR has just been updated to package the daemon

@atavism
Copy link
Contributor Author

atavism commented Feb 18, 2026

With the exception of using a daemon, lantern will work on linux using the same VPN calls as other platforms

@garmr-ulfr So we don't need the FFI/IPC client changes here then? Can you remove those and please test the packaging updates?

@garmr-ulfr
Copy link
Contributor

So we don't need the FFI/IPC client changes here then?

Nope. I tried to make it require as little changes to lantern as possible.

I should have a working version, including packaging, today.

@garmr-ulfr
Copy link
Contributor

@atavism I didn't want to just push to your branch so I created a new one off yours. I opened a new PR(#8483) and defaulted to merge into main, but let me know if I should update it to merge into your instead!

atavism and others added 8 commits February 20, 2026 14:14
* remove windows from upload script until it's building signed exe

* comment for windows
* Show logout when user is free when logged in

* paymnet fix

* added flow for renewal subscription.
* If number if city name is multiple times

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: atavism <atavism@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* update tray menu with new features

* code review updates and use pubspec build number always.

* update comment

---------

Co-authored-by: atavism <atavism@users.noreply.github.com>
* work for stage env

* update var name

* use output var

* set output

* Update nightly.yml

* try to use as env variable

* Update build-macos.yml

* update name

* Remove stage for now & add default value

* keep default and pass value

* Simplify macos changes

* Remove stage again

* More debugging

* compare it as string

* added debug log

* update radiance.

* updated radiance

* update radiance

* use remote source

* more stage changes

* use radiance remote

* Add stage env connection.

* Revert workflows

* generate ffi

* use radiance remote and remove duplication logic

* ran make format

* use in app purchase for macos.

* back to storekit one.

* Switch to user on acknowledge purchase if found.

* use new radiance.

* update radiance.

* do not clear all data

* Harden stage environment toggle and env normalization (#8475)

* Hide onboarding and datacap in ios  (#8466)

* Hide onboarding page and datacap in ios and update build number

* code review updates

* Garmr/ipc auth update (#8468)

* pull in radiance changes

* remove exclude arch in debug mode

* Update to latest radiance with no DNSTT since its breaking stuff (#8470)

* build and release updates (#8455)

* add safe area in plans

* Fix tablet upscaling and cap shared component sizing (#8457)

* update design size for tablets

* add cap scaling

* update mintextadapt

* logo updates and clean-ups

* update text fields

* clean-ups

* clean-ups

* fix scaling issue

---------

Co-authored-by: Jigar-f <jigar@getlantern.org>

* Fix for closing TUN (#8471)

* Fix stage env toggle and store gating

* Narrow followups to staging env

* Enable Play store uploads for internal Android releases (#8467)

* add support for internal Android releases

* use correct name for internal track

* update r0adkll/upload-google-play

* Fix track name

* update versionCode

* update foreground service permission

* disable exact alarm

---------

Co-authored-by: jigar-f <132374182+jigar-f@users.noreply.github.com>
Co-authored-by: garmr-ulfr <104022054+garmr-ulfr@users.noreply.github.com>
Co-authored-by: Jigar-f <jigar@getlantern.org>
Co-authored-by: Myles Horton <afisk@getlantern.org>
Co-authored-by: Jay <110402935+jay-418@users.noreply.github.com>

* Revert back some changes

* Fix issue with stage

* Fix stage issue on windows

* update logs

* revert back macos in app purchase changes

---------

Co-authored-by: atavism <atavism@users.noreply.github.com>
Co-authored-by: garmr-ulfr <104022054+garmr-ulfr@users.noreply.github.com>
Co-authored-by: Myles Horton <afisk@getlantern.org>
Co-authored-by: Jay <110402935+jay-418@users.noreply.github.com>
Co-authored-by: atavism <paul@getlantern.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants