Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
plymouth
bsc-977007.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc-977007.patch of Package plymouth
Index: plymouth-0.9.2/src/libply-splash-core/ply-terminal.c =================================================================== --- plymouth-0.9.2.orig/src/libply-splash-core/ply-terminal.c +++ plymouth-0.9.2/src/libply-splash-core/ply-terminal.c @@ -503,6 +503,15 @@ ply_terminal_watch_for_vt_changes (ply_t if (terminal->is_watching_for_vt_changes) return; + /* Make sure tty7 is not already in use. See bsc#977007. */ + if (ioctl (terminal->fd, VT_GETMODE, &mode) < 0) + return; + + if (mode.mode == VT_PROCESS) { + ply_trace("/dev/tty7 is already in use."); + return; + } + mode.mode = VT_PROCESS; mode.relsig = SIGUSR1; mode.acqsig = SIGUSR2;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor