{"push_id":828254365,"size":1,"distinct_size":1,"ref":"refs/heads/serial","head":"655fefd15302396fcb368cfbb83352bfc3bceb47","before":"fd77270c9ea1987993fc9d9e748b53f6a4a60f43","commits":[{"sha":"655fefd15302396fcb368cfbb83352bfc3bceb47","author":{"email":"6f6c33f020064777da8a82cd2d2142de2c2cdf9d@suse.de","name":"Werner Fink"},"message":"Ask for passphrases not only on the first console of /dev/console\n\nbut also on all other consoles.  This does help on e.g. mainframes\nwhere often a serial console together with other consoles are\nused.  Even rack based servers attachted to both a serial console\nas well as having a virtual console do sometimes miss a connected\nmonitor.\n\nTo be able to ask on all terminal devices of /dev/console the devices\nare collected. If more than one device are found, then on each of the\nterminals a inquiring task for passphrase is forked and do not return\nto the caller.\n\nEvery task has its own session and its own controlling terminal.\nIf one of the tasks does handle a password, the remaining tasks\nwill be terminated.\n\nAlso let contradictory options on the command of\nsystemd-tty-ask-password-agent fail.\n\nSpwan for each device of the system console /dev/console a own process.\nReplace the system call wait() with with system call waitid().\nUse SIGTERM instead of SIGHUP to get unresponsive childs down.\n\nPort the collect_consoles() function forward to a pulbic and strv\nbased function \"get_kernel_consoles()\" in terminal-util.c and use this\nin tty-ask-password-agent.c.  Use hashmap based approach to manage the\npids used for the console devices.","distinct":true,"url":"https://api.github.com/repos/bitstreamout/systemd-serial-console-support/commits/655fefd15302396fcb368cfbb83352bfc3bceb47"}]}