Skip to content

u/middlenameray

In this archive from Jan 2019 to Jul 2021

0
posts
19
comments
0
media
40
score

The pacman changelog, if it were used extensively, would be for documenting changes to the packaging of the software package, not to the package itself. This is how RHEL and Debian do it, anyways. Like, if they move a library file to be installed under a different directory, they'd put that in the distribution's package changelog. Changes to the software's code itself are documented in the software's own repo, not in the distribution's changelog.

Now, the Arch maintainers don't really need to do this (document packaging changes) because it would be redundant -- you can very easily look at the PKGBUILD repo for the package and just do a git log. (There's an easy way to do this -- clone a package's repo -- from the command line via pacman, I just don't know the command off hand, and I'm on mobile). That may not be the official reasoning to not do changelogs, but it's a legitimate reason not to

2 points

The thing that kind of scares me about a nearly full disk is file fragmentation. One way the EXT family of file systems avoids fragmentation is by spreading your files all over the disk, so that when you add data to e.g. the middle of the file, there's plenty of room around the file (physically, on the disk) so it doesn't need to try to move anything around. So when your file system gets really full and you go to save (or modify) a large file, there may not be enough contiguous space for the file system to store it all together. I don't think this is that big of a problem, like I think usually the file system will still try really hard to move some files around to make room (if it can), but I have read that this is one of the few ways EXT(2/3/4) file systems can get fragmented.

Maybe someone who understands this better could elaborate; I've kind of pieced together that limited understanding of mine from different forum posts and other bits I've found on Google. I've been hard pressed to find a really "official" authority on EXT* file fragmentation.

3 points

Thanks for that explanation. Actually, it seems I was only partially misguided, but perhaps my explanation wasn't great.

So for pacman packages, if someone who's not a maintainer were to try and put a malicious package onto a mirror, the end users' pacman would reject it because it wouldn't have the packager's GPG signature (provided that the malicious person didn't manage to steal their key)...right?

I'm kind of surprised that the AUR doesn't support signatures. I would imagine that this is something that's been discussed at length already, so I'll do some research on that.

1 points

Makes sense that it would have nothing to do with pacman -- admittedly, I was thinking more of the AUR wrapper (e.g. yay) than pacman. This is an extreme edge case I'm sure, but what specifically comes to mind is if the user uses yay to install yaourt, then what I said previously happens (someone makes a malware yaourt package), then the user does an update via yay.

What was going through my mind was that maybe pacman maintains the GPG signature of the package's maintainer, and so when the package switches maintainers (and thus GPG signatures), pacman could alert the user. I was imagining that the AUR wrappers would piggy-back off of that functionality. But, thinking about this more, I've been using Arch for a year now and haven't gotten a single such notification, so this is apparently just a figment of my imagination.

I haven't sat down and really thought this through or done any research, so perhaps what I'm saying not only is not how pacman and the Arch packaging system work, but also makes no sense.

2 points

Any AUR / Arch maintainers on here that can answer this? What exactly would happen to a user's system that has yaourt installed, if it's still installed when the malware gets added? Unfortunately I don't know enough about how pacman works to be able to answer this

6 points

People find it annoying because often it's clear that it's just people grabbing cheap/easy karma. And as /u/firearrow5235 said, people get tired of seeing the same posts on the front page every week. Literally, this exact gif was on /r/breath_of_the_wild this past week. If left unchecked, reposts would take over Reddit...which is what like 90% of Facebook memes are

7 points

Reddit isn't like Facebook -- no one gets notified that you wrote this comment. If you want to thank someone by commenting, you need to reply to their comment, not comment on your overall post

8 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.