Spyke

Posts

selfhosted·Selfhostedbyjoulethief

Visibility of NFS exports

Consider the following setup:

An NFS server exports the directory /srv/nfsv4 to one client. It is exported with the option "fsid=0" for use with NFSv4.

/srv/nfsv4              192.168.0.10/24(ro,sync,secure,root_squash,subtree_check,fsid=0)

The bind-mounted directory within it, foo, is exported as well. Client 192.168.0.10 can successfully mount and write to it.

/srv/nfsv4/foo          192.168.0.10/24(rw,sync,secure,root_squash,subtree_check)

"foo" has multiple subdirectories. While client 192.168.0.10 should have full read-write access to all of them, another client, 192.168.0.20, should only see a specific subset of these directories. Everything else should not only be read-only, but not mountable at all.

At first, I did it like this:

/srv/nfsv4              192.168.0.10/24(ro,sync,secure,root_squash,subtree_check,fsid=0) \
                        192.168.0.20/24(ro,sync,secure,root_squash,subtree_check,fsid=0)

/srv/nfsv4/foo          192.168.0.10/24(rw,sync,secure,root_squash,subtree_check) \
                        192.168.0.20/24(ro,sync,secure,root_squash,subtree_check)

/srv/nfsv4/foo/dir1     192.168.0.20/24(rw,sync,secure,root_squash,subtree_check)

/srv/nfsv4/foo/dir2     192.168.0.20/24(rw,sync,secure,root_squash,subtree_check)

With the effect that client 192.168.0.20 could still mount all other subdirectories of foo (even though read-only).

So, in an attempt to achieve the desired behavior, I created a second parent directory /srv/nfsv4/bar/ that has only the intended set of subdirectories bind-mounted to it:

srv/
└── nfsv4/
    ├── foo/
    │   ├── dir1
    │   ├── dir2
    │   ├── dir3
    │   └── dir4
    └── bar/
        ├── dir1
        └── dir2

And changed /etc/exports to look like this:

/srv/nfsv4              192.168.0.10/24(ro,sync,secure,root_squash,subtree_check,fsid=0) \
                        192.168.0.20/24(ro,sync,secure,root_squash,subtree_check,fsid=0)

/srv/nfsv4/foo          192.168.0.10/24(rw,sync,secure,root_squash,subtree_check)

/srv/nfsv4/bar          192.168.0.20/24(rw,sync,secure,root_squash,subtree_check)

Now, when I mount nfs-server:/bar on client 192.168.0.20, everything seems as expected. Except that I could still mount nfs-server:/ (the exported root) and have read access to foo. My understanding was that, unless I explicitly exported foo to 192.168.0.20, it should not be visible to it.

What did I do wrong?

View original on discuss.tchncs.de
11
consolerepair·Console Repairbyjoulethief

Recapped XBOX disc drive won't spin

Hey there! Some months ago, I got myself a (first gen) XBOX with the intention of softmodding it. The console would boot up, but not read discs. As far as I remember, it did spin the discs at this point. There was no error message, it just skipped to the main menu after like a minute of trying to read them.

After some research on common issues I checked all resistor networks, which were fine, and went on to replacing the capacitors. I triple-checked to get the right values and place them in the correct orientation. For reference: I got the Samsung SDG-605 (non-B) as seen in this video.

I connected the ribbon cables, checked one final time that everything is in the correct place and put the drive back into the XBOX. Boots up, but this time I see the disc is not spinning. The motor seems fine, since every time the tray closes, I can see it make a quick quarter-turn. It just won't do anything further than that. Then, as usual, it gets me to the main XBOX menu after some waiting time.

What should I do? Ideally I'd like to just get another, known working drive, but I read that the drive's control board is "married" to the mainboard and I'd have to swap it over in case of a replacement. Which seems risky, as this very board seems the most likely culprit. I'd also like to avoid to spend a hundred bucks for a whole new used XBOX. All this is especially frustrating as I only need the damn drive once to get the initial exploit working.

View original on discuss.tchncs.de
15

What do I even want to do with my time?

