ARCHIVES_CATS Gentoo

Chromium in Gentoo


Today I removed Google Chrome in order to install Chromium in Gentoo, however I decided to compile it which takes so long time , indeed it took me 7 hours in my i7 processor

Thanks to the USEs I didn’t allow Chromium to use anything bundled. I decided to be very strict this time because of what I learned and discovered, i.e, Chrome is not a good choice for privacy. Hence I decided to not trust anymore Google Chrome binaries and instead only use a compiled Chromium.

I promise I will make a post about of what I have learned and what is it very important to not dismiss the privacy issues and do yourself a favour and please watch the Snowden movie 😉

As a Gentoo user it is ridiculous not be concerned about privacy because everything in the system is grainy defined, and in fact privacy is an inherent part of Web Browsing -which is my main activity in Internet and maybe the yours- Privacy is all about Liberty and choice, I think that if you are a Gentoo user and don’t care about privacy then you should be using Ubuntu instead. However it is just a generalization and don’t take so serious, we all have to learn how to be flexible and tolerant.

Privacy is a major pillar of Liberty because the real meaning of privacy is to choice what to share and how. I think Gentoo should increase the awareness in our community about privacy because Gentoo is all above Liberty.

And Liberty is the most valuable value that exist.

And I used this nice theme for my web browser Link <3

I discovered a feature called ACL, I thought it was only related to SELinux, however I found that it is a feature that exist in all distros, specially the ACL in TMPS , CONFIG_TMPS_POSIX_ACL; it must be enabled by default because is used by ALSA and the CD-ROM device; besides I found that some logs in /var uses it.

I think learning about ACL is a must for Gentoo users since it is one of the basic default options while mounting a traditional filesystem and is important to know that at least there is a security layer beyond the daily usage. And it is an additional tool for security on our daily basics because our home directory always can be read by others; and we can restrict the others access and adding exceptions using the ACL tools.

Despite disabling the ACL support may not be worth as a Gentoo developer said:

Link

The menuconfig suggest you to disable it from ext4 filesytem if you don’t even know what ACL is. And of course I chose to disable this feature because my var partition is formatted in XFS and it seems that I don’t really need ACL. I aim to perfectly follow the Unix philosophy as far as I can; so instead of having all the possibilities available I will only strictly preserve what I actually use.


Problems burning double layer DVD.


Today my news DVDs of 8 GB arrived, so that, I tried to record my music into one of them; Brasero didn’t worked and asked me for a valid disc. Then I tried to install k3b and I disabled all its USEs, all media features were removed. To tell you the truth I love k3b but it usually includes a lot of stuff, however, since I use Gentoo I can get through this. After that I tried to burn the DVD+R and it failed in the middle of the process twice (16GB of storage space lost ), next I recompile k3b with DVD support and I changed the path of the iso image to my documents instead of my /tmp folder (I think it could have made it fail) , and finally I selected no multi-session and chose the Rock Ridge/Joliet (custom) for it. In the end I achieved to burn it, even though, it didn’t read it. So, I plugged in my external DVD player and finally it was able to read the contents of my just recently burned disc. Here part of the error log: K3b Version: 2.0.3 KDE Version: 4.14.24 QT Version: 4.8.6 Kernel: 4.8.12amu-kernel Used versions ———————– mkisofs: 3.2a06 cdrecord: 3.2a06 cdrecord ———————– cdrecord: Insufficient ‘file read’ privileges. You will not be able to open all needed devices. cdrecord: Insufficient ‘file write’ privileges. You will not be able to open all needed devices. cdrecord: Insufficient ‘device’ privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems. cdrecord: Insufficient ‘memlock’ privileges. You may get buffer underruns. cdrecord: Insufficient ‘priocntl’ privileges. You may get buffer underruns. cdrecord: Insufficient ‘network’ privileges. You will not be able to do remote SCSI. scsidev: ‘/dev/sr0’ devname: ‘/dev/sr0’ scsibus: -2 target: -2 lun: -2 Warning: Open by ‘devname’ is unintentional and not supported. Linux sg driver version: 3.5.27 SCSI buffer size: 64512 cdrecord: Warning: Cannot read drive buffer. cdrecord: Warning: The DMA speed test has been skipped. Cdrecord-ProDVD-ProBD-Clone 3.02a06 (x86_64-pc-linux-gnu) Copyright (C) 1995-2016 Joerg Schilling TOC Type: 1 = CD-ROM Using libscg version ‘schily-0.9’. Driveropts: ‘burnfree’ atapi: 1 Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : ‘HL-DT-ST’ Identifikation : ‘DVDRAM GH24NSB0 ‘ Revision : ‘LM00’ Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: DVD+R/DL Profile: DVD-R/DL sequential recording Profile: DVD-R/DL layer jump recording Profile: DVD+R/DL (current) Profile: DVD+R Profile: DVD+RW Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD-RAM Profile: DVD-R sequential recording Profile: DVD-ROM Profile: CD-RW Profile: CD-R Profile: CD-ROM Profile: Removable Disk Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr). Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE Supported modes: PACKET SAO LAYER_JUMP Drive buf size : 360448 = 352 KB FIFO size : 4194304 = 4096 KB Track 01: data 7869 MB Total size: 7869 MB = 4029292 sectors Current Secsize: 2048 Blocks total: 4173824 Blocks current: 4173824 Blocks remaining: 144532 Reducing transfer size from 64512 to 32768 bytes. Starting to write CD/DVD/BD at speed 4 in real SAO mode for single session. Last chance to quit, starting real write in 3 seconds. 2 seconds. 1 seconds. 0 seconds. Operation starts. Happy New Year!!!

Gentoo december issues


Dear diary, today I booted up my computer with Gentoo as I wanted to update the kernel and others packages; however when I wanted to update the kernel source code there was a lot of dependencies for only the Linux kernel —It is kinda surprisingly—:

As usual, ICU was blocking my updates and tries of packages installations, also it seemed that ncurses was blocking the update too (I hadn’t seen this before)

However, because I updated my mesa drivers, Gentoo was luckily unlocked as it upgraded 108 packages.

Finally I had another problem with Ruby and Python because Gentoo was using the old versions, so I removed them as this topic suggested:

Link

Also I learned a very useful trick about the console, how to avoid that the shell logs an specific command, just add this to your ~/.bashrc file and that’s all.

HISTCONTROL="ignorespace"

So when you do not want Linux to log a command just type an space before the command and after the prompt, and ready!


No multimedia keys in Gentoo


I always had this problem with Gentoo: I was not able to use the multimedia keys and also the mice only worked in front USB bus of my computer while in the rear not.

The fix was in the Linux Kernel, I incidentally discovered an important parameter in the USB settings ^-^

You usually use de EHCI driver for your 2.0 USB buses, however what about the 1.0 buses? it is said to use some specific drivers while the most important thing indeed is to enable a subparameter of the EHCI driver!!!

This parameters are:

translate root device

Back to Openrc


Getting back to Openrc in Gentoo needed the same effort that switching to systemd, also I had serious problems because I made a simple mistake so I had to recover the system from another, but that recovering is not that hard since is like the same complexity that involves this process.

Rss feed of the category