Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942931 - net-proxy/tayga: enhancement of init.d script
Summary: net-proxy/tayga: enhancement of init.d script
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: YiFei Zhu
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-11-06 09:08 UTC by joanandk
Modified: 2025-06-22 07:43 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for /etc/init.d/tayga (tayga_init.patch,1.04 KB, patch)
2024-11-06 09:08 UTC, joanandk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description joanandk 2024-11-06 09:08:17 UTC
Created attachment 907992 [details, diff]
Patch for /etc/init.d/tayga

Hi,

I would suggest this init file to automatically start tayga. This does not make use of net.nat64, but creates the tun with the necessary routes extracted from the tayga.conf file.

BR
Comment 1 Benda Xu gentoo-dev 2024-12-01 13:21:29 UTC
Thanks joanandk!
Comment 2 YiFei Zhu 2025-06-21 17:36:41 UTC
Sorry for the slow response. I just asked the new upstream for feedback on this patch: https://github.com/apalrd/tayga/pull/100#issuecomment-2993662906

Upstream said

> That script seems to assume one of the 6->4 modes, rather than a 4->6 mode. It would work well with the example config, but that is not the only architecture Tayga supports. I've provided the function in the conf.d file for the user to provide their own ip commands for their use case.

Considering that the patch as it currently stands lacks a way for the user to customize in the event that it runs under a different mode, and now upstream is developing their own solution, I think we can drop this?
Comment 3 joanandk 2025-06-22 07:43:16 UTC
> I think we can drop this?

Yes, I will have a look at the new conf.d file.

Thanks and BR