There are many different places where systemd unit files may be placed. Is there a quick and easy way to ask systemd where it read a service’s declaration from, given just the service name?
I'm on CentOS 5.9.
I'd like to determine from the linux shell if a remote web server specifically supports TLS 1.2 (as opposed to TLS 1.0). Is there an easy way to check for that?
I'm not seeing a related option on openssl
but perhaps I'm overlooking something.
Is there a command that list all enabled Apache modules?
To compile something, I needed the zlib1g-dev
package to be installed so I launched an apt-get install zlib1g-dev
.
apt-get
informed me nicely that the package was already auto-installed because of an other package, and that it understands that I want it installed explicitly now :
# apt-get install zlib1g-dev
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
My compilation done, I don't need it any more explicitly, so I want to revert its status to the previous one : auto-installed. This way it will be pruned automatically when it will not be needed any more with a simple apt-get autoremove
.
I cannot do an apt-get remove zlib1g-dev
since some packages still depends on it.
So how may I revert the package zlib1g-dev
installation state to auto-installed ?
I know that I might edit /var/lib/apt/extended_states
by hand from
Package: zlib1g-dev
Auto-Installed: 0
to
Package: zlib1g-dev
Auto-Installed: 1
... but it just doesn't feel right.
I can't send out emails,
need to look into the logs,
but where is the log?