Bug 57775 - make additional cache_dir types available for Squid
Summary: make additional cache_dir types available for Squid
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Squid
Version: UCS 5.0
Hardware: Other All
: P5 normal
Target Milestone: UCS 5.2-0-errata
Assignee: jeinnolf
QA Contact: Felix Botner
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-27 10:51 CET by Dirk Ahrnke
Modified: 2025-02-20 17:11 CET (History)
3 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID: 09711
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Ahrnke univentionstaff 2024-11-27 10:51:50 CET
The Squid configuration directive cache_dir supports multiple store types (http://www.squid-cache.org/Doc/config/cache_dir/)

Our integration has an UCRV to configure the format but this currently only supports UFS

squid/cache/format: ufs
 The storage system to use. Only "ufs" is currently supported.

This is because only UFS-options can be configured.

# grep ^cache_dir /etc/univention/templates/files/etc/squid/squid.conf
cache_dir @%@squid/cache/format@%@ @%@squid/cache/directory@%@ @%@squid/cache/size@%@ @%@squid/cache/l1_size@%@ @%@squid/cache/l2_size@%@

Especially UCS@School customers with local school servers may want to use format which are more efficient or performant (like "Rock Store" which is the only SMP-aware one) 

At this time it is not possible to use other formats without modifying the template. 
This modification would have to be done on every school server and most likely being removed before the next UCS-Release. For bigger customers this is a lot of work.
Comment 3 Felix Botner univentionstaff 2025-02-14 09:40:03 CET
Successful build
Package: univention-squid
Version: 15.0.2
Branch: 5.2-0
Scope: errata5.2-0


b5fc49db5d6bf2f893fc896557733b6031a02a8f
Comment 4 Juan Pedro Torres univentionstaff 2025-02-14 14:13:39 CET
Installation: OK

tested on a fresh 5.2 and upgraded.
Comment 5 Arvid Requate univentionstaff 2025-02-20 17:11:05 CET
<https://errata.software-univention.de/#/?erratum=5.2x31>