Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67294 - xinit fail to start when /bin/sh is linked to zsh

Attached to Project: Arch Linux
Opened by nemya (nemya9066) - Thursday, 16 July 2020, 10:09 GMT
Last edited by freswa (frederik) - Thursday, 16 July 2020, 11:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If I link my /bin/sh to zsh xinit fail to start and the system freeze instead requiring a hard reboot As someone on the forum suggested I ran an strace -f on xinit and it appear that the error have to do with permissions to the IO ports (I included the strace log)
The main problem with this bug is that it can be very hard to debug as any user casually changing their sh would never expect that to be the cause of the issue I only figured it out as by coincidence I rebooted just after changing my sh, twice before the same issue happened to me and I couldn't figure out the reason and had to do a reinstall.

Additional info:
* package version(s) : 1.4.1-2
* config and/or log files etc.
> Xorg log: https://gist.github.com/nemya9066/e392fb39382a3f22b975badec565fd3d
> strace -f xinit log: https://gist.github.com/nemya9066/1b7d816ec4f0332bd3c57e9952d0f864
* link to upstream bug report, if any
https://gitlab.freedesktop.org/xorg/app/xinit/-/issues/16


Steps to reproduce: install zsh ,link your /bin/sh to zsh and call xinit

This task depends upon

Closed by  freswa (frederik)
Thursday, 16 July 2020, 11:30 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Linking binaries randomly is not supported

Loading...