Ah I think it (the tmpfile isn't created) because /usr/bin/screen is
2755 in Ubuntu 16.04 but 755 in Ubuntu 18.04. Here's the change between
the two releases.

 override_dh_auto_install:
-       # can't call the normal install target b/c it installs the info files
-       # and other crud
-       $(MAKE) prefix=$(ROOT)/usr 
SCREENENCODINGS='$$(prefix)/share/screen/utf8encodings' installdirs install_bin
-       # hack around the fact that the install target makes screen a symlink 
to screen-$$(VERSION)
-       rm -f $(ROOT)/usr/bin/screen
-       mv -f $(ROOT)/usr/bin/screen* $(ROOT)/usr/bin/screen
-       # make it setgid utmp
-       chown root:utmp $(ROOT)/usr/bin/screen
-       chmod 2755 $(ROOT)/usr/bin/screen
+       # can't call the normal install target b/c it installs the
+       # info files and other crud
+       cd build;      $(MAKE) prefix=$(ROOT)/usr      
SCREENENCODINGS='$$(prefix)/share/screen/utf8encodings' installdirs install_bin
+       cd build-udeb; $(MAKE) prefix=$(ROOT_UDEB)/usr 
SCREENENCODINGS='$$(prefix)/share/screen/utf8encodings' installdirs install_bin
+       # hack around the fact that the install target makes screen a
+       # symlink to screen-$$(VERSION)
+       rm -f      $(ROOT)/usr/bin/screen  $(ROOT_UDEB)/usr/bin/screen
+       mv -f      $(ROOT)/usr/bin/screen*      $(ROOT)/usr/bin/screen
+       mv -f $(ROOT_UDEB)/usr/bin/screen* $(ROOT_UDEB)/usr/bin/screen
+       # make it setgid utmp only in udeb
+       chown root:utmp $(ROOT_UDEB)/usr/bin/screen
+       chmod 2755      $(ROOT_UDEB)/usr/bin/screen
+       chmod  755      $(ROOT)/usr/bin/screen

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1761997

Title:
  /var/run needs mode 777 in bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/screen/+bug/1761997/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to