Comments (9)
I do agree though that it would be a good addition. The guy (me) who wrote that global listener test didn't know about that -j 0
option when he wrote it.
from mail-toaster-6.
The MySQL process (and any jailed process, for that matter) can only listen on the IPs within the jail. The only time I'd expect someone to want to alter the listening addresses is when they want MySQL to listen on an public or other IP shared with other jails. But in cases like that, wouldn't using PF rules be a better way to manage that traffic?
from mail-toaster-6.
It did notice when migrating to the new provision system and I have some other jails running, one of them is the old style mysql jail.
The provision base stopped on the listen error
*** checking for host listeners on all IPs ***
88 mysqld 92539 26 tcp4 6 *:3306 *:*
oops!, you should not having anything listening
from mail-toaster-6.
I think that check is in the provision host
step? Which is why, when running provision host
, you may need to stop your "other" jails. Then feel free to start them back up after. Or disable that check. But either way, the global listeners in other jails won't affect the new jails, because they'll be on different IPs. It's only global listeners on the host itself that are problematic, because those listeners may interfere with the listeners in the jail(s).
from mail-toaster-6.
Yes it is the check in provision host. I understand why you check for listerners, just looking if we can distinguish in sockstat if it's in the jail or not
from mail-toaster-6.
just looking if we can distinguish in sockstat if it's in the jail or not
It appears that we can, with the special jail ID of zero: sockstat -j 0
from mail-toaster-6.
So this would be a good addition, or add a note to the documentation, that you have to shutdown any jails with listening ports.
from mail-toaster-6.
that is already noted on the updating page.
from mail-toaster-6.
Ok, then it's just me misreading (not reading).
Closing
from mail-toaster-6.
Related Issues (20)
- Provisioning Dovecot fails to convert from Vpopmail backend to SQL backend HOT 3
- New Dovecot jail is promoted even if POP3/IMAP testing fails HOT 2
- vpopmail build broken FreeBSD 13 HOT 3
- Node 12 not existing in FreeBSD 13 => Haraka fails to provision HOT 2
- acme.sh no longer using Let's Encrypt
- Add rspamd milters HOT 1
- Dovecot not promoting HOT 3
- Lets encrypt certs not making it to Dovecot HOT 2
- SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) + SCRAM-SHA3-512(-PLUS) supports HOT 2
- RFC6331: Moving DIGEST-MD5 to Historic HOT 1
- provisioning of haraka jail fails (Cannot find module 'nopt') HOT 2
- provision rainloop broken - fix HOT 1
- Haraka crashing after provision HOT 11
- Haraka crashes continued HOT 6
- Haraka SMTP Client Pool Issues HOT 3
- Adding alternate domains to the SSL cert HOT 2
- npm ERR! An unknown git error occurred HOT 1
- maildrop: Timeout quota exceeded HOT 4
- horde: no longer installs, needs updates HOT 2
- Explain how sieve can work instead of maildrop HOT 12
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 mail-toaster-6.