Skip to content

u/codemac

In this archive from Nov 2009 to May 2021

0
posts
29
comments
0
media
96
score

I've run at least one archlinux install from 2013.

"playing with your computer" -> yes, you more frequently have to do small admin tasks due to the rolling release.

So it's more of a style question for yourself. Do you rather prune your garden (arch's rolling release) or do you manage a hundred thousand acres and would rather plan up front (ubuntu LTS or so).

For a personal laptop, Arch tradeoffs tend to win out for me all the time.

1 points

Awesome!

Learning arch will serve you well, because you are actually rarely "learning arch". You're usually learning bluez, or kernel parameters, or udev rules, etc.

The vanilla approach can be frustrating, but it means time you spend debugging and understanding at least taught you something about the wider OSS linux ecosystem, rather than just arch.

I still to this day have no idea wtf is going on when I use debian, but because I've used things like arch for so long - I can figure out how to fix my problems and move on.

7 points

We used to have i686 x86_64 and it wasn't that bad to build.

The key to arch moving forward and being so up to date is making sure that it's super easy for devs to package & build many different architectures. I don't think any dev wants poorer performance for users, but if every package means they have to type 3x as much, it's always painful. The biggest thing users could do for devs is work on these tools.

Finally - I think it's still worthwhile for folks to consider what packages they need performance from to build with -march=native -mcpu=native -O3 -flto on their own. Most packages don't take super long to build, and I personally use the group=('codemac') hack in PKGBUILDs and IgnoreGroup = codemac in /etc/pacman.conf to always build my own.

Currently I have a custom builds for my top few packages: linux, firefox, xterm/uxterm, emacs.

3 points

No way, then it would differ from Debian etc.

... lots of things in arch differ from "Debian etc" due to the fact that programs aren't patched.

and you have to provide a way of not creating the home directory.

Rejoice, because it's literally the very next sentence in the manpage! From man useradd again:

   -M
       Do no create the user's home directory, even if the system wide
       setting from /etc/login.defs (CREATE_HOME) is set to yes.
7 points

From man useradd:

-m, --create-home

Create the user's home directory if it does not exist. The files and directories contained in the skeleton directory (which can be defined with the -k option) will be copied to the home directory.

By default, if this option is not specified and CREATE_HOME is not enabled, no home directories are created.

And if I cat /etc/login.defs | grep CREATE_HOME I get no results. You must provide the -m option to useradd (as well as the user's home directory) as those are the defaults for /etc/login.defs. Yes arch should change them, but it's been like this for a long time.

Thanks for the great video!

12 points

Yes, there are serious bugs in the btrfs implementation, and every experience I've had with it (as recently as 2 weeks ago testing it as a docker storage driver) led to serious bugs that ended in complete data loss. I'd avoid btrfs until it had more time to bake, they're attempting something super complex, and it's definitely not ready.

If you truly need those features, I'd move to ZFS on illumos, where the implementation is way more mature.

1 points

I read the docker source code, it's written in golang and I've become very familiar with it and docker recently.

Looked at that error message, grepped the source code and found the function in libtrust, which was being called in docker proper, and then went up the function call stack until I could figure out where it was.

I would suggest moving that .docker/key.json to .docker/oldnowaynotkeyjson or something and see if that helps.

1 points

-H fd:// means really file descriptor 0, as systemd creates the socket for the docker service, and then passes in the file descriptor. This is not your issue.

That aside, it looks like it's trying to decode a file called 'key.json'. Do you have that file somewhere on your system? It looks like docker found a file named 'key.json', and it's not in the right format or it's truncated. If you delete it, docker should generate a new keyfile.

1 points

Neither of those points are true.

They're all symlinked into the '~/.config/systemd/user/<blah target>.wants' folder based on whether they're enabled and the [Install] section of the unit file. For user's they generally want default.target in their [Install] section as it's the default target that starts all user units on login. If the service file isn't "wanted" by any target, it will never be automatically started without explicit activation (socket, systemctl start, etc)

If you even try to enable / disable a service without an [Install] section, on enable systemctl spews a huge error message, and on disable it does nothing ( I just tested locally and it does not delete the file, just like how /etc/systemd/system works ).

Your comments are welcome, but they are largely incorrect.

2 points

...

The time spent applying the delta packages is not spent in your cpu, it's spent waiting on your disk.

If you have a low power laptop with an ssd.. Even of the shittiest of ARM processors should go blindingly fast. There's a reason ChromeOS uses ONLY compressed binary deltas.

There is nothing inherently CPU intensive about applying a delta, except for piss poor implementations and rotational media.

2 points

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.