Australia paceman Pat Cummins had earlier rocked the home team when he took three wickets in quick succession to leave the Tigers on 10 for three but the elder statesmen in the home side stood up with a stand of 155.
There is no more important player for Australia's chances in this series than the captain Steven Smith.
Warner was given out LBW off the bowling of Mehedi Hasan in the fourth over but quickly reviewed the decision, with replays showing the ball had clearly hit his bat first.
Bangladesh's cricketer Sakib Al Hasan plays a shot during the first day of the first test cricket match against Australia in Dhaka, Bangladesh, Sunday, Aug. 27, 2017.
This is a mother of a wicket which is only going to get more treacherous as the match goes on, and Smith is going to need to replicate his hundred in Pune earlier this year, where he conquered an unplayable minefield.
"I've always said that I'm not about personal success but I woke up to a message from my mum and dad", Lyon said.
Now ranked fourth in the world, the former top-ranked team risk slipping further down the International Cricket Council ratings if it loses either Test, or draw both matches. "They bowl stump to stump and put pressure on your defence so I suppose that's one thing we will work on". Talking to a lot of the boys, we are quietly confident in our own processes to get the job done here in Bangladesh. "If our guys get into the mind-set that we went well in India, so we should be able to handle Bangladesh, then they will be in big trouble", Jones said about Australia's performance in Asia.
But while he said the pitch did not have any demons, he said it was an interesting one.
India vs Sri Lanka 3rd ODI Match Updates, Toss, Playing XI, Scores
Toss: Sri Lanka won the toss and opt to bat first. 120/7 - Sri Lanka's score in the last 25 overs of their innings in this match . For the first time in the series, the Islanders had shown some sign of a fight back and it proved quite brutal for the Indians.
An opening two-over onslaught of 3-5 to start the first Test left the hosts reeling and the old enemy on the other side of the world fearing what the Cummins express might be capable of on fast Australian decks this summer.
Earlier, the Tigers were all out for 260 despite fifties from Tamim Iqbal and Shakib Al Hasan, as the other batsmen were subdued by a controlled Australian bowling.
That fact is spelled out by the list of leading wicket-takers since Lyon began his Test journey, a collective that is dominated by the five bowlers who have each claimed more than 200 wickets during that period.
Bangladesh, meanwhile, is approaching the series as a great opportunity to register its first Test win against Australia since it was awarded Test-playing status in 2000.
At one point Cummins had to get re-strapped due to his taping soaking right through.
"They were obviously uncomfortable trying to defend against me, so they took me on", Lyon offered as explanation.
On a pitch offering turn and plenty of bounce for the spinners, Bangladesh were unable to bat out the opening day, Nathan Lyon (3-79) and fellow slow bowler Ashton Agar (3-46) sharing the last six wickets after Tamim had fallen to the part-time off-breaks of Glenn Maxwell.