Almost two years have passed since my initial "Hold on, could I have ADHD too?" moment (for reference: I'm 27). Turns out I do not only have severe ADHD, but Asperger's too. I've had a suspicion before that I might be autistic but it's kinda funny how the doctor dropped this on me before I even had a chance to ask.

Anyway, I've finally gotten meds (Kinecteen) that I've been on for the past four weeks. My hopes were high and the first couple of days even seemed immensely promising. On the first day alone I was able to get done what I usually needed two whole weeks for. Suddenly I could switch between tasks without getting upset, I could hold conversations without my mind drifting away mid-sentence, go on a trip without all the usual sensory overload, heck, even my social anxiety felt a little less severe than usual.

Somehow though, most of this enthusiasm eventually vanished. Work still sucks ass (9-to-5 corpo job in an open-plan office, ugh), I already resigned but have to survive another three months. Leaving the apartment is still a hurdle, my anxiety is bad enough but my pollen allergy certainly doesn't help the situation. Then there's this huge pile of things that I want/should/need to do that has accumulated over months and years of paralysis. A little gullibly I thought this pile would magically vanish once I get on medication. Well, it somehow doesn't.

What I find most depressing of all though is that I just don't know what to do with my free time. Out of habit I often turn to cannabis (vaporizing, not smoking) and put myself in front of my PC, but ultimately only to work off more tasks. Back then I used to play a whole lot of video games but I just can't get in the mood anymore. Tried some, but nothing stuck. I feel the urge to go outside, but there are just too many stimuli for it to feel actually calming. I'd like to get myself a motorcycle again but I never managed to build up savings.

To improve my general mood I'm really trying to devote some downtime to do relaxing activities but I just can't think of any. Everything seems to me like just another tedious task that I have to get done. I'm very thankful for my loving girlfriend and our cat who both give me some solace, but of course I am still worried about how my condition will affect the relationship in the years to come.

What are your experiences with medication? Does it just take time to find oneself anew?

View original on discuss.tchncs.de
10
adhs·ADHS - Austausch, Tipps, Erfahrungenbyjoulethief

Was will ich mit meiner Zeit eigentlich anfangen?

Knapp zwei Jahre sind inzwischen vergangen seit meinem ersten "Warte mal, hab ich das vielleicht auch?"-Moment. Wie sich herausstellt, habe ich nicht nur (schweres) ADHS, sondern auch Asperger. Eine Vermutung in diese Richtung hatte ich schon länger, lustig, dass ich diese Info bekomme noch bevor ich es selber ansprechen konnte.

Anyway, ich bekomme seit vier Wochen Medikamente (Kinecteen) und habe echt viel Hoffnung darauf gebaut. Die erste Woche war auch vielversprechend, allein am ersten Tag habe ich erledigen können wofür ich sonst zwei ganze Wochen brauchte. Ich konnte plötzlich Aufgaben unterbrechen ohne davon genervt zu sein, ich konnte wieder Gespräche führen ohne den Faden zu verlieren, Ausflüge unternehmen ohne sensorisch komplett überfordert zu werden, selbst meine sozialen Ängste waren nicht mehr ganz so schlimm wie sonst.

Irgendwie ist von dem anfänglichen Enthusiasmus aber nicht so viel geblieben. Arbeit ist immer noch für den Arsch (Großraumbüro, MS Teams, kein Bewusstsein für Neurodiversität), habe zwar schon gekündigt aber muss noch einige Wochen überstehen. Rausgehen fällt mir auch nach wie vor schwer, nicht nur wegen der Ängste, aktuell auch wieder wegen meiner heftigen Pollenallergie. Dann ist da noch dieser riesige Berg von Dingen der sich über die Jahre angestaut hat, Dinge, die ich machen will/soll/muss, aber nie geschafft hatte. Dachte etwas leichtgläubig, dass sich der jetzt bestimmt bald in Wohlgefallen auflöst. Tut er irgendwie nicht.

Deprimierend finde ich aber besonders, dass ich gerade nichts mit meiner Freizeit anzufangen weiß. Aus purer Gewohnheit greife ich dann oft zu Cannabis (im Vaporizer, nicht im Joint) und hocke mich vor den PC, aber im Endeffekt auch nur, um dort weitere Aufgaben zu erledigen. Ich habe keinen Spaß mehr an Videospielen, obwohl ich früher ständig gezockt habe. Ich verspüre den Drang raus zu gehen, aber in der Stadt sind immer noch viel zu viele Reize und weiter draußen weiß ich überhaupt nicht was ich dort machen soll. Freunde habe ich nur wenige, meistens bin ich lieber allein. Ich würde mir zwar eigentlich gerne wieder ein Motorrad holen, hab es aber nie geschafft was anzusparen.

Um meine Stimmung aufzubessern will ich mir bewusst Zeit zum Erholen nehmen, aber mir will einfach nicht einfallen was ich tun möchte. Alles wirkt so unfassbar anstrengend statt entspannend. Ich bin sehr dankbar für meine Freundin und unsere Katze die mir beide viel Trost spenden, mache mich aber natürlich auch weiterhin Sorgen, wie sich meine Verfassung auf die Beziehung auswirkt. 

Wie sind denn eure Erfahrungen mit der Medikation? Braucht es einfach nur seine Zeit, sich selbst neu zu finden?

View original on discuss.tchncs.de
14

Kubuntu fails to boot after updates

Hey there, I could use a little help.
I'm running Kubuntu 24.10 (the non-LTS variant) and after some system updates through KDE's Discovery, I'm unable to boot.

First off, some specs:
Kernel: 6.11.0-14-generic
GPU: GTX 1080 w/ proprietary drivers, version 560 550 stable

I was first greeted with these lines:
[ TIME ] Timed out waiting for device dev-disk-by/x2duuid-[...].device
[DEPEND] Dependency failed for mnt-games.mount

This is not the first time this happened, so I went into recovery mode, opened /etc/fstab to comment out the device-specific line, saved, and rebooted.

The error disappeared, however the system still won't boot and I'm left with these entries visible on screen (abbreviated for clarity):

[ OK ] Started cups.service
[ OK ] Reached target printer.target
[ OK ] Started ipp-usb.service
[ OK ] Finished NetworkManager-wait-online.service
[ OK ] Reached target network-online.target
[ OK ] Started update-notifier-download.timer
[ OK ] Started update-notifier.motd.timer
[ OK ] Reached target timers.target
[ OK ] Started cups-browsed.service
Starting kerneloops.service
[ OK ] Started kerneloops.service
[ OK ] Reached target multi-user.target\
Starting power-profiles-daemon.service
[ OK ] Started power-profiles-daemon.service
[ OK ] Reached target graphical.target
Starting systemd-update-utmp-runlevel.service
[ OK ] Finished Starting systemd-update-utmp-runlevel.service

...and then nothing.

I need to leave, I'll fix the formatting and provide further information as soon as I'm back at my desk.

View original on discuss.tchncs.de
13
right2repair·Right to Repairbyjoulethief

Need help fixing an oven

Hey, I've got a faulty oven here that won't heat up properly. The previous owner suspected a defective heating coil, but they are all functional. I tested it with an oven thermometer: if only bottom heat is on, the thermostat switches correctly and the oven heats up as it should. However, as soon as top heat is (also) on, it only heats up to about 80°C (144°F) below the target temperature.

The sensor is located directly behind the upper coil, so it doesn't seem too far-fetched that it switches sooner in this case, but 80 degrees too early? It has been working for the past 12 years... In YouTube videos, a faulty thermostat seems to cause the stove to heat non-stop.

Any idea on how I can fix this? I don't want to buy a spare part only for the problem to persist in the end.

Edit: This is about an IKEA FRAMTID OV9 featuring an EGO 55.17253.120.

View original on discuss.tchncs.de
26

Malware warning on my phone (mirai-gx)

Hey there, not entirely sure where to post this, hope it fits.

This morning, for the first time ever, my phone (a Huawei P20) showed a malware warning to me. The app 'Idealo', a german portal for price comparison, was supposed to be infected with 'mirai-gx'. I tapped uninstall and began researching.

I consider myself very tech- and IT-savvy, but I lack deeper knowledge of malware.

Apparently, mirai was (is) a worm that primarily infects IoT devices to join them into a bot net. The BSI (german authority for cyber security) states that it resides in volatily memory only, so that a reboot should suffice to get rid of it.

The warning was issued by Huawei's UI 'MIUI' as far as I can tell, not Play Services. I am aware that the latest security patch for my phone is from 2022, I just couldn't afford to buy a new one up until now.

Some questions that arise:

(1) How can I trust that the information presented by my phones notification is correct? I mean, how would an IoT worm infect an app that was downloaded from the Google Play Store, is that even possible without root access to the phone or accessing the developers Play Store account?

(3) Right now, I'm combing through recent DNS queries in my PiHole log that originated from my phone. How can I tell regular queries from those of a bot net?

(4) What does the -gx suffix even mean? Information on this is very scarce.

(5) Just how bad of an idea is it to use a phone that has already gone two years without patches?

View original on discuss.tchncs.de
17

Coffee and ADHD

First off: I am still undiagnosed. I've followed the ADHD topic for more than a year now since I seem to match a whole lot of symptoms and behavior patterns. An official diagnosis will most probably still take another year. I live in Germany.

One thing that got me wondering was caffeine. As I've heard, drinking coffee will make ADHD folks not feel any more awake, maybe even a little tired.

While it doesn't make me feel awake as well, I very vividly remember my first coffee a long time ago that caused a massive outburst of productivity when all of the time I was known for being 'lazy' and distracted. However the effect quickly diminished with each subsequent coffee over the next year.

Isn't this a contradiction though? If I actually had ADHD, why did coffee have this awakening effect on me back then?

View original on discuss.tchncs.de
66

You reached the end