Canon Community Canon Community

Occasional Contributor
Posts: 12
Registered: ‎02-23-2016

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

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.


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



Posts: 1,830
Registered: ‎07-08-2013

Re: Canon drivers for Linux not deleting Private Tmp folders for "service unit" on shutdow

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 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!

Occasional Contributor
Posts: 12
Registered: ‎02-23-2016

Re: Canon drivers for Linux not deleting Private Tmp folders for "service unit" on shutdow

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


What technical information is below:


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


mark@Lexington:/var/tmp$ apt-cache policy 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:


powered by Lithium

LIKE US on Facebook FOLLOW US on Twitter WATCH US on YouTube CONNECT WITH US on Linkedin WATCH US on Vimeo FOLLOW US on Instagram SHOP CANON at the Canon Online Store
© Canon U.S.A., Inc.   |    Terms of Use   |    Privacy Statement