Comments (9)
Of note, I stumbled in this mess while trying to re-validate ubuntu in LX now that 22.04 has an image. It's still broken in other 'fun' ways.
e.g.
root@ubt2204:~# curl -6 ifconfig.co
2a02:578:470f:10::159
root@ubt2204:~# ping6 ifconfig.co
ping6: IPV6_RECVERR: Protocol not available
The last known version to work is 16.04
root@ubuntu-14-04-b:~# curl -6 ifconfig.co
2a02:578:470f:10::159
root@ubuntu-14-04-b:~# ping6 ifconfig.co
WARNING: your kernel is veeery old. No problems.
PING ifconfig.co(2606:4700:3036::ac43:85e4) 56 data bytes
64 bytes from 2606:4700:3036::ac43:85e4: icmp_seq=1 ttl=59 time=3.08 ms
64 bytes from 2606:4700:3036::ac43:85e4: icmp_seq=2 ttl=59 time=3.79 ms
^C
--- ifconfig.co ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 3.088/3.439/3.791/0.356 ms
IIRC the warning is because it does some sort of fallback, which we newer ubuntu's do not.
from illumos-omnios.
This warrants the question, is this worth fixing in lx_init if the actual user-space stuff is not going to be happy and have weird unpredictable results depending (on I assume the syscalls it tries).
from illumos-omnios.
If OmniOS doesn't have https://smartos.org/bugview/OS-4683 it is probably also something that should be pulled in.
from illumos-omnios.
If OmniOS doesn't have https://smartos.org/bugview/OS-4683 it is probably also something that should be pulled in.
We don't, but it's one we definitely should look into.
from illumos-omnios.
FWIW, on SmartOS, we assume that if there's a static IP set, there needs to also be a static gateway defined.
from illumos-omnios.
That would also be acceptable if a 2nd defrouter entry could take an ipv6 one.
from illumos-omnios.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from illumos-omnios.
Unstale
from illumos-omnios.
For those playing a round at home
cat > /usr/local/sbin/svc_lx_helper << SVC_LX_HELPER
#!/usr/bin/bash
echo "Mounting ZFS datasets ..."
/native/sbin/zfs mount -a
if [ ! -e /etc/inet/ndpd.conf ]; then
echo "Creating /etc/inet/ndpd.conf ..."
mkdir -p /etc/inet
cat > /etc/inet/ndpd.conf << EOF
ifdefault StatefulAddrConf off
ifdefault StatelessAddrConf off
EOF
echo "Reboot triggered by ndpd.conf creationg."
reboot
fi
SVC_LX_HELPER
chmod +x /usr/local/sbin/svc_lx_helper
cat > /etc/systemd/system/lx-helper.service << SYSTEMD_SERVICE
[Unit]
Description=LX Zone Helper
Require=native-usr.service
Before=network-pre.target
[Service]
Type=simple
ExecStart=/usr/local/sbin/svc_lx_helper
[Install]
WantedBy=multi-user.target
SYSTEMD_SERVICE
systemctl daemon-reload
systemctl enable --now lx-helper.service
You can avoid the ::/0 addresses that confuse things by disabling all dynamic addresses so it just sets the default router, you can then use a static address.
Above is a little helper systemd unit that does so, it also mounts all delegated datasets.
from illumos-omnios.
Related Issues (20)
- Panic during install of r151040g on Windows 11 Hyper-V HOT 7
- Logi Bolt keyboard not recognised HOT 3
- duplicate entry in SUNWcs manifest HOT 1
- centos-stream 9 / fedora 35 do not boot under lx HOT 2
- [lx-brand] Failed to create /init.scope control group: Permission denied HOT 3
- modern lx images have broken IPv6 due missing fallback HOT 13
- panic booting an s10 zone with DEBUG bits HOT 2
- Deleting Snapshot rpool
- qemu coroutines get confused about their thread identity HOT 1
- lx - updated clamd using excessive CPU HOT 2
- bhyve unable to allocate memory from reservoir after bloody update HOT 4
- pgrep -o not working properly HOT 2
- OS-4525: lxbrand implement getsockopt(TCP_INFO) HOT 2
- Why is SO_REUSEPORT only defined for _KERNEL? HOT 2
- ipkg zones not updated when updating release HOT 1
- zonecfg help syntax: missing punctuation?
- powertop enables CPU power management persistently via hotkey but will not reverse or disable CPU power management
- OmniOS fails to install on XCP-ng (xen)
- OmniOS crashes at boot on Vultr's KVM unless disable-hv_vmbus=true HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from illumos-omnios.