Skip to content
Commits on Source (2)
......@@ -389,6 +389,7 @@ install: install-testsuite
share/debian-edu-config/55xfce4-session-debian-edu \
share/debian-edu-config/lightdm-gtk-greeter.conf \
share/debian-edu-config/sudo-ldap.conf \
share/debian-edu-config/edu-firefox-nfs \
share/pam-configs/edu-group \
share/pam-configs/edu-umask \
share/perl5/Debian/Edu.pm \
......
......@@ -23,6 +23,16 @@ files:
link_from => ln_s("/usr/share/debian-edu-config/squid.resolvconf"),
move_obstructions => "true";
debian.workstation.installation::
# Fix black frame issue for mozilla profile on NFS share (workaround for #930125).
# FIXME: check if this is still needed with firefox-esr 68.x
"/etc/X11/Xsession.d/99edu-firefox-nfs"
link_from => ln_s("/usr/share/debian-edu-config/edu-firefox-nfs"),
move_obstructions => "true";
"/etc/profile.d/edu-firefox-nfs.sh"
link_from => ln_s("/usr/share/debian-edu-config/edu-firefox-nfs"),
move_obstructions => "true";
commands:
debian.xfce.(ltspclient|ltspserver).installation::
......@@ -30,17 +40,5 @@ commands:
# but not in Buster). FIXME: Check if this is still needed for Bullseye.
"/usr/bin/apt-get install -y xscreensaver"
contain => in_shell;
debian.workstation.installation::
# Fix black frame issue for mozilla profile on NFS share (workaround for #930125).
# FIXME: check if this is still needed with firefox-esr 68.x
"/usr/bin/echo 'export NSS_SDB_USE_CACHE=\"yes\"' > /etc/X11/Xsession.d/99edu-firefox-nfs"
contain => in_shell;
"/usr/bin/chmod 644 /etc/X11/Xsession.d/99edu-firefox-nfs"
contain => in_shell;
"/usr/bin/echo 'export NSS_SDB_USE_CACHE=\"yes\"' > /etc/profile.d/edu-firefox.sh"
contain => in_shell;
"/usr/bin/chmod 644 /etc/profile.d/edu-firefox.sh"
contain => in_shell;
}
......@@ -12,11 +12,14 @@ debian-edu-config (2.10.66) UNRELEASED; urgency=medium
Buster development cycle to ease setups with ProxyDHCP.)
* Adjust share/debian-edu-config/sudo-ldap.conf. (Closes: #929964)
- Fix sudo-ldap configuration. (The LDAP URI is needed on LDAP clients.)
* Adjust cf3/cf.workarounds. (Closes: #930122)
- Add workaround for bug #930125 to prevent firefox-esr startup issues if
the mozilla profile is on an NFS share. This is done by setting a new
NSS_SDB_USE_CACHE environment variable to 'yes'. Thanks to Mike Gabriel
for spotting the issue and providing the related information.
* Set environment variable to deal with Firefox profile. (Closes: #930122)
This is a workaround for bug #930125, preventing firefox-esr startup issues
if the mozilla profile is on an NFS share).
- Ship share/debian-edu-config/edu-firefox-nfs with NSS_SDB_USE_CACHE="yes"
as content. Thanks to Mike Gabriel for spotting the issue and providing
this information.
- Add instructions to cf3/cf.workarounds to link the 'edu-firefox-nfs' file
to appropriate files below '/etc/X11/Xsession.d' and '/etc/profile.d'.
-- Petter Reinholdtsen <pere@debian.org> Sat, 20 Apr 2019 07:53:26 +0200
......
export NSS_SDB_USE_CACHE="yes"