Huge /var/lib/connman directory (261 MiB)

asked 2019-04-06 00:46:31 +0200

Karry gravatar image

Hi, my Intex Aqua fish / Jolla C (with Sailfish 3.0.2.8) show me notification that there is low amout of available space. When I was investigating what occupies root partition, I found out that /var/lib/connman/ occupies 361 MiB with many small files with same pattern:

/var/lib/connman/wifi_XXXX/history.home.month
/var/lib/connman/wifi_XXXX/history.home.day
/var/lib/connman/wifi_XXXX/history.home.hour

It is little bit strange to me, because this directory should be just storage for network configurations.

[root@Sailfish ~]# du -x -h  --max-depth=1 /var/lib/connman/ | tail -n 1
361M    /var/lib/connman/
[root@Sailfish ~]# find  /var/lib/connman/ -type f | wc -l 
68849

I just backup these files (2 MiB tar.gz) and remove them to free space. It is bug?

edit retag flag offensive close delete

Comments

1

I have got 36MB. :eek:

and I already started to OPTimize my small rootfs by moving and symlinking huge chunks of bin lib usr/share to /home.

What kind of BS is that? Seems like remembering all ever seen WLANs?

peterleinchen ( 2019-04-06 22:07:24 +0200 )edit

It seems to be better in 3.0.3.8, but I don't see any note in changelog for new release... This commit possibly fix that: https://git.sailfishos.org/mer-core/connman/commit/12a4e009b43cdac777b45577e27f631c671a4c2c

Karry ( 2019-05-03 08:27:24 +0200 )edit