[00:16] <phibs> anyone know why building a package is giving me this error
[00:17] <phibs> https://p.bsd-unix.net/view/1bf9a20e
[00:24] <sarnold> phibs: my wild guess is things that package was built to do may have passed the lintian tests that were in place when it was created, but new tests have been added since then
[00:33] <phibs> hmm it won't even isntall
[00:33] <phibs> https://p.bsd-unix.net/view/b1b20719
[00:37] <sarnold> waaaat
[00:37] <phibs> not even sure where it gets that from....
[00:39] <phibs> any tips would be gr8
[00:40] <phibs> oic
[00:40] <phibs> looks like it's in the Makefile....
[00:41] <phibs> so what is the proper dir to use i guess
[00:41] <phibs>           $(INSTALL) -m 644 etc/conman.service \
[00:41] <phibs>             $(DESTDIR)$(prefix)/lib/systemd/system/conman.service; \
[00:42] <phibs> maybe /etc/systemd/system
[00:43] <sarnold> that's more for local admins
[00:43] <sarnold> $ ls -l /usr/lib/systemd/system/ | wc -l
[00:43] <sarnold> 390
[00:44] <sarnold> phibs: hmm, I wonder if it's that stupid /lib symlink.. check out namei -l /lib/systemd/system
[00:45] <phibs> so it wants /usr/lib ?
[00:46] <sarnold> I found it slightly funny that the lintian output had both /lib/systemd/ and /usr/lib/systemd/ paths..
[00:46] <phibs> heh
[00:46] <phibs> le sigh
[00:46] <phibs> afaik this is just the focal conman pkg
[00:46] <phibs> w/ newer sources (for 0.3.0)
[00:47] <phibs> amazing deb/ubuntu haven't packaged newer
[00:47] <phibs> how should i try to fix
[00:48] <phibs> looks like it's already trying to use /usr/lib/systemd
[00:48] <phibs>           $(INSTALL) -m 644 etc/conman.service \
[00:48] <phibs>             $(DESTDIR)$(prefix)/lib/systemd/system/conman.service; \
[00:49] <phibs> but yeah I dun care about linter, I just want it to install ;0
[00:53] <sarnold> https://github.com/dun/conman/blame/6d1057ce17ec1404e84c5b4e0d5f5c7fa9a22c23/Makefile.am#L227
[00:53] <sarnold> that bit of the makefile is newer than the newest package in ubuntu
[00:53] <sarnold> I'd be tempted to patch that bit out :)
[00:53] <phibs> of course
[00:53] <phibs> ubuntu/deb are old here
[00:53] <phibs> which bit
[00:54] <sarnold> maybe the right answer is to edit the debian/conman.install.in file in package and remove the /lib/ .. version of the thing
[00:54] <phibs> tried that
[00:54] <sarnold> dang
[00:55] <phibs> this has 1990s written all over it ;0
[00:55] <phibs> I don't miss doing this stuff for a living
[00:55] <sarnold> try deleting those four lines from install-systemd  from the Makefile, and remove the 'install-systemd' from the install-data-local: line?
[00:55] <sarnold> :)
[00:57] <phibs> woo
[00:57] <phibs> that was it
[00:58] <phibs> (removing $prefix)
[00:58] <phibs> it wanted /lib
[00:59] <phibs> fun times thanks sir
[00:59] <sarnold> woot :)
[01:03] <phibs> I thought you hung in ##ubnt
[01:04] <sarnold> this is the first I"m hearing of it, thanks :)
[01:35] <phibs> :)
[13:41] <Hamidreza> Hi guys, I want to put a command to ubuntu and when system startup and rebooting it should run, in centos we have /etc/rc.local
[13:42] <Hamidreza> what does we have in ubutnu ?
[13:42] <Hamidreza> should I put it in .bashrc?
[13:47] <Poster> the modern mechanism would be to write a systemd unit, you can also restore the /etc/rc.local functionality via systemd https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd
[13:47] <Poster> .bashrc is going to run on login, not startup, so you probably don't want to go that route
[14:02] <Hamidreza> Poster, it is just a command that should run on start up like bellow: echo 0 > /sys/block/sda/queue/add_random