Bug 1913245 - texlive-context does not work on Silverblue (/home symlink issue)
Summary: texlive-context does not work on Silverblue (/home symlink issue)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive-base
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-06 11:17 UTC by Mildred
Modified: 2021-02-11 01:52 UTC (History)
3 users (show)

Fixed In Version: texlive-base-20200327-20.fc33 texlive-base-20200327-21.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-31 01:24:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mildred 2021-01-06 11:17:02 UTC
Description of problem:

The problem is also described here: https://tex.stackexchange.com/questions/577769/context-fails-to-work-on-fedora-silvervlue-fatal-format-file-error-im-stymie/577770

With no texlive cache at all, context does not work and shown an error "unable to change to format path '/home/mildred/.cache/texlive/luatex-cache/context/c8ffba5311d077c16376bba44d5fa793/formats/luatex'" which is caused by /home being a symlink, see: https://mailman.ntg.nl/pipermail/ntg-context/2020/099479.html


Version-Release number of selected component (if applicable):

- from texlive-context-20200327-19.fc33

How reproducible: always


Steps to Reproduce:
1. rm -rf ~/.cache/texlive
2. Run context on a file

Actual results:

no generated file


Expected results:

file is generated, and if there is an error, it should return with an error code and be more explicit

Workaround:

Run with HOME=/var/home/yourlogin

Additional info:

Could be fixed easily in `/usr/bin/context`:

--- /usr/bin/context	2020-12-17 22:38:27.000000000 +0100
+++ context.new	2021-01-06 12:16:20.281648220 +0100
@@ -1,5 +1,5 @@
 #!/usr/bin/sh
 export TEXMF=/usr/share/texlive/texmf-dist;
 export TEXMFCNF=/usr/share/texlive/texmf-dist/web2c;
-export TEXMFCACHE=$HOME/.cache/texlive;
+export TEXMFCACHE=$(realpath $HOME/.cache/texlive);
 /usr/bin/mtxrun --script context "$@"

Comment 1 Fedora Update System 2021-01-26 18:08:34 UTC
FEDORA-2021-cf8600300a has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cf8600300a

Comment 2 Fedora Update System 2021-01-26 18:08:34 UTC
FEDORA-2021-ea8190b519 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ea8190b519

Comment 3 Fedora Update System 2021-01-27 01:37:18 UTC
FEDORA-2021-cf8600300a has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cf8600300a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cf8600300a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-01-27 01:51:32 UTC
FEDORA-2021-ea8190b519 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ea8190b519`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ea8190b519

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-01-31 01:24:34 UTC
FEDORA-2021-cf8600300a has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2021-02-03 01:31:21 UTC
FEDORA-2021-969de5378f has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-969de5378f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-969de5378f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-02-11 01:52:45 UTC
FEDORA-2021-969de5378f has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.