Advertisement
Keijo

Patched ones

Jul 3rd, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.01 KB | None | 0 0
  1. ***Beginning of tmp.mount***
  2.  
  3.  
  4. # This file is part of systemd.
  5. #
  6. # systemd is free software; you can redistribute it and/or modify it
  7. # under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or
  9. # (at your option) any later version.
  10.  
  11. [Unit]
  12. Description=Temporary Directory
  13. Documentation=man:hier(7)
  14. Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
  15. DefaultDependencies=no
  16. Conflicts=umount.target
  17. Before=tmpw.service
  18.  
  19. [Mount]
  20. What=tmpfs
  21. Where=/tmp
  22. Type=tmpfs
  23. Options=mode=1777,strictatime
  24.  
  25.  
  26. ***End of tmp.mount***
  27. ***Beginning of tmpw.service
  28. [Unit]
  29. Description=Temporary Directory Workaround
  30. Conflicts=umount.target
  31. After=tmp.mount
  32. Before=local-fs.target umount.target
  33.  
  34. [Service]
  35. Type=oneshot
  36. ExecStart=/bin/chmod -v -R 1777 /tmp/
  37.  
  38. [Install]
  39. WantedBy=local-fs.target
  40.  
  41.  
  42. ***End of tmpw.service***
  43. ***Beginning of local-fs.target
  44.  
  45. # This file is part of systemd.
  46. #
  47. # systemd is free software; you can redistribute it and/or modify it
  48. # under the terms of the GNU Lesser General Public License as published by
  49. # the Free Software Foundation; either version 2.1 of the License, or
  50. # (at your option) any later version.
  51.  
  52. [Unit]
  53. Description=Local File Systems
  54. Documentation=man:systemd.special(7)
  55. After=local-fs-pre.target
  56. DefaultDependencies=no
  57. Conflicts=shutdown.target
  58. OnFailure=emergency.target
  59. OnFailureIsolate=no
  60.  
  61.  
  62. ***End of local-fs.target
  63. EOF
  64. [nemo@localhost system]$ echo -e "***Beginning of tmp.mount***\n\n" && cat tmp.mount && echo -e "\n\n***End of tmp.mount***\n***Beginning of tmpw.service" && cat tmpw.service && echo -e "\n\n***End of tmpw.service***\n***Beginning of local-fs.target***\n" && cat local-fs.target && echo -e "\n\n***End of local-fs.target\nEOF"
  65. ***Beginning of tmp.mount***
  66.  
  67.  
  68. # This file is part of systemd.
  69. #
  70. # systemd is free software; you can redistribute it and/or modify it
  71. # under the terms of the GNU Lesser General Public License as published by
  72. # the Free Software Foundation; either version 2.1 of the License, or
  73. # (at your option) any later version.
  74.  
  75. [Unit]
  76. Description=Temporary Directory
  77. Documentation=man:hier(7)
  78. Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
  79. DefaultDependencies=no
  80. Conflicts=umount.target
  81. Before=tmpw.service
  82.  
  83. [Mount]
  84. What=tmpfs
  85. Where=/tmp
  86. Type=tmpfs
  87. Options=mode=1777,strictatime
  88.  
  89.  
  90. ***End of tmp.mount***
  91. ***Beginning of tmpw.service
  92. [Unit]
  93. Description=Temporary Directory Workaround
  94. Conflicts=umount.target
  95. After=tmp.mount
  96. Before=local-fs.target umount.target
  97.  
  98. [Service]
  99. Type=oneshot
  100. ExecStart=/bin/chmod -v -R 1777 /tmp/
  101.  
  102. [Install]
  103. WantedBy=local-fs.target
  104.  
  105.  
  106. ***End of tmpw.service***
  107. ***Beginning of local-fs.target***
  108.  
  109. # This file is part of systemd.
  110. #
  111. # systemd is free software; you can redistribute it and/or modify it
  112. # under the terms of the GNU Lesser General Public License as published by
  113. # the Free Software Foundation; either version 2.1 of the License, or
  114. # (at your option) any later version.
  115.  
  116. [Unit]
  117. Description=Local File Systems
  118. Documentation=man:systemd.special(7)
  119. After=local-fs-pre.target
  120. DefaultDependencies=no
  121. Conflicts=shutdown.target
  122. OnFailure=emergency.target
  123. OnFailureIsolate=no
  124.  
  125.  
  126. ***End of local-fs.target
  127. EOF
  128. [nemo@localhost system]$ echo -e "***Beginning of tmp.mount***\n\n" && cat tmp.mount && echo -e "\n\n***End of tmp.mount***\n***Beginning of tmpw.service***\n" && cat tmpw.service && echo -e "\n\n***End of tmpw.service***\n***Beginning of local-fs.target***\n" && cat local-fs.target && echo -e "\n\n***End of local-fs.target***\nEOF"
  129. ***Beginning of tmp.mount***
  130.  
  131.  
  132. # This file is part of systemd.
  133. #
  134. # systemd is free software; you can redistribute it and/or modify it
  135. # under the terms of the GNU Lesser General Public License as published by
  136. # the Free Software Foundation; either version 2.1 of the License, or
  137. # (at your option) any later version.
  138.  
  139. [Unit]
  140. Description=Temporary Directory
  141. Documentation=man:hier(7)
  142. Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
  143. DefaultDependencies=no
  144. Conflicts=umount.target
  145. Before=tmpw.service
  146.  
  147. [Mount]
  148. What=tmpfs
  149. Where=/tmp
  150. Type=tmpfs
  151. Options=mode=1777,strictatime
  152.  
  153.  
  154. ***End of tmp.mount***
  155. ***Beginning of tmpw.service***
  156.  
  157. [Unit]
  158. Description=Temporary Directory Workaround
  159. Conflicts=umount.target
  160. After=tmp.mount
  161. Before=local-fs.target umount.target
  162.  
  163. [Service]
  164. Type=oneshot
  165. ExecStart=/bin/chmod -v -R 1777 /tmp/
  166.  
  167. [Install]
  168. WantedBy=local-fs.target
  169.  
  170.  
  171. ***End of tmpw.service***
  172. ***Beginning of local-fs.target***
  173.  
  174. # This file is part of systemd.
  175. #
  176. # systemd is free software; you can redistribute it and/or modify it
  177. # under the terms of the GNU Lesser General Public License as published by
  178. # the Free Software Foundation; either version 2.1 of the License, or
  179. # (at your option) any later version.
  180.  
  181. [Unit]
  182. Description=Local File Systems
  183. Documentation=man:systemd.special(7)
  184. After=local-fs-pre.target
  185. DefaultDependencies=no
  186. Conflicts=shutdown.target
  187. OnFailure=emergency.target
  188. OnFailureIsolate=no
  189.  
  190.  
  191. ***End of local-fs.target***
  192. EOF
  193. [nemo@localhost system]$ clear
  194.  
  195. [nemo@localhost system]$ echo -e "***Beginning of tmp.mount***\n\n" && cat tmp.mount && echo -e "\n\n***End of tmp.mount***\n***Beginning of tmpw.service***\n" && cat tmpw.service && echo -e "\n\n***End of tmpw.service***\n***Beginning of local-fs.target***\n" && cat local-fs.target && echo -e "\n\n***End of local-fs.target***\nEOF"
  196. ***Beginning of tmp.mount***
  197.  
  198.  
  199. # This file is part of systemd.
  200. #
  201. # systemd is free software; you can redistribute it and/or modify it
  202. # under the terms of the GNU Lesser General Public License as published by
  203. # the Free Software Foundation; either version 2.1 of the License, or
  204. # (at your option) any later version.
  205.  
  206. [Unit]
  207. Description=Temporary Directory
  208. Documentation=man:hier(7)
  209. Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
  210. DefaultDependencies=no
  211. Conflicts=umount.target
  212. Before=tmpw.service
  213.  
  214. [Mount]
  215. What=tmpfs
  216. Where=/tmp
  217. Type=tmpfs
  218. Options=mode=1777,strictatime
  219.  
  220.  
  221. ***End of tmp.mount***
  222. ***Beginning of tmpw.service***
  223.  
  224. [Unit]
  225. Description=Temporary Directory Workaround
  226. Conflicts=umount.target
  227. After=tmp.mount
  228. Before=local-fs.target umount.target
  229.  
  230. [Service]
  231. Type=oneshot
  232. ExecStart=/bin/chmod -v -R 1777 /tmp/
  233.  
  234. [Install]
  235. WantedBy=local-fs.target
  236.  
  237.  
  238. ***End of tmpw.service***
  239. ***Beginning of local-fs.target***
  240.  
  241. # This file is part of systemd.
  242. #
  243. # systemd is free software; you can redistribute it and/or modify it
  244. # under the terms of the GNU Lesser General Public License as published by
  245. # the Free Software Foundation; either version 2.1 of the License, or
  246. # (at your option) any later version.
  247.  
  248. [Unit]
  249. Description=Local File Systems
  250. Documentation=man:systemd.special(7)
  251. After=local-fs-pre.target
  252. DefaultDependencies=no
  253. Conflicts=shutdown.target
  254. OnFailure=emergency.target
  255. OnFailureIsolate=no
  256.  
  257.  
  258. ***End of local-fs.target***
  259. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement