Matwey Kornilov 8c11e5d89d Accepting request 910175 from home:matwey:branches:devel:languages:erlang:Factory
- Changes for 24.0.5:
  * kernel: For gen_tcp:connect/3,4 it is possible to specify a
    specific source port, which should be enough to bind the socket
    to an address with that port before connecting. Unfortunately
    that feature was lost in OTP-17216 that made it mandatory to
    specify the source address to get an address binding, and
    ignored a specified source port if no source address was
    specified. That bug has now been corrected.
- Changes for 24.0.4:
  * stdlib: Fix a bug that could cause a crash when formatting
    tuples using the control sequences p or P and limiting the
    output with the option chars_limit.
  * ssl: Handle cross-signed root certificates when old root
    expired as reported in GH-4877.
  * ssl: The signature selection algorithm has been changed to also
    verify if the client supports signatures using the elliptic
    curve of the server's public/private key pair. This change
    fixes #4958.
  * ssl: Slight optimization of certificate decoding.
  * public_key: Handle cross-signed root certificates when old root
    expired as reported in GH-4877.
  * common_test: An incoming NETCONF notification received before a
    call to ct_netconfc:create_subscription/* caused the connection
    process to fail with badarg. Unexpected notifications are now
    logged in the same way as other unexpected messages.
  * common_test: Add 'receiver' option to ct_netconfc To allow a
    destination for incoming NETCONF notifications to be specified
    at sessions creation. Previously, a caller of
    create_subscription/* became the destination, but RFC 5277
    create-subscription is no longer the only way in which NETCONF

OBS-URL: https://build.opensuse.org/request/show/910175
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=115
2021-08-08 13:02:51 +00:00

# Erlang in openSUSE
## Erlang Port-mapper Daemon and systemd

Erlang Port-mapper Daemon in openSUSE uses systemd socket-activation. In order to fulfill security considerations, EPMd listens on loop-back interface by default. This is enough to run rabbitmq-server, ejabberd and user-started beam processes.

For clustering, please, use ```/etc/systemd/system/epmd.socket.d/``` to configure interfaces to listen on. See man systemd.unit(5) for details.

### Upgrading from sysvinit
```/etc/sysconfig/erlang``` has no effect now, to configure EPMd use systemd capabilities instead.

### Example 1: change port
Create ```/etc/systemd/system/epmd.socket.d/port.conf``` with following content:
```
[Socket]
ListenStream=
ListenStream=127.0.0.1:4444
```
The first line is to discard vendor configuration. The second line will change the port number to listen on to 4444.

### Example 2: enable external interface
To enable accepting external connections to EPMd, create ```/etc/systemd/system/epmd.socket.d/port.conf``` with following content:
```
[Socket]
ListenStream=
ListenStream=0.0.0.0:4369
```
Description
No description provided
Readme 60 MiB
Languages
desktop 100%