Look in /var/log/portage/elog/summary.log ?jankom wrote:Hi,
Is there a way to recover compile messages after eix-sync command and subsequent emerge -avuND --with-bdeps=y @world command?



It is only a good security feature when it matches or meets the user's individual security needs. Security features that exceed this threshold are too restrictive and can be a hindrance more than a help. Fortunately, you can modify the ssh configuration to meet your security requirements. With regards to timeouts, you can look at:jankom wrote:My problem is that when I do an eix-sync system update on a remote box (ssh connected virtual server) the connection cuts out after a certain time of user inactivity (probably a good security feature) I lose my terminal to the remote machine. Output (console-terminal) of the emerge -avuND --with-bdeps=y @world command is gone because compiling typically takes long time.
This is not a problem on my home machine because even after the "emerge..." command completes after a couple of days the terminal is still there, so I can review these messages and act upon them if needed.
Code: Select all
ServerAliveCountMax
Sets the number of server alive messages (see below) which may be sent without ssh(1) receiving any messages back from the server. If this threshold is reached while server alive messages are being sent, ssh will disconnect from the server, terminating the session. It is important to note that the use of server alive messages is very different from TCPKeepAlive (below). The server alive messages are sent through the encrypted channel and therefore will not be spoofable. The TCP keepalive option enabled by TCPKeepAlive is spoofable. The server alive mechanism is valuable when the client or server depend on knowing when a connection has become unresponsive. The default value is 3. If, for example, ServerAliveInterval (see below) is set to 15 and ServerAliveCountMax is left at the default, if the server becomes unresponsive, ssh will disconnect after approximately 45 seconds.
ServerAliveInterval
Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) will send a message through the encrypted channel to request a response from the server. The default is 0, indicating that these messages will not be sent to the server.Code: Select all
ServerAliveInterval 999999
ServerAliveCountMax 999999
Thank you Hu. I was trying to point out that besides addressing the issue of saving emerge output, there also has to be a way to configure the ssh timeout to better suit the user's needs using ssh_config. I do not think it is desirable to have ssh timeout when doing Gentoo updates remotely. My post was mostly theoretical and I should have been more clear.Hu wrote:ServerAlive* is only to detect when the peer becomes unavailable, whether due to crash or suspend. It is not sensitive to idle time, and will not drop a session solely due to inactivity by the user.
The most useful posts are at the last page I think:jankom wrote: A corollary question (again, just my curiosity):
Desktop (local) machine
/var/log/portage/ has two directories: elog and log
/var/log/portage/elog/ directory is empty
/var/log/portage/log/ directory has another elog directory which has the summary.log file.
In addition /var/log/portage/log/ directory has zillion log files pertaining to individual package compile logs. In fact presently it has 2G total content
Remote machine
has only /var/log/portage/elog/ directory containing just the summary.log file
Is there an explanation for this? Something in the make.conf file that is different between the two systems? Why there is no individual package log files in the remote machine?
I try to manage these two machines to be similar except for the fact that the home machine is gui capable. I only need terminal programs on the remote machine.
jankom