Skip to content

Commit

Permalink
Disable nscd and enable systemd-resolved by default (#426)
Browse files Browse the repository at this point in the history
Changes:
- Disable nscd support in glibc
- Disable crypt support in glibc and move it to libxcrypt
- Enable systemd-resolved by default
- Update nss-mdns to v0.15.1
- Clean up the network-manager package a bit, notably:
  - Switch to meson build
  - Use internal dhcp implementation instead of dhclient (EOL upstream)
  - Fix how it's enabled by default
- Remove dnsmasq as rundep (superseded by systemd-resolved
functionality)
  - Cleanup 32bit package
- Remove unneeded dhclient (superseded by network-manager internal dhcp
client) and libnm-legacy (only used by Scout/Heavy steam runtimes,
doesn't build anyway and not easy to fix)

Closes #422

---------

Signed-off-by: Reilly Brogan <[email protected]>
  • Loading branch information
ReillyBrogan authored Oct 7, 2023
1 parent d35f092 commit 535dc4e
Show file tree
Hide file tree
Showing 68 changed files with 783 additions and 5,105 deletions.
1 change: 0 additions & 1 deletion packages/b/baselayout/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def do_chmod(path, mode):
# Write out a default .profile.. temporary
shelltools.echo("%s/etc/skel/.profile" % get.installDIR(), "source /usr/share/defaults/etc/profile")
shelltools.echo("%s/etc/skel/.bashrc" % get.installDIR(), "source /usr/share/defaults/etc/profile")
shelltools.echo("%s/etc/nsswitch.conf" % get.installDIR(), "hosts: files dns")

# Remove legacy boot link
pisitools.remove("/boot/boot")
4 changes: 4 additions & 0 deletions packages/b/baselayout/files/etc-nsswitch-conf.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Create a symlink to the package manager maintained version of this library.
# This is a workaround for the fact that we don't have upgrade hooks yet.
# This can only run safely during boot.
L+! /etc/nsswitch.conf - - - - ../usr/share/defaults/etc/nsswitch.conf
13 changes: 12 additions & 1 deletion packages/b/baselayout/files/nsswitch.conf
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
hosts: files mymachines mdns4_minimal [NOTFOUND=return] dns mdns4 myhostname
### This file is managed by the Solus package manager. Do not edit, your changes will be overridden on future package updates.
## If you need to make changes to this file, you can do the following:
#
## Prevent tmpfiles.d from re-creating the symlink (overriding your changes to the file)
# sudo mkdir -p /etc/tmpfiles.d/
# sudo ln -sv /dev/null /etc/tmpfiles.d/etc-nsswitch-conf.conf
#
## Copy the Solus-managed version of the file to /etc/
# sudo cp /usr/share/defaults/etc/nsswitch.conf /etc/nsswitch.conf
#
## Then you can make your changes to the /etc/nsswitch.conf as needed.
hosts: mymachines mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
11 changes: 10 additions & 1 deletion packages/b/baselayout/pspec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
<AdditionalFile owner="root" permission="0644" target="/usr/lib/os-release">os-release</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/services">services</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/protocols">protocols</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/nsswitch.conf">nsswitch.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/defaults/etc/nsswitch.conf">nsswitch.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/etc-nsswitch-conf.conf">etc-nsswitch-conf.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/defaults/etc/xprofile">system-xprofile</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/skel/.xprofile">user-xprofile</AdditionalFile>
</AdditionalFiles>
Expand All @@ -56,6 +57,14 @@
</Package>

<History>
<Update release="71">
<Date>10-07-2023</Date>
<Version>1.8.0</Version>
<Comment>Package bump</Comment>
<Name>Reilly Brogan</Name>
<Email>[email protected]</Email>
</Update>

<Update release="70">
<Date>06-24-2023</Date>
<Version>1.8.0</Version>
Expand Down
1 change: 0 additions & 1 deletion packages/d/dhclient/abi_used_libs

This file was deleted.

174 changes: 0 additions & 174 deletions packages/d/dhclient/abi_used_symbols

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 535dc4e

Please sign in to comment.