libera/#devuan/ Wednesday, 2021-06-23

sirdidymushow should I install ceres? update the sources to ceres and apt dist upgrade? anything I should be aware of? couldn't find an iso03:44
gnarfacethat would work03:59
gnarfaceprobably03:59
gnarfacethe only thing you should really be aware of is sometimes it doesn't work and you can't really predict it03:59
gnarfaceif you're following the correct path very strictly, you'd update to testing first then unstable, but it matters less the less software you actually have installed04:00
gnarfacethe basic process is no different from debian before, a lot of work went into preserving that type of behavior04:07
rwpsirdidymus, Normally one installs Stable and upgrades from there.06:08
rwpsirdidymus, Since Testing is almost ready for release if you upgrade from Stable Beowulf to Testing Chimaera first then you can help us test that upgrade path.  Please report any problems.  Then from there to Unstable Ceres is only a very small upgrade right now.06:08
adhocevening08:10
adhocis there a recommended IDS for devuan ?08:10
gnarfaceit should have whatever debian has08:10
adhocon my todo list is setting up a honeypot for my local network08:11
adhocso any spurious services that shouldn't be running get pointed there,etc08:11
plasma41adhoc: and IDS stands for...?08:36
rwpadhoc, Are you talking about the "aide" package?  That's what  I think of when I hear intrusion detection system.08:36
adhocintrusion detection system is what I had in mind08:43
enychrrm09:28
mdthi, today i found something weird on my system, some __pycache__ directories are drwxr-x--- (most dirs are fine, it's 9 from ~1300). ok, i use umask 027 as root but that should not influence the creation of files that are considered to be used by everyone. or am i wrong? is this a bug?11:34
luna-is-heremdt: Are you talking about __pycache__ in /usr ?11:42
mdtluna-is-here: /usr/**/__pycache__ - yes12:01
luna-is-heremdt: Did you install the packages via apt or pip? If they were installed via apt, I would consider this as a bug. Can you name an example package?12:36
mdtluna-is-here: i never install via pip systemwide14:46
mdtluna-is-here: you can try yourself: `find /usr -name __pycache__ | xargs ls -ld | grep -- ---` ;)  for me it is blinker, click, serial, sortedcontainers, werkzeug,  ...14:48
luna-is-heremdt: Well I did and the permissions were all correct.14:48
mdtluna-is-here: what's your `umask`?14:50
luna-is-heremdt: 002214:50
luna-is-hereSo its different.14:50
mdtsure, with 022 everything's fine, no question14:50
luna-is-hereAre you running Beowulf or Chimaera?14:51
mdtbut any installation should , no must be independent from umask14:51
luna-is-heremdt: I agree.14:51
mdtstrange, i had it with python3-tk so i installed that very package on another system with umask 027 but that system desnt have that afterwords for the directory whie it has it for other packages. may it be in one of the debian helper packageswhich got fixed inbetween?15:00
luna-is-hereSo.15:01
luna-is-hereI just tried this in a container.15:01
mdtbut i still have it ffor crypto-policies which creates the dir once you run update-crypto-policies and that does it this way15:01
luna-is-hereSet umask to 027 and installed python3-blinker. Permissions are as expected.15:01
mdtgood. can you try crypto-policies? run update-crypto-policies and check /usr/share/crypto-policies/python/*/__pycache__15:02
luna-is-hereIs only available in crypto-policies ceres, if I see this correctly.15:07
luna-is-hereOkay. So tried this in ceres. I installed python3-blinker and crypto-policies with umask 027. Then I ran update-crypto-policies. Permissions look fine.15:14
luna-is-hereHm...15:21
luna-is-hereSo I have a theory.15:21
luna-is-herePython regenerates the files in __pycache__ when the source files are newer than the cache files. Maybe you had some issue with you timestamps, where running some python script as root and python regenerated the files?15:22
luna-is-hereAnother possibility: Maybe an upgrade changed the python patch level to an incompatible one.15:28
luna-is-hereAnd then python regenerated.15:28
mdti run ntp so timestamp should be fine17:17
mdti dont tamper with python3 (i dont have python2)17:18
mdti am out of ideas, let me investigate further...17:18
luna-is-hereRunning a program written in Python will cause the python cache to be regenerated if the .pyc files are older than the .py files or if the .pyc files were generated with an incompatible Python version.17:20
luna-is-hereNot sure if this would change the permission though.17:20
mdtyes, that's why py package do that step manually during install, probably adjusting umask, at least in the current version. my theory: because my system has older dirs those suffer from old code that doesnt adjust the umask. still some packages lack the pre-generation step. it seems this crypto-policies is such a package.19:29
mdthttps://paste.debian.net/1202168/ shows the problem19:52
fab_pass mynona21:47

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!