• Joined on 2021-11-20
nico pushed to master at ungleich-public/ungleich-tools 2022-05-02 08:18:16 +00:00
b17100f656 Merge branch 'master' of code.ungleich.ch:ungleich-public/ungleich-tools
f31189a08d [viwib] allow ssh in for people to remotely access their router
Compare 2 commits »
nico pushed to master at ungleich-public/ungleich-tools 2022-05-01 12:02:37 +00:00
2828b4e79d FreeBSD: bump to 13.0
nico pushed to master at ungleich-public/k8s-smtp 2022-04-23 10:07:44 +00:00
514978f457 Add README
nico created branch master in ungleich-public/k8s-smtp 2022-04-23 10:05:49 +00:00
nico pushed to master at ungleich-public/k8s-smtp 2022-04-23 10:05:49 +00:00
4e3ec23f25 Add sample smtp server in Kubernetes
nico created repository ungleich-public/k8s-smtp 2022-04-23 10:04:32 +00:00
nico pushed to master at nico/nsbin 2022-04-20 09:50:46 +00:00
795c7d5d81 updated by /home/nico/bin/sync-all-repos on mirror1
nico pushed to master at ungleich-public/ungleich-tools 2022-04-17 17:21:05 +00:00
03afb6161b Add a ceph start script
10eac966bc [viwib+vigir] update openwrt to 21.02.1
048697a812 ++ ceph emergency script
Compare 3 commits »
nico opened issue ungleich-public/cdist#333 2022-04-16 10:36:17 +00:00
__file using unsupported mv option
nico pushed to master at nico/nsbin 2022-04-13 17:05:51 +00:00
a75840ebb7 stva.sh: add filter
nico commented on issue ungleich-public/cdist#332 2022-04-12 08:01:22 +00:00
__file: mktemp -u checks for perms

The mktemp -u should not have been there, updated the comment.

nico commented on issue ungleich-public/cdist#332 2022-04-12 07:23:05 +00:00
__file: mktemp -u checks for perms

Good catch, @ander!

I think we could easily replace

      # upload file to temp location
      upload_destination="$(mktemp -u "${destination}.cdist.XXXXXXXXXX")"

with

nico commented on pull request ungleich-public/cdist#327 2022-04-11 08:33:07 +00:00
bug: apt-ppa-noninteractive

@romain-dartigues if using your PR, it would make sense to remove the script remove-apt-repository as well.

nico commented on pull request ungleich-public/cdist#327 2022-04-11 08:32:26 +00:00
bug: apt-ppa-noninteractive

cc @steven who is maintaining Ubuntu clusters.

nico commented on pull request ungleich-public/cdist#327 2022-04-11 08:32:13 +00:00
bug: apt-ppa-noninteractive

The existing PR does not look bad to me, don't have an ubuntu at hand right now. I guess if it works with Ubuntu 18.04, then we can merge it - as anything older is ancient anyway.

nico commented on pull request ungleich-public/cdist#331 2022-04-10 21:14:14 +00:00
Make file attribute changes more atomic

@matze, I think there is one important point to highlight: the attack for predictable names only applies to directories that are user writable. Typically mktemp and friends have to deal with…

nico commented on pull request ungleich-public/cdist#331 2022-04-10 12:15:36 +00:00
Make file attribute changes more atomic

LGTM - please go ahead. I'd suggest we make a major release out of this one, as changes on the file type affect basically everyone. So if we screwed something up, we have at least an indicator for…

nico commented on pull request ungleich-public/cdist#331 2022-04-07 07:58:49 +00:00
Make file attribute changes more atomic

mktemp works differently. What we are doing now is similar to mktemp -u.

Again, whether this is an actual problem, is a different question.

The typical issue mktemp is trying to solve:

*…

nico commented on pull request ungleich-public/cdist#331 2022-04-07 07:35:55 +00:00
Make file attribute changes more atomic

Guys,

I think we are having a security problem here.

Let's say we __file /some/dir/foo and a user has write access to /some/dir and the user can run ps on the target system.

Thus the…

nico commented on pull request ungleich-public/cdist#331 2022-04-07 07:30:02 +00:00
Make file attribute changes more atomic

Just wondering, are we adding a behaviour change here? I.e. before we unconditionally deleted the file/directory/socket/whatever. Now we fail if it exists?