At boot time, the following message can pop up :
WARNING : Failed to connect to lvmetad. Falling back to device scanning
This message is displayed, whether running Debian stable or Debian testing.
To get rid of this message, disable lvmetad in /etc/lvm/lvm.conf
Update the initramfs for the current kernel your system uses :
update-initramfs -k $(uname -r) -u; sync
Reboot your system and you’re done !
Ubuntu workaround for this issue
This issue has already been reported in the Debian bug tracking system : #846946
A quick tip to know when a service was restarted for the last time :
ps -p service_process_id -o lstart
/var/log/messages can have some details as well :
grep service_name /var/log/messages
shellcheck is a tool that gives you warnings and suggestions for your shell scripts.
It can be used from the command line. Just install it using your package manager.
There is an other option for checking by submitting your code on shellcheck website for an immediate feedback.
More details available on : Github
yum-security is a plugin to the Red Hat Entreprise Linux package manager yum. It helps installing only security updates (RHSA) (as opposed to bug fixes (RHBA) or enhancements (RHEA)).
Explanation of RHSA, RHBA and RHEA advisories
RHEL 7 : yum-security is part of yum
RHEL 6 :
yum install yum-plugin-security
List all available erratas without installing them :
yum updateinfo list available
List all available security updates without installing them :
yum updateinfo list security all
yum updateinfo list sec
List of the currently installed security updates :
yum updateinfo list security installed
More examples are available in this Red Hat KB article
Red Hat has been provided security information since January 2005 through different ways :
RHSA-Announce mailing list, Red Hat CVE database and Red Hat Product Errata
For a better access of their data, the Red Hat Product Security has just released a beta API. It provides more search options for accessing real-time data.
More details can be found in the post below :
Red Hat Security Blog post about their new Security Data API service
RedHat Security Data API
To see what’s inside a variable or a Perl object, Data::Dumper is often used.
For inspecting objects, its features are limited.
Data::Printer helps you dump your Perl data structures in a complete, colored and human-friendly way.
This module is not part of the Perl core modules.
To install it on Debian Buster :
apt install libdata-printer-perl
Start using it. Its syntax is simple and pretty straightforward.
For objects, it provides public/private methods details that Data::Dumper does not.
More details on Metacpan for Data::Printer
Debian provides deb packages for Vim and Vim scripts. Vim scripts are a set of addons to vim to automate repetitive tasks or adding new functionalities to the Vim editor.
This addon, closetag.vim, will be installed and enabled and ready for use when editing an HTML file.
Debian provide a central way to manage Vim addons, vim-addons-manager, system-wide or a per-user configuration.
To install it :
apt install vim-addon-manager vim-scripts
To enable it just for you :
vim-addons install closetag
A local copy of closetag.vim is created in ~/.vim/macros
To enable it in your Vim editor :
The auto-closing function is available in insert mode by typing Ctrl-_
More infos :
Debian Packaging Policy for Vim