cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Canon drivers for Linux not deleting Private Tmp folders for "service unit" on shutdown/reboot

SadieHawkins
Contributor

I have had to do "dirty shutdowns" while working out a problem with Wine/PlayOnLinux/Diablo 3 (Blizzard).

 

Each dirty shutdown causes Canon's PrivateTmp "service units" to re-write directories to /var/tmp. 

 

Here is my some of my current /vartmp

 

4.0K    systemd-private-481b33e8c7b249c7b1216f3753dd034a-systemd-timesyncd.service-GQDOIW
4.0K    systemd-private-481b33e8c7b249c7b1216f3753dd034a-rtkit-daemon.service-gbnz8B
4.0K    systemd-private-481b33e8c7b249c7b1216f3753dd034a-colord.service-frJLLb
4.0K    systemd-private-4339f7de37d746d8a614cd715f1207ba-systemd-timesyncd.service-OkrJzC
4.0K    systemd-private-4339f7de37d746d8a614cd715f1207ba-rtkit-daemon.service-qdOhe3
4.0K    systemd-private-4339f7de37d746d8a614cd715f1207ba-colord.service-BarVRW
4.0K    systemd-private-29b03f52b21d493abf1e8ea22b6b7adc-systemd-timesyncd.service-BuNOet
4.0K    systemd-private-29b03f52b21d493abf1e8ea22b6b7adc-rtkit-daemon.service-ghG257
4.0K    systemd-private-29b03f52b21d493abf1e8ea22b6b7adc-colord.service-WLN1p1
4.0K    systemd-private-273505a4cf664ff0af6e81870ea6665a-systemd-timesyncd.service-Fizgv4
4.0K    systemd-private-273505a4cf664ff0af6e81870ea6665a-rtkit-daemon.service-Lv8yQF
4.0K    systemd-private-273505a4cf664ff0af6e81870ea6665a-colord.service-hk7T18

 

I now have about 70 of the above named directories in /var/tmp. Which can be deleted without causing more problems?

 

So I ask this post to be forwarded to the Canon Linux printer driver devs or for it to be brought to their attention. I ask that the Canon coders seek help in the broader Linux community for help, if they can find it in their hearts to do so.

 

Dear Coders: Please see the following for extra information about this problem systemd and dirty shutdowns. Canon's software drivers should be as much second-to-none as their devices.

 

https://bbs.archlinux.org/viewtopic.php?id=150052

 

https://bbs.archlinux.org/viewtopic.php?id=150151

 

https://askubuntu.com/questions/627594/can-i-delete-older-systemd-private-md32-files-in-var-tmp

 

https://askubuntu.com/questions/781508/systemd-adding-lines-continuosly

 

and my report of a "bug" at Launchpad about this:

 

https://bugs.launchpad.net/ubuntu/+source/cjet/+bug/1589015

 

 

2 REPLIES 2

Danny
Moderator
Moderator

Hi, SadieHawkins!

So that the Community can help you better, we will need to know exactly which Canon printer(s) you're using. That, and any other details you'd like to give will help the Community better understand your issue!

If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/ContactCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 8 AM and 8 PM ET (5 AM to 5 PM PT).

Thanks and have a great day!

Dear Moderators:

 

In direct response to your questions I have a Maxify MB2320 device.

 

I have posted about my problems at the Linux site: Launchpad. There are 2 posts and I will give the URL's below. And as much information as I have. I apologize I am an end user and know little of the operating system.

 

My first problem is one of the drivers (I cannot know whether it's the printer or scanner driver) is adding files whose filenames start with cnij. The Canon products are adding these cnij* files to /var/tmp. There, they take up vast megabytes or gigabytes of disk space. So much space that the lack of disk space is stopping the operating system from being able to boot. As this problem grew worse I had to post at Ubuntu Forums about it. My temporary fix is to weekly remove those files. (sudo rm /var/tmp cnij*)

 

My second problem is the drivers or ancillary software are not deleting PrivateTmp folders on a dirty shutdown/re-boot. This may or may not be a Canon device/software problem, but the folder names (such as colord) make me think it's related. I'm no coder, so I ask your pardon if I'm mistakenly ascribing this problem to my Canon products.

 

I had problems with installing and operating a video game and that caused a number of dirty re-boots. Each time that happened, folders written into var/tmp grew and now I have over 70 such sub-directories. If you wish to see all 70, they are at https://paste.ubuntu.com/16968056/

 

What technical information is below:

 

https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1548947

 

(scangearmp2:11008): GLib-CRITICAL **: Source ID 1019 was not found when attempting to remove it

 

mark@Lexington:/var/tmp$ apt-cache policy scangearmp2
scangearmp2:
  Installed: 3.00-1
  Candidate: 3.00-1
  Version table:
 *** 3.00-1 0
        100 /var/lib/dpkg/status

 

mark@Lexington:~$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04

 

Also: My original post at these forums about this:

 

http://community.usa.canon.com/t5/Office-Printers/Maxify-MB2320-and-driver/td-p/165313

 

Announcements