Bug 36387 - debian/scripts: daemon --user should contain colon instead of period
Summary: debian/scripts: daemon --user should contain colon instead of period
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 14:42 UTC by Marcel de Rooy
Modified: 2024-03-21 14:43 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel de Rooy 2024-03-21 14:42:52 UTC
Documentation says:
      -u, --user=user[:group] - Run the client as user[:group]

Koha uses a period. So thats formally incorrect (but seems to work).
Comment 1 Marcel de Rooy 2024-03-21 14:43:02 UTC
koha-es-indexer:            --user=$name-koha.$name-koha"
koha-es-indexer:            --user=$name-koha.$name-koha"
koha-es-indexer:            --user=$name-koha.$name-koha"
koha-functions.sh:            --user="$instancename-koha.$instancename-koha" \
koha-functions.sh:            --user="$instancename-koha.$instancename-koha" \
koha-functions.sh:            --user="$instancename-koha.$instancename-koha" \
koha-functions.sh:            --user="$instancename-koha.$instancename-koha" \
koha-functions.sh:            --user="$instancename-koha.$instancename-koha" \
koha-functions.sh:            --user="$instancename-koha" \
koha-functions.sh:            --user="$instancename-koha" \
koha-indexer:            --user=$name-koha.$name-koha"
koha-indexer:            --user=$name-koha.$name-koha"
koha-indexer:            --user=$name-koha.$name-koha"
Comment 2 Marcel de Rooy 2024-03-21 14:43:27 UTC
koha-sip:                    --user=${name}-koha.${name}-koha"
koha-sip:                    --user=${name}-koha.${name}-koha"
koha-worker:            --user=$name-koha.$name-koha"
koha-worker:            --user=$name-koha.$name-koha"
koha-worker:            --user=$name-koha.$name-koha"
koha-zebra:                    --user=${name}-koha.${name}-koha"
koha-zebra:                    --user=${name}-koha.${name}-koha"