[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#872152: debian-edu-config: cleanup cleanup of workstations



On Mon, Aug 14, 2017 at 12:25:10PM -0400, Holger Levsen wrote:
> Package: debian-edu-config
> Version: 1.930
> Severity: normal
> 
> share/ltsp/plugins/ltsp-build-client/Debian-custom/032-edu-pkgs has this, of
> which I expect much is not needed anymore. We should do a cleanup here for
> Buster:
> 
> finalization_diskless_workstation() {
>     # Get rid of lvm2, as it causes the shutdown to hang.
>     in_target apt-get -y purge lvm2
> 
>     # Get rid of some network services we do not want on diskless
>     # workstations
>     in_target apt-get -y purge munin-node xfs
> 
>     # LTSP take care of updating resolv.conf, no need to have
>     # resolvconf try to do the same.
>     in_target apt-get -y purge resolvconf
> 
>     # No dynamic network configuration on diskless clients.
>     in_target apt-get -y purge network-manager wpasupplicant \
>         network-manager-openvpn network-manager-pptp network-manager-vpnc
> 
>     # Do not fail if openvpn isn't installed.  This is the case in Jessie
>     in_target apt-get -y purge openvpn || true
> 
>     # No VPN nor serial network either
>     in_target apt-get -y purge ppp
> 
>     # No modem either
>     in_target apt-get -y purge modemmanager
> 
>     # consolekit is deprecated: replacement is systemd-logind.
>     in_target apt-get -y purge consolekit
> 
>     # cups isn't needed for LTSP clients to be able to print.
>     in_target apt-get -y purge cups
> 
>     # Missing unique ID on the clients, so no use keeping it around
>     in_target apt-get -y purge popularity-contest
> 
>     # Probably not very useful without a disk
>     in_target apt-get -y purge hdparm hddtemp
> 
>     # Remove dependencies pulled in by removed packages
>     in_target apt-get -y --purge autoremove

I guess that only some packages of this list are obsolete (if no longer 
installed by default).

All unneeded packages should be purged to keep the NBD image small. 

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: