Skip to content

Instantly share code, notes, and snippets.

View ILMostro's full-sized avatar
🎯
Focusing

ILMostro ILMostro

🎯
Focusing
View GitHub Profile
@ILMostro
ILMostro / vartmpportagedev-libsboost-1.75.0tempbuild.log
Created May 7, 2021 17:39
/var/tmp/portage/dev-libs/boost-1.75.0/temp/build.log
 * Package: dev-libs/boost-1.75.0
 * Repository: gentoo
 * Maintainer: soap@gentoo.org office@gentoo.org
 * USE: abi_x86_64 amd64 bzip2 context elibc_glibc icu kernel_linux lzma nls python python_targets_python3_8 python_targets_python3_9 threads tools userland_GNU zlib
 * FEATURES: network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking boost_1_75_0.tar.bz2 to /var/tmp/portage/dev-libs/boost-1.75.0/work
>>> Source unpacked in /var/tmp/portage/dev-libs/boost-1.75.0/work
>>> Preparing source in /var/tmp/portage/dev-libs/boost-1.75.0/work/boost_1_75_0 ...
* Applying boost-1.71.0-disable_icu_rpath.patch ...
@ILMostro
ILMostro / # cat vartmpportagemail-clientevolution-3.38.4tempbuild.log;
Created April 17, 2021 05:15
# cat /var/tmp/portage/mail-client/evolution-3.38.4/temp/build.log;
This file has been truncated, but you can view the full file.
# cat /var/tmp/portage/mail-client/evolution-3.38.4/temp/build.log
 * Package: mail-client/evolution-3.38.4
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE: abi_x86_64 amd64 bogofilter elibc_glibc kernel_linux ssl userland_GNU weather
 * FEATURES: network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking evolution-3.38.4.tar.xz to /var/tmp/portage/mail-client/evolution-3.38.4/work
>>> Source unpacked in /var/tmp/portage/mail-client/evolution-3.38.4/work
>>> Preparing source in /var/tmp/portage/mail-client/evolution-3.38.4/work/evolution-3.38.4 ...
@ILMostro
ILMostro / # mirrorselect -s3 -b10 -D -d 7;
Created April 9, 2021 05:41
# mirrorselect -s3 -b10 -D -d 7;
# mirrorselect -s3 -b10 -D -d 7
main(); config_path = /etc/portage/make.conf
main(); rsync = False
get_filesystem_mirrors(): config_path = /etc/portage/make.conf
get_filesystem_mirrors(): mirrorlist = ['http://mirror.rackspace.com/gentoo/', 'https://gentoo.osuosl.org/', 'http://mirrors.rit.edu/gentoo/']
get_filesystem_mirrors(): ignoring non-accessible mirror = https://gentoo.osuosl.org/
get_filesystem_mirrors(): fsmirrors = []
using url: https://api.gentoo.org/mirrors/distfiles.xml
* Using url: https://api.gentoo.org/mirrors/distfiles.xml
getlist(): fetching https://api.gentoo.org/mirrors/distfiles.xml
mirrorselect -s3 -b10 -D
* Using url: https://api.gentoo.org/mirrors/distfiles.xml
* Downloading a list of mirrors...
Got 196 mirrors.
* Downloading mirrorselect-test files from each mirror... [71 of 196]Traceback (most recent call last):
File "/usr/lib/python-exec/python3.9/mirrorselect", line 61, in <module>
MirrorSelect().main(sys.argv)
File "/usr/lib/python3.9/site-packages/mirrorselect/main.py", line 380, in main
urls = self.select_urls(hosts, options)
File "/usr/lib/python3.9/site-packages/mirrorselect/main.py", line 329, in select_urls
emerge -avuDN @world
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-ruby/xmlrpc:0
(dev-ruby/xmlrpc-0.3.0:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby25 -ruby24 (-ruby26) (-ruby27)" conflicts with
>=dev-ruby/xmlrpc-0.2.1[ruby_targets_ruby24] required by (dev-lang/ruby-2.4.10:2.4/2.4::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -static-libs -tk -xemacs" ABI_X86="(
64)"
^^^^^^^^^^^^^^^^^^^
@ILMostro
ILMostro / borgitup
Created April 13, 2020 06:05
Borg backup systemd timer, service, and logging config
# cat /etc/systemd/system/borgitup.service
[Unit]
Description=Create a backup using borg
[Service]
Type=oneshot
Environment=BORG_LOGGING_CONF=/etc/borg/logging.conf
; ExecStart=/usr/local/bin/borgitup
; 20200413 -- preprend a hyphen (-) to ignore error return value
@ILMostro
ILMostro / profile-overrides
Created March 2, 2020 19:05
/etc/portage/profile/overrides
package.mask
-net-firewall/firewalld
package.use.mask
### 20191230 -- negates the instruction set in
### /usr/portage/profiles/features/selinux/package.use.mask
net-wireless/bluez -user-session
use.mask
-systemd
@ILMostro
ILMostro / dropdown.md
Created December 16, 2019 09:12 — forked from citrusui/dropdown.md
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
@ILMostro
ILMostro / lxc-arch2
Last active February 11, 2018 22:46 — forked from lilydjwg/lxc-arch2
lxc-arch2: a script to create a copy of my Arch Linux system in LXC for testing
#!/bin/zsh -e
cd ~/tmpfs
mkdir -p .lxc-root .lxc-data/etc .lxc-data/home/lilydjwg/{.vim,.cache} .lxc-work
sudo GDK_DPI_SCALE=$GDK_DPI_SCALE zsh -e - <<'EOF'
modprobe overlay
mountpoint .lxc-root || mount -t overlay -o lowerdir=/,upperdir=$PWD/.lxc-data,workdir=$PWD/.lxc-root overlayfs $PWD/.lxc-root
# .lxc-root/etc/resolv.conf is protected
@ILMostro
ILMostro / gentoo-wip-systemd-selinux.md
Last active December 18, 2019 09:07
Documenting the work done and/or needed on a Gentoo system to make SELinux work with systemd
IRC Logs from the #gentoo-hardened and #selinux IRC channels on FreeNode
2018-01-27 23:13:50	-->	ilmostro (~ilmostro@unaffiliated/ilmostro) has joined #gentoo-hardened
2018-01-27 23:13:50	--	Topic set by Zorry (~quassel@gentoo/developer/zorry) on Wed, 06 Dec 2017 19:01:01
2018-01-27 23:13:51	--	Channel #gentoo-hardened: 270 nicks (9 ops, 38 voices, 223 normals)
2018-01-27 23:13:52	--	Channel created on Sun, 26 Nov 2006 00:42:49
2018-01-27 23:54:23	ilmostro	Does anyone here know why the 17.0 SELinux profile is in "dev" still? I'm on a 17.0 systemd desktop profile right now.  AFAICT, the stable selinux profile is part of the hardened, unversioned profile set.  Has anyone used the 17.0 selinux profile successfully?
2018-01-28 00:29:20	ilmostro	I come from a RHEL background, where, AFAIK, the default SELinux setup is "targeted" with "unconfined" domain enabled.  After reading the wiki page for SELinux/Installation, I realize that might not be as secure as I had assumed. Alterna