Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uplesspipe regression #2808
Comments
andrewdavidwong
added
bug
C: core
labels
May 13, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
May 13, 2017
marmarek
closed this
in
marmarek/qubes-core-admin-linux@e62acf8
May 26, 2017
added a commit
to QubesOS/qubes-core-admin-linux
that referenced
this issue
May 26, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 29, 2017
Automated announcement from builder-github
The package qubes-core-dom0-linux-3.2.14-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
May 29, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-dom0-cur-test
label
May 29, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
May 29, 2017
Closed
core-admin-linux v3.2.14 (r3.2) #61
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jul 5, 2017
Automated announcement from builder-github
The package qubes-core-dom0-linux-4.0.1-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Jul 5, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-dom0-cur-test
label
Jul 5, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jul 5, 2017
Closed
core-admin-linux v4.0.1 (r4.0) #105
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Jul 11, 2017
Automated announcement from builder-github
The package qubes-core-dom0-linux-3.2.15-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Jul 11, 2017
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
v6ak commentedMay 13, 2017
Qubes OS version
R3.2
Expected behavior:
In dom0, less displays just the content without preprocessing with complex parsers of attacker's choice.
Actual behavior:
Lesspipe is used, although there is an attempt to disable it.
Steps to reproduce the behavior:
General notes:
I see the attempt to disable it with /etc/profile.d/zz-disable-lesspipe. Unfortunately, Bash does not process this file, it seems to process just *.sh files there. Just copying the file under right filename helps.
The lesspipe is also defined for csh in profile.d. I am not a csh user and it is unclear how much is it supported in Qubes dom0, but if you want to fix it, it seems we have to use unsetenv instead of unset:
Last but not least, some automated test might be useful. Not sure where it should be added to, but the test itself looks pretty easy, e.g.:
bash -c env | (! grep ^LESS)
Maybe interactive session should be forced there:
(bash <<< env) | (! grep ^LESS)
The same can be applied to csh, just replace "bash" with "csh". The practical issue is that csh is not installed by default.
Related issues:
Original issue: #1014