Strange cAdvisor Issue


So, recently I spun up cAdvisor to provide some metrics for the Grafana dashboard. I created both the docker-compose.yml and prometheus.yml thusly:

prometheus.yml:

::: spoiler spoiler

scrape_configs:
- job_name: cadvisor
  scrape_interval: 5s
  static_configs:
  - targets:
    - cadvisor:8080

:::

docker-compose.yml

::: spoiler spoiler

services:
  prometheus:
    image: prom/prometheus:latest
    container_name: prometheus
    ports:
    - 9090:9090
    command:
    - --config.file=/etc/prometheus/prometheus.yml
    volumes:
    - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
    depends_on:
    - cadvisor
  cadvisor:
    image: gcr.io/cadvisor/cadvisor:latest
    container_name: cadvisor
    ports:
    - 8080:8080
    volumes:
    - /:/rootfs:ro
    - /var/run:/var/run:rw
    - /sys:/sys:ro
    - /var/lib/docker/:/var/lib/docker:ro
    depends_on:
    - redis
  redis:
    image: redis:latest
    container_name: redis
    ports:
- 6379:6379

:::

Placed them both in /tmp/cadvisor/ and ran docker compose up. All well and good, got some metrics to feed Grafana and all would seem jippity jippity.

Next day I notice Prometheus is off line. Hmm, check everything out. Logs complaining of a missing prometheus.yml. On a hunch I recreated the above prometheus.yml and placed it back in /tmp/cadvisor/, restart Prometheus, and it fires right up no runs, no drips, no errors. Before I uploaded the new prometheus.yml, I notice that there is a directory now named prometheus.yml in /tmp/cadvisor/, which is empty. Deleted it.

Next day, same scenario. Missing prometheus.yml, directory called prometheus.yml in /tmp/cadvisor/. I thought well, if it's getting deleted, change the permissions, and continued my daily affairs.

Today, same exact scenario. So, wtf, over? Run some commands:

stat /tmp/cadvisor/prometheus.yml
sudo lsof /tmp/cadvisor/prometheus.yml
grep "delete" /var/log/syslog

I can see that the file IS being deleted, but I cannot seem to trace down what is deleting it. It's like there is a cron job that fires off every day at a certain time and deletes prometheus.yml, and in it's place, creates a directory called prometheus.yml effectively taking Prometheus offline. I have no such cron job tho.

Any ideas? Suggestions? Ancient wizardry? Any mystical incantations or tomes to consult?

Kubernetes storage backends


I'm looking for experiences and opinions on kubernetes CSI backends.

I want to create a highly available homelab that spans 3 locations where the pods have a preferred locations but can move if necessary.

I've looked at linstore or seaweedfs/garage with juicefs but I'm not sure how well the performance of those options is across the internet and how well they last in long term operation.
Is anyone else hosting k3s across the internet in their homelab?

Gov. Greg Abbott signs bill requiring Ten Commandments to be displayed in Texas classrooms


Texas will require all public school classrooms to display the Ten Commandments under a new law that will make the state the nation's largest to attempt to impose such a mandate.

Gov. Greg Abbott announced Saturday that he signed the bill, which is expected to draw a legal challenge from critics who consider it an unconstitutional violation of the separation of church and state.

A similar law in Louisiana was blocked when a federal appeals court ruled Friday that it was unconstitutional. Arkansas also has a similar law that has been challenged in federal court.

Suspect in Minnesota killings accused of being ‘prepper’ preparing ‘for war’


Vance Boelter texted family that they needed to flee their house before ‘people with guns’ showed up, filings allege

The man charged in connection with the recent shootings of two Minnesota lawmakers and their spouses was a doomsday “prepper” who instructed his family to “prepare for war” as he tried to evade capture, according to new court filings.

Vance Boelter, 57, faces multiple federal and state murder charges after allegedly shooting dead the Democratic Minnesota state house speaker emerita Melissa Hortman and her husband, Mark, in the early hours of 14 June. Boelter is also accused of shooting and seriously wounding the Democratic state senator John Hoffman and his wife, Yvette, about 90 minutes earlier.

In a newly unsealed affidavit first reported by the local news station WCCO and seen by the Guardian, law enforcement pulled over Boelter’s wife and four children hours after the shootings near Lake Mille Lacs, about 75 miles (120km) north of the Twin Cities, apparently en route to Wisconsin.

AOC says Trump's Iran strikes "clearly grounds for impeachment"


Representative Alexandria Ocasio-Cortez, a New York Democrat, ripped Donald Trump for his military attack against Iran on Saturday, saying the move is "absolutely and clearly grounds for impeachment."

Ocasio-Cortez ripped the president's action on X, formerly Twitter, and wrote, "The President's disastrous decision to bomb Iran without authorization is a grave violation of the Constitution and Congressional War Powers. He has impulsively risked launching a war that may ensnare us for generations. It is absolutely and clearly grounds for impeachment."

On the other hand, Senator John Fetterman, a Pennsylvania Democrat, came to Trump's side and wrote on X, "As I've long maintained, this was the correct move by @POTUS. Iran is the world's leading sponsor of terrorism and cannot have nuclear capabilities. I'm grateful for and salute the finest military in the world."

Keir Starmer backs US strike on Iran and calls for Tehran to return to talks


Prime minister says Iran’s nuclear programme is a ‘grave threat to international security’

Keir Starmer has backed the US strike on Iran’s nuclear facilities and called on Iran to return to negotiations, saying the country’s nuclear programme was a “grave threat to international security”.

Donald Trump announced overnight that the US had bombed three nuclear sites in Iran, joining Israel’s attack on the Tehran regime.

There was no UK involvement in the action. Starmer and the foreign secretary, David Lammy, had pushed for a diplomatic solution amid fears a wider action could further destabilise the region.

What a difference a week makes: Trump falls into the Netanyahu trap


People were starting to laud the US president for his resistance to the Israeli PM’s pull, but what now?

When he was elected, Donald Trump suggested he could hammer out a new relationship with Benjamin Netanyahu, the Israeli prime minister who was used to getting his way with the White House. But after just over 150 days in office, it appears Trump has fallen into the same trap as his predecessors – and launched the most consequential strike on Iran in generations.

From early suggestions that the Trump administration would rein in Netanyahu’s military ambitions, it now appears that the Israeli PM has manoeuvred the US into striking Iranian uranium enrichment sites directly after a series of military attacks that Washington was unable to deter the Israeli PM from. And the US is now bracing for a retaliation that could easily bring it into a full-scale war.

French scientists discover new blood type in Guadeloupe woman


French scientists have discovered a new blood type in a woman from the Caribbean island of Guadeloupe, France's blood supply agency announced Friday.

The woman is the only known carrier of a new blood type, dubbed "Gwada negative," the French Blood Establishment (EFS) said. The discovery was made 15 years after researchers received a blood sample from a patient who was undergoing routine tests ahead of a surgery.

This woman "is undoubtedly the only known case in the world," he said, adding: "She is the only person in the world who is compatible with herself."

Linux Signal group chat


My friends and I are hosting a Linux and FOSS group chat to have some casual chat, help, and anything related to the topic really. We chose this platform to chat on to keep a privacy preserving way to engage with one another.

signal.group/#CjQKIBshKeuikl5H